01.12.2012 Views

by Trent A. Fisher and Werner Lemberg - The GNU Operating System

by Trent A. Fisher and Werner Lemberg - The GNU Operating System

by Trent A. Fisher and Werner Lemberg - The GNU Operating System

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2: Invoking groff 11<br />

X75-12 For a 75 dpi X11 previewer with a 12 pt base font in<br />

the document.<br />

X100 For a 100 dpi X11 previewer.<br />

X100-12 For a 100 dpi X11 previewer with a 12 pt base font<br />

in the document.<br />

ascii For typewriter-like devices using the (7-bit) ASCII<br />

character set.<br />

latin1 For typewriter-like devices that support the Latin-1<br />

(ISO 8859-1) character set.<br />

utf8 For typewriter-like devices which use the Unicode<br />

(ISO 10646) character set with UTF-8 encoding.<br />

cp1047 For typewriter-like devices which use the EBCDIC<br />

encoding IBM cp1047.<br />

lj4 For HP LaserJet4-compatible (or other PCL5compatible)<br />

printers.<br />

lbp For Canon CAPSL printers (LBP-4 <strong>and</strong> LBP-8 series<br />

laser printers).<br />

html<br />

xhtml To produce HTML <strong>and</strong> XHTML output, respectively.<br />

Note that this driver consists of two parts, a preprocessor<br />

(pre-grohtml) <strong>and</strong> a postprocessor (postgrohtml).<br />

<strong>The</strong> predefined gtroff string register .T contains the current<br />

output device; the read-only number register .T is set to 1 if<br />

this option is used (which is always true if groff is used to call<br />

gtroff). See Section 5.6.5 [Built-in Registers], page 77.<br />

<strong>The</strong> postprocessor to be used for a device is specified <strong>by</strong> the<br />

postpro comm<strong>and</strong> in the device description file. (See Section 8.2<br />

[Font Files], page 204, for more info.) This can be overridden<br />

with the ‘-X’ option.<br />

‘-U’ Unsafe mode. This enables the open, opena, pso, sy, <strong>and</strong> pi<br />

requests.<br />

‘-wname’ Enable warning name. Available warnings are described in<br />

Section 5.33 [Debugging], page 179. Multiple ‘-w’ options are<br />

allowed.<br />

‘-Wname’ Inhibit warning name. Multiple ‘-W’ options are allowed.<br />

‘-v’ Make programs run <strong>by</strong> groff print out their version number.<br />

‘-V’ Print the pipeline on stdout instead of executing it. If specified<br />

more than once, print the pipeline on stderr <strong>and</strong> execute it.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!