1 .TH PDFROFF @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
2 .\" --------------------------------------------------------------------
4 .\" --------------------------------------------------------------------
8 File position: <groff-source>/contrib/pdfmark/pdfroff.man
12 This file is part of groff, the GNU roff type-setting system.
14 Copyright (C) 2005 Free Software Foundation, Inc.
15 written by Keith Marshall <keith.d.marshall@ntlworld.com>
17 Permission is granted to copy, distribute and/or modify this document
18 under the terms of the GNU Free Documentation License, Version 1.1 or
19 any later version published by the Free Software Foundation; with no
20 Front-Cover Texts, no Back-Cover Texts, and the following Invariant
23 a) This "Legal Matters" section, extending from the start of
24 the document, to the end of the enclosing ".ig" section.
26 b) The entire section bearing the heading "AUTHOR", extending
27 from the ".SH AUTHOR" tag, to the end of the document.
29 A copy of the Free Documentation License is included as a file called
30 FDL in the main directory of the groff source package.
32 .\" --------------------------------------------------------------------
35 pdfroff \- create PDF documents using
40 \&\\$3\*(lq\\$1\*(rq\\$2
47 .\" --------------------------------------------------------------------
53 . in +\w'\f[B]\\$1\0'u
64 . ie \\n(.$>1 .opt \\$1 \0\\$2
69 . RB [ --no\\$1 \0|\0\c
78 .opt abcegilpstzCEGNRSUVXZ
93 .opt -no-toc-relocation
94 .opt -stylesheet= name
95 .optx -pdf-output= name
96 .optx -reference-dictionary= name
118 The command line is parsed in accordance with normal GNU conventions,
119 but with one exception \(em when specifying any short form option
120 (i.e., a single character option introduced by a single hyphen),
121 and if that option expects an argument, then it
123 be specified independently (i.e., it may
125 be appended to any group of other single character short form options).
127 Long form option names (i.e., those introduced by a double hyphen)
128 may be abbreviated to their minimum length unambigous initial substring.
130 .\" --------------------------------------------------------------------
134 is a wrapper program for the GNU text processing system,
136 It transparently handles the mechanics of multiple pass
138 processing, when applied to suitably marked up
141 such that tables of contents and body text are formatted separately,
142 and are subsequently combined in the correct order, for final publication
143 as a single PDF document.
146 capability is provided;
147 this allows for the definition of content which is required to preceed the
148 table of contents, in the published document.
150 For each invocation of
154 output stream is post\(hyprocessed by the GhostScript interpreter,
155 to produce a finished PDF document.
158 makes no assumptions about, and imposes no restrictions on,
161 macro packages which the user may choose to employ,
162 in order to achieve a desired document format;
165 include specific built in support for the
167 macro package, should the user choose to employ it.
170 macro, defined in the
172 package, is used to define public reference marks,
173 or dynamic links to such reference marks, then
175 will perform as many preformatting
177 passes as required, up to a maximum limit of
179 in order to compile a document reference dictionary,
180 to resolve references, and to expand the dynamically defined
183 .\" --------------------------------------------------------------------
187 usage closely mirrors that of
191 with the exception of the
196 short form options, and
197 all long form options,
198 which are parsed internally by
200 all options and file name arguments specified on the command line are
203 to control the formatting of the PDF document.
206 accepts all options and arguments, as specified in
207 .BR groff (@MAN1EXT@),
208 which may also be considered as the definitive reference for all standard
210 options and argument usage.
212 .\" --------------------------------------------------------------------
216 accepts all of the short form options
217 (i.e., those introduced by a single hyphen),
218 which are available with
221 In most cases, these are simply passed transparently to
223 the following, however, are handled specially by
232 Process standard input, after all other specified input files.
233 This is passed transparently to
235 but, if grouped with other options, it
237 be the first in the group.
238 Hiding it within a group will
239 break standard input processing, in the multiple pass
241 processing context of
249 Attempting to specify any other device will cause
259 .BR groff (@MAN1EXT@)
260 for a description of all other short form options,
261 which are transparently passed through
266 All long form options
267 (i.e., those introduced by a double hyphen)
268 are interpreted locally by
274 unless otherwise stated below.
279 to display a summary of the its usage syntax, and supported options,
282 .B \-\-no\-pdf\-output
284 .BI \-\-reference\-dictionary= name
285 option (described below) to eliminate the overhead of PDF formatting,
288 to create a reference dictionary, for use in a different document.
290 .B \-\-no\-reference\-dictionary
291 May be used to eliminate the overhead of creating a reference dictionary,
292 when it is known that the target PDF document will contain no public
293 references, created by the
297 .B \-\-no\-toc\-relocation
298 May be used to eliminate the extra
301 which is required to generate a table of contents,
302 and relocate it to the start of the PDF document,
303 when processing any document which lacks an automatically
304 generated table of contents.
306 .BI \-\-pdf\-output= name
307 Specifies the name to be used for the resultant PDF document;
308 if unspecified, the PDF output is written to standard output.
312 to encode the document name in a generated reference dictionary.
314 .BI \-\-reference\-dictionary= name
315 Specifies the name to be used for the generated reference dictionary file;
316 if unspecified, the reference dictionary is created in a temporary file,
317 which is deleted when
319 completes processing of the current document.
322 be specified, if it is desired to save the reference dictionary,
323 for use in references placed in other PDF documents.
325 .B \-\-report\-progress
328 to display an informational message on standard error,
333 .BI \-\-stylesheet= name
334 Specifies the name of an
336 to be used as a style sheet for formatting of content,
337 which is to be placed
339 the table of contents,
340 in the formatted PDF document.
345 to display a version identification message.
346 The entire command line is then passed transparently to
352 in order to display the associated
354 version information, before exiting.
356 .\" --------------------------------------------------------------------
359 The following environment variables may be set, and exported,
360 to modify the behaviour of
364 Identifies the directory in which
366 should create temporary files.
371 specified, then the variables
376 are considered in turn, as possible temporary file repositories.
377 If none of these are set, then temporary files will be created
378 in the current directory.
380 .B GROFF_GHOSTSCRIPT_INTERPRETER
381 Specifies the program to be invoked, when
385 PostScript output to PDF.
387 .B GROFF_GHOSTSCRIPT_INTERPRETER
388 is not specified, then
390 will search the process
392 looking for a program with any of the well known names
393 for the GhostScript interpreter;
394 if no GhostScript interpreter can be found,
398 .B GROFF_AWK_INTERPRETER
399 Specifies the program to be invoked, when
401 is extracting reference dictionary entries from a
403 intermediate message stream.
405 .B GROFF_AWK_INTERPRETER
406 is not specified, then
408 will search the process
410 looking for any of the preferred programs, `gawk', `mawk', `nawk'
411 and `awk', in this order;
412 if none of these are found,
414 will issue a warning message, and continue processing;
415 however, in this case, no reference dictionary will be created.
418 If this is set to a non-empty value, then
420 will always behave as if the
421 .B \-\-report\-progress
422 option is specified, on the command line.
424 .\" --------------------------------------------------------------------
427 Input and output files for
429 may be named according to any convention of the user's choice.
430 Typically, input files may be named according to the choice of the
431 principal formatting macro package, e.g.,
433 might be an input file for formatting using the
437 normally, the final output file should be named
441 Temporary files, created by
443 are placed in the directory specified by environment variables (see
446 and named according to the convention
450 is the standard shell variable representing the process ID of the
454 represents any of a number of extensions used by
456 for temporary and intermediate files.
458 .\" --------------------------------------------------------------------
462 .BR groff (@MAN1EXT@)
463 for the definitive reference to document formatting with
467 provides a superset of all
470 .BR groff (@MAN1EXT@)
471 may also be considered to be the definitive reference to all
475 with this document providing the reference to
481 imposes neither any restriction on, nor any requirement for,
482 the use of any specific
484 macro package, a number of supplied macro packages,
485 and in particular those associated with the package
487 are best suited for use with
489 as the preferred formatter.
490 Detailed documentation on the use of these packages may be found,
491 in PDF format, in the reference guide
492 .BR "\*(lqPortable Document Format Publishing with GNU Troff\*(rq" ,
493 included in the installed documentation set as
495 .BR @PDFDOCDIR@/pdfmark.pdf .
498 .\" --------------------------------------------------------------------
501 Copyright \(co 2005, Free Software Foundation, Inc.
503 This man page is distributed under the terms of the
504 GNU Free Documentation License (FDL), version 1.1 or later,
508 It was originally written by Keith Marshall,
509 .nohy <keith.d.marshall@ntlworld.com>,
510 who also wrote the implementation of the
512 program, to which it relates.
514 You should have received a copy of the FDL as part of the
516 distribution; it is also available on\-line, at the GNU
519 .nohy <http://www.gnu.org/copyleft/fdl.html>.
521 .\" --------------------------------------------------------------------
522 .\" EOF / vim: ft=groff