wdvi

network DVI viewer
Log | Files | Refs

commit c0f1bd2bb2498bc12755ac2b99b020645a4d3b10
parent f90edb2f922e8705b6d58d00f9aa295f66103ad8
Author: Kyle Milz <krwmilz@gmail.com>
Date:   Tue, 24 Aug 2021 22:25:37 +0000

Remove more conditionals from manual

Diffstat:
Mxdvi-man.sed | 204+------------------------------------------------------------------------------
1 file changed, 1 insertion(+), 203 deletions(-)

diff --git a/xdvi-man.sed b/xdvi-man.sed @@ -32,12 +32,8 @@ xdvi \- DVI Previewer for the X Window System .B xdvi .nh [\fB+\fP[\fIpage\fP]] [\fB\-s\fP \fIshrink\fP] [\fB\-S\fP \fIdensity\fP] -#ifcolor [\fB\-nocolor\fP] -#endif -#ifgrey [\fB\-nogrey\fP] [\fB\-gamma\fP \fIg\fP] [\fB\-install\fP] [\fB\-noinstall\fP] -#endif [\fB\-p\fP \fIpixels\fP] [\fB\-margins\fP \fIdimen\fP] [\fB\-sidemargin\fP \fIdimen\fP] [\fB\-topmargin\fP \fIdimen\fP] @@ -48,18 +44,12 @@ xdvi \- DVI Previewer for the X Window System [\fB\-nomakepk\fP] #endif [\fB\-mfmode\fP \fImode-def\fP[\fB:\fP\fIdpi\fP]] -#ifft [\fB\-nofreetypefonts\fP] -#endif [\fB\-editor\fP \fIeditor\fP] [\fB\-sourceposition\fP \fIline\fP[\fB:\fP\fIcol\fP][\ ]\fIfilename\fP] [\fB\-nofork\fP] [\fB\-l\fP] [\fB\-rv\fP] -#ifbuttons -[\fB\-expert\fP] -[\fB\-shrinkbutton\fP\fIn\fP \fIshrink\fP] -#endif [\fB\-mgs\fP[\fIn\fP] \fIsize\fP] [\fB\-warnspecials\fP] [\fB\-hush\fP] [\fB\-hushchars\fP] [\fB\-hushchecksums\fP] @@ -69,9 +59,6 @@ xdvi \- DVI Previewer for the X Window System [\fB\-bw\fP \fIwidth\fP] [\fB\-display\fP \fIhost:display\fP] [\fB\-geometry\fP \fIgeometry\fP] [\fB\-icongeometry\fP \fIgeometry\fP] [\fB\-iconic\fP] -#ifbuttons -[\fB\-font\fP \fIfont\fP] -#endif [\fB\-keep\fP] [\fB\-copy\fP] [\fB\-thorough\fP] [\fB\-wheelunit\fP \fIpixels\fP] [\fB\-noscan\fP] @@ -115,13 +102,6 @@ argument, then it pops up a window asking for a .I dvi file. #endif -#ifbuttons -.PP -In addition to using keystrokes to move within the file, -.B xdvi -provides buttons on the right side of the window, which are synonymous -with various sequences of keystrokes. -#endif .SH OPTIONS In addition to specifying the .I dvi @@ -182,12 +162,10 @@ Always use the operation when writing characters to the display. This option may be necessary for correct operation on a color display, but overstrike characters will be incorrect. -#ifgrey If greyscale anti-aliasing is in use, the .B \-copy operation will disable the use of colorplanes and make overstrikes come out incorrectly. -#endif See also .BR \-thorough . .TP @@ -207,11 +185,9 @@ are defined in the source file .RB ( .densityPercent ) Determines the density used when shrinking bitmaps for fonts. A higher value produces a lighter font. The default value is 40. -#ifgrey If greyscaling is in use, this argument does not apply; use .B \-gamma instead. -#endif See also the .RB ` S ' keystroke. @@ -241,14 +217,6 @@ Specifies the editor to be invoked for reading the source file corresponding to the .I dvi file. For details on how to do this, see the section on SOURCE SPECIALS. -#ifbuttons -.TP -.B \-expert -.RB ( .expert ) -Prevent the buttons from appearing. See also the -.RB ` x ' -keystroke. -#endif .TP .BI \-fg " color" .RB ( .foreground ) @@ -257,13 +225,6 @@ Determines the color of the text (foreground). .BI \-foreground " color" Same as .BR -fg . -#ifbuttons -.TP -.BI \-font " font" -.RB ( *font ) -Sets the font for use in the buttons. -#endif -#ifgrey .TP .BI \-gamma " gamma" .RB ( .gamma ) @@ -279,7 +240,6 @@ For color and grayscale displays; for monochrome, see See also the .RB ` S ' keystroke. -#endif .TP .BI \-geometry " geometry" .RB ( *geometry ) @@ -320,7 +280,6 @@ Causes the .B xdvi window to start in the iconic state. The default is to start with the window open. -#ifgrey .TP .B \-install .RB ( .install ) @@ -350,7 +309,6 @@ There is no option. See also .BR \-noinstall , and the GREYSCALING AND COLORMAPS section. -#endif .TP .B \-keep .RB ( .keepPosition ) @@ -416,7 +374,7 @@ The metafont mode is also passed to during automatic creation of fonts. #endif By default, it is -.BR "@MFMODE@" . +.BR "cx:600" . .TP .BI \-mgs " size" Same as @@ -432,7 +390,6 @@ is to be square), or it may be given in the form .IR width x height . See the MOUSE ACTIONS section. Defaults are 200x150, 400x250, 700x500, 1000x800, and 1200x1200. -#ifcolor .TP .B \-nocolor .RB ( .color ) @@ -446,7 +403,6 @@ corresponds to .B +nocolor to .BR color:on .) -#endif .TP .B \-nofork .RB ( .fork ) @@ -472,7 +428,6 @@ corresponds to .B +nofork to .BR fork:on .) -#ifft .TP .B \-nofreetypefonts .RB ( .freetypeFonts ) @@ -488,8 +443,6 @@ corresponds to .B +nofreetypefonts to .BR freetypeFonts:on .) -#endif -#ifgrey .TP .B \-nogrey .RB ( .grey ) @@ -504,8 +457,6 @@ to See also the .RB ` G ' keystroke. -#endif -#ifgrey .TP .B \-noinstall .RB ( .install ) @@ -519,7 +470,6 @@ There is no option. See also .BR \-install , and the GREYSCALING AND COLORMAPS section. -#endif #ifmakepk .TP .B \-nomakepk @@ -534,22 +484,6 @@ corresponds to to .BR makePK:on .) #endif -#ifps -.TP -.B \-nopostscript -.RB ( .postscript ) -Turns off rendering of PostScript<tm> specials. Bounding boxes, if known, -will be displayed instead. This option can also be toggled with the -.RB ` v ' -keystroke. -(For this option, the logic of the corresponding resource is reversed: -.B \-nopostscript -corresponds to -.BR postscript:off ; -.B +postscript -to -.BR postscript:on .) -#endif .TP .B \-noscan .RB ( .prescan ) @@ -561,10 +495,8 @@ file, in order to process any .B papersize specials; this is especially important at startup since the paper size may be needed to determine the window size. -#ifcolor In addition, prescanning is needed to correctly determine the background color of a page. -#fi This option turns off such prescanning. (Prescanning will be automatically be turned back on if .B xdvi @@ -687,23 +619,6 @@ This option turns on all available security options; it is designed for use when is called by a browser that obtains a .I dvi or \*(Te\& file from another site. -#ifbuttons -.TP -.BI \-shrinkbutton "n shrink" -.RB ( .shrinkButton\fIn\fP ) -Specifies that the -.IR n th -button changing shrink factors shall change to shrink factor -.IR factor . -This is useful, e.g., when using 600 dpi fonts, since in that case shrinking -by a factor of 4 is still not enough. Here -.I n -may be a number from 1 to 3 (in the default button layout, the ``Full Size'' -button is unaffected by these options). If the buttons are customized, -higher values of -.I n -(up to 9) may be used. -#endif .TP .BI \-sidemargin " dimen" .RB ( .sideMargin ) @@ -949,11 +864,9 @@ smallest factor that makes the entire page fit in the window will be used. #tool.RB [ set-density() ] Sets the density factor to be used when shrinking bitmaps. This should be a number between 0 and 100; higher numbers produce lighter characters. -#ifgrey If greyscaling mode is in effect, this changes the value of gamma instead. The new value of gamma is the given number divided by 100; negative values are allowed. -#endif .TP .B R #tool.RB [ reread-dvi-file() ] @@ -978,19 +891,6 @@ and clear and set this flag, respectively. See also the .B \-keep option. -#ifbuttons -.TP -.B x -#tool.RB [ set-expert-mode() ] -Toggles expert mode (in which the buttons do not appear). Also -.RB ` 0x ' -and -.RB ` 1x ' -clear and reset this mode, respectively. See also the -.B \-expert -option. -#endif -#ifgrey .TP .B G #tool.RB [ set-greyscaling() ] @@ -1002,8 +902,6 @@ and clear and set this flag, respectively. See also the .B \-nogrey option. -#endif -#ifcolor .TP .B C #tool.RB [ set-color() ] @@ -1015,7 +913,6 @@ turn interpretation of color specials off and on, respectively. See also the .B \-nocolor option. -#endif .SH MOUSE ACTIONS If the shrink factor is set to any number other than one, then clicking any mouse button will pop up a ``magnifying glass'' which shows the unshrunk @@ -1225,95 +1122,6 @@ where is a positive integer without leading zeroes. Also, some limitations apply to the action field. # -#ifbuttons -.PP -The button labels and actions may also be customized, in a similar manner. -In this case the resource -.B buttonTranslations -should consist of a string describing the button labels and the associated -actions. The string consists of substrings, separated by the newline -character -(`\fB\\n\fP'), -each describing one button. Each substring consists of a string (to be -used as the button's label), a colon, and a sequence of actions to be -performed when the button is pushed. Unlike the situation with key actions, -an action associated to a button should provide an argument (if applicable). -.PP -The label string may contain a colon if it is escaped by a backslash -(`\fB\\\fP'). It also may contain some special sequences tied to the -.BI \-shrinkbutton n -command-line options. If the characters -.RB ` $# ' -occur, then they are replaced by the argument of the corresponding -.B \-shrinkbutton -command-line option (if present). If no corresponding -.B \-shrinkbutton -option was given, then the value is taken from the list of actions, which -is expected to contain at least one -.B set-shrink-factor -or -.B shrink-to-dpi -action. Likewise, the character sequence -.RB ` $% ' -will be replaced by the percentage corresponding to the shrink factor, -determined as above. In order for the -.B \-shrinkbutton -option to affect a given button, the label string must contain one of the -character sequences -.RB ` $# ', -.RB ` $% ', -or -.RB ' $_ '. -This last string flags a button to be affected by a -.B \-shrinkbutton -option, without making any numbers appear in the label text (the -.RB ` $_ ' -will not appear in the label text). -.PP -Some resources are provided to allow customization of the geometry of -the command buttons and the timing of the window that appears when -.B dvips -is processing a print request. Again, they are not changeable via -command-line options, other than via the -.B \-xrm -option. All of these resources take integer values. -.TP -.B buttonSideSpacing -The number of pixels to be placed on either side of the buttons. -The default value is 6. -.TP -.B buttonTopSpacing -The number of pixels between the top button and the top of the window. -The default value is 50. -.TP -.B buttonBetweenSpacing -The number of pixels between most buttons. -The default value is 20. -.TP -.B buttonBetweenExtra -The number of pixels of additional space to be inserted if the -.B buttonTranslations -resource string contains an extra newline character. -The default value is 50. -.TP -.B buttonBorderWidth -The border width of the button windows. The default value is 1. -.TP -.B dvipsHangTime -The time, measured in milliseconds, that the ``Xdvi print process'' window will -remain showing after -.B dvips -has successfully processed a print request. The default value is 700 -(0.7 seconds). If it is zero or negative, then the window will stay up until -closed by the user. -.TP -.B dvipsFailHangTime -This is the same as -.BR dvipsHangTime , -except that it applies if -.B dvips -returns a status indicating failure. The default value is 3000 (3 seconds). -# #iftool .SH CUSTOMIZATION EXAMPLES .PP @@ -1631,7 +1439,6 @@ then all specials in the .I dvi file are ignored. -#ifcolor .SH COLOR SPECIALS The color specials supported by .B xdvi @@ -1739,8 +1546,6 @@ package, and the environment in the .B framed La\*(Te\&2e package. -#endif -#ifgrey .SH GREYSCALING AND COLORMAPS The greyscale anti-aliasing feature in .B xdvi @@ -1801,7 +1606,6 @@ other applications have more colors available, but will degrade the color quality in the .B Netscape window. -#endif .SH SIGNALS When .B xdvi @@ -1938,7 +1742,6 @@ interprets this as a special character, but other applications do not. Determines the path(s) searched for source files when invoking the ``source specials'' feature of .BR xdvi . -#ifft .TP .SB XDVIT1FONTS Determines the path(s) searched for PostScript Type 1 fonts. @@ -2006,7 +1809,6 @@ See the Ghostscript documentation for more details. Determines the path(s) searched for Ghostscript-style Fontmap files if .SB XDVI_GS_LIB is not set. -#endif .TP .SB XEDITOR Determines the command to be executed to pop up the editor, if neither the @@ -2370,7 +2172,6 @@ This example describes how would search for the font .B cmr10 at 300 dots per inch. First, -#ifft .B xdvi searches the map files for an entry describing a font with TeX name .BR cmr10 . @@ -2422,7 +2223,6 @@ replaces all the specifiers. If no such map file entry is found, if the file .B cmr10.pfb cannot be found, or if Type 1 fonts have been turned off, then -#endif .B xdvi searches for the font in raster format at 300 dpi. For example, if the specifier is @@ -2843,7 +2643,6 @@ files lower in the chain are also used. .TP 40 @DEFAULT_FONT_PATH@ Font pixel files. @DEFAULT_VF_PATH@ Virtual font files. -#ifft .TP @DEFAULT_DVIPS_CF_PATH@ Directories containing dvips configuration files. .TP @@ -2854,7 +2653,6 @@ files lower in the chain are also used. @DEFAULT_TYPE1_PATH@ Directories containing PostScript Type 1 font files. .TP @DEFAULT_GS_LIB_PATH@ Directories containing Ghostscript Fontmap files. -#endif .PD .SH SEE ALSO .BR X (1),