diff options
author | Roland Pesch <pesch@cygnus> | 1992-01-15 23:09:45 +0000 |
---|---|---|
committer | Roland Pesch <pesch@cygnus> | 1992-01-15 23:09:45 +0000 |
commit | 228d9e54790729d945e0457f8510d2fe8183ca3c (patch) | |
tree | c94fd2aea6b3a8eec334bd2610057ab7ad4162c4 /gdb/doc/refcard.tex | |
parent | 63ae8ea1ece780ca9672f9a60a57fd56ef55876f (diff) | |
download | gdb-228d9e54790729d945e0457f8510d2fe8183ca3c.zip gdb-228d9e54790729d945e0457f8510d2fe8183ca3c.tar.gz gdb-228d9e54790729d945e0457f8510d2fe8183ca3c.tar.bz2 |
refcard.tex: single file now includes what were formerly three files, to suit
FSF preferences (format definitions, nee threecol.tex, and
default font defs, nee rc-cm.tex, now both directly in this file).
lpsrc.sed, psrc.sed: alternate font defs, now sed scripts to modify refcard.tex
Makefile.in: use sed -f psrc.sed to produce refcard.ps target; new
target lrefcard.ps for sites using long PS font names
Removed old auxiliary TeX files, no longer necessary with this scheme.
Diffstat (limited to 'gdb/doc/refcard.tex')
-rw-r--r-- | gdb/doc/refcard.tex | 81 |
1 files changed, 76 insertions, 5 deletions
diff --git a/gdb/doc/refcard.tex b/gdb/doc/refcard.tex index e1a717a..6b354df 100644 --- a/gdb/doc/refcard.tex +++ b/gdb/doc/refcard.tex @@ -1,3 +1,5 @@ +%%%%%%%%%%%%%%%% gdb-refcard.tex %%%%%%%%%%%%%%%% + %This file is TeX source for a reference card describing GDB, the GNU debugger. %$Id$ %Copyright (C) 1991 Free Software Foundation, Inc. @@ -35,6 +37,14 @@ % support of free software. For general information % contact ``info@cygnus.com'' % +% Uncomment the following `magnification' command if you want to print +% out in a larger font. Caution! You may need larger paper. You had +% best avoid using 3-column output if you try this. See the ``Three +% column format'' section below if you want to print in three column +% format. +% +%\magnification=\magstep 1 +% % NOTE ON INTENTIONAL OMISSIONS: This reference card includes most GDB % commands, but due to space constraints there are some things I chose % to omit. In general, not all synonyms for commands are covered, nor @@ -50,8 +60,69 @@ \def\$#1${{#1}}% Kluge: collect RCS revision info without $...$ \xdef\manvers{\$Revision$}% }% -\input threecol -\input rcfonts +%-------------------- Three column format ----------------------- + +%%%% --- To disable three column format, comment out this entire section + +% Three-column format for landscape printing on 8.5x11 paper + +% We want output .25 inch *from paper edge*; i.e. -.75in from TeX default +\hoffset=-0.8in \voffset=-0.75in +\newdimen\fullhsize +\fullhsize=10.5in \hsize=3.3in +\def\fulline{\hbox to \fullhsize} +\let\lcr=L \newbox\leftcolumn\newbox\centercolumn +\output={\if L\lcr + \global\setbox\leftcolumn=\columnbox \global\let\lcr=C + \else + \if C\lcr + \global\setbox\centercolumn=\columnbox \global\let\lcr=R + \else \tripleformat \global\let\lcr=L + \fi + \fi +% \ifnum\outputpenalty>-20000 \else\dosupereject\fi + } +% +%ALTERNATIVE FOLDING GUIDES: +% +%For NO printed folding guide, comment out other \def\vdecor's and uncomment: +%\def\vdecor{\hskip .2in plus1fil} +% +%For SOLID LINE folding guide, comment out other \def\vdecor's and uncomment: +%\def\vdecor{\hskip .1in plus1fil \vrule width .1pt \hskip .1in plus1fil} +% +%For SMALL MARKS NEAR TOP AND BOTTOM as folding guide, +%comment out other \def\vdecor's and uncomment: +\def\vdecor{\hskip .1in plus1fil +\vbox to \vsize{\hbox to .1pt{\vrule height 2pt width .1pt}\vfill +\hbox to .1pt{\vrule height 2pt width .1pt}} +\hskip .1in plus1fil} +% +%END OF ALTERNATIVES FOR FOLDING GUIDES +% +\def\tripleformat{\shipout\vbox{\fulline{\box\leftcolumn\vdecor + \box\centercolumn\vdecor + \columnbox} + } + \advancepageno} +\def\columnbox{\leftline{\pagebody}} +\def\bye{\par\vfill + \supereject + \if R\lcr \null\vfill\eject\fi + \end} + +%-------------------- end three column format ----------------------- + +%-------------------- Computer Modern font defs: -------------------- +\font\bbf=cmbx10 +\font\vbbf=cmbx12 +\font\smrm=cmr6 +\font\brm=cmr10 +\font\rm=cmr7 +\font\it=cmti7 +\font\tt=cmtt8 +%-------------------- end font defs --------------------------------- + % \vsize=8in \hyphenpenalty=5000\tolerance=2000\raggedright\raggedbottom @@ -140,9 +211,9 @@ shell {\it cmd}&execute arbitrary shell command string\cr \endsec \vfill -\line{\smrm \opt{ } surround optional arguments \hfil $\ldots$ show -one or more arguments\rm\qquad} - +\line{\smrm \opt{ } surround optional arguments \hfill $\ldots$ show +one or more arguments} +\vskip\baselineskip \centerline{\smrm \copyright 1991, 1992 Free Software Foundation, Inc.\qquad Permissions on back} \eject \sec Breakpoints and Watchpoints; |