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 9<br />

page 13). This option is passed to all pre- <strong>and</strong> postprocessors<br />

using the GROFF_FONT_PATH environment variable.<br />

‘-g’ Preprocess with ggrn.<br />

‘-G’ Preprocess with grap.<br />

‘-h’ Print a help message.<br />

‘-i’ Read the st<strong>and</strong>ard input after all the named input files have<br />

been processed.<br />

‘-Idir’ This option may be used to specify a directory to search for files.<br />

It is passed to the following programs:<br />

• gsoelim (see Section 6.7 [gsoelim], page 187 for more details);<br />

it also implies groff’s ‘-s’ option.<br />

• gtroff; it is used to search files named in the psbb <strong>and</strong> so<br />

requests.<br />

• grops; it is used to search files named in the \X’ps: import<br />

<strong>and</strong> \X’ps: file escapes.<br />

<strong>The</strong> current directory is always searched first. This option may<br />

be specified more than once; the directories are searched in the<br />

order specified. No directory search is performed for files specified<br />

using an absolute path.<br />

‘-k’ Preprocess with preconv. This is run before any other preprocessor.<br />

Please refer to preconv’s manual page for its behaviour<br />

if no ‘-K’ (or ‘-D’) option is specified.<br />

‘-Karg’ Set input encoding used <strong>by</strong> preconv to arg. Implies ‘-k’.<br />

‘-l’ Send the output to a spooler for printing. <strong>The</strong> comm<strong>and</strong> used for<br />

this is specified <strong>by</strong> the print comm<strong>and</strong> in the device description<br />

file (see Section 8.2 [Font Files], page 204, for more info). If not<br />

present, ‘-l’ is ignored.<br />

‘-Larg’ Pass arg to the spooler. Each argument should be passed with a<br />

separate ‘-L’ option. Note that groff does not prepend a ‘-’ to<br />

arg before passing it to the postprocessor. If the print keyword<br />

in the device description file is missing, ‘-L’ is ignored.<br />

‘-mname’ Read in the file ‘name.tmac’. Normally groff searches for this<br />

in its macro directories. If it isn’t found, it tries ‘tmac.name’<br />

(searching in the same directories).<br />

‘-Mdir’ Search directory ‘dir’ for macro files before the st<strong>and</strong>ard directories<br />

(see Section 2.3 [Macro Directories], page 13).<br />

‘-nnum’ Number the first page num.<br />

‘-N’ Don’t allow newlines with eqn delimiters. This is the same as<br />

the ‘-N’ option in geqn.

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

Saved successfully!

Ooh no, something went wrong!