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
75 . RB [ --no\\$1 \0|\0\c
84 .opt abcegilpstzCEGNRSUVXZ
99 .opt -no-toc-relocation
100 .opte -stylesheet name
101 .optx -pdf-output name
102 .optx -reference-dictionary name
103 .opt -report-progress
124 The command line is parsed in accordance with normal GNU conventions,
125 but with one exception \(em when specifying any short form option
126 (i.e., a single character option introduced by a single hyphen),
127 and if that option expects an argument, then it
129 be specified independently (i.e., it may
131 be appended to any group of other single character short form options).
133 Long form option names (i.e., those introduced by a double hyphen)
134 may be abbreviated to their minimum length unambigous initial substring.
136 .\" --------------------------------------------------------------------
140 is a wrapper program for the GNU text processing system,
142 It transparently handles the mechanics of multiple pass
144 processing, when applied to suitably marked up
147 such that tables of contents and body text are formatted separately,
148 and are subsequently combined in the correct order, for final publication
149 as a single PDF document.
152 capability is provided;
153 this allows for the definition of content which is required to preceed the
154 table of contents, in the published document.
156 For each invocation of
160 output stream is post\(hyprocessed by the GhostScript interpreter,
161 to produce a finished PDF document.
164 makes no assumptions about, and imposes no restrictions on,
167 macro packages which the user may choose to employ,
168 in order to achieve a desired document format;
171 include specific built in support for the
173 macro package, should the user choose to employ it.
176 macro, defined in the
178 package, is used to define public reference marks,
179 or dynamic links to such reference marks, then
181 will perform as many preformatting
183 passes as required, up to a maximum limit of
185 in order to compile a document reference dictionary,
186 to resolve references, and to expand the dynamically defined
189 .\" --------------------------------------------------------------------
193 usage closely mirrors that of
197 with the exception of the
202 short form options, and
203 all long form options,
204 which are parsed internally by
206 all options and file name arguments specified on the command line are
209 to control the formatting of the PDF document.
212 accepts all options and arguments, as specified in
213 .BR groff (@MAN1EXT@),
214 which may also be considered as the definitive reference for all standard
216 options and argument usage.
218 .\" --------------------------------------------------------------------
222 accepts all of the short form options
223 (i.e., those introduced by a single hyphen),
224 which are available with
227 In most cases, these are simply passed transparently to
229 the following, however, are handled specially by
238 Process standard input, after all other specified input files.
239 This is passed transparently to
241 but, if grouped with other options, it
243 be the first in the group.
244 Hiding it within a group will
245 break standard input processing, in the multiple pass
247 processing context of
255 Attempting to specify any other device will cause
265 .BR groff (@MAN1EXT@)
266 for a description of all other short form options,
267 which are transparently passed through
272 All long form options
273 (i.e., those introduced by a double hyphen)
274 are interpreted locally by
280 unless otherwise stated below.
285 to display a summary of the its usage syntax, and supported options,
288 .B \-\-no\-pdf\-output
290 .BI \-\-reference\-dictionary= name
291 option (described below) to eliminate the overhead of PDF formatting,
294 to create a reference dictionary, for use in a different document.
296 .B \-\-no\-reference\-dictionary
297 May be used to eliminate the overhead of creating a reference dictionary,
298 when it is known that the target PDF document will contain no public
299 references, created by the
303 .B \-\-no\-toc\-relocation
304 May be used to eliminate the extra
307 which is required to generate a table of contents,
308 and relocate it to the start of the PDF document,
309 when processing any document which lacks an automatically
310 generated table of contents.
312 .BI \-\-pdf\-output= name
313 Specifies the name to be used for the resultant PDF document;
314 if unspecified, the PDF output is written to standard output.
318 to encode the document name in a generated reference dictionary.
320 .BI \-\-reference\-dictionary= name
321 Specifies the name to be used for the generated reference dictionary file;
322 if unspecified, the reference dictionary is created in a temporary file,
323 which is deleted when
325 completes processing of the current document.
328 be specified, if it is desired to save the reference dictionary,
329 for use in references placed in other PDF documents.
331 .B \-\-report\-progress
334 to display an informational message on standard error,
339 .BI \-\-stylesheet= name
340 Specifies the name of an
342 to be used as a style sheet for formatting of content,
343 which is to be placed
345 the table of contents,
346 in the formatted PDF document.
351 to display a version identification message.
352 The entire command line is then passed transparently to
358 in order to display the associated
360 version information, before exiting.
362 .\" --------------------------------------------------------------------
365 The following environment variables may be set, and exported,
366 to modify the behaviour of
370 Identifies the directory in which
372 should create temporary files.
377 specified, then the variables
382 are considered in turn, as possible temporary file repositories.
383 If none of these are set, then temporary files will be created
384 in the current directory.
386 .B GROFF_GHOSTSCRIPT_INTERPRETER
387 Specifies the program to be invoked, when
391 PostScript output to PDF.
393 .B GROFF_GHOSTSCRIPT_INTERPRETER
394 is not specified, then
396 will search the process
398 looking for a program with any of the well known names
399 for the GhostScript interpreter;
400 if no GhostScript interpreter can be found,
404 .B GROFF_AWK_INTERPRETER
405 Specifies the program to be invoked, when
407 is extracting reference dictionary entries from a
409 intermediate message stream.
411 .B GROFF_AWK_INTERPRETER
412 is not specified, then
414 will search the process
416 looking for any of the preferred programs, `gawk', `mawk', `nawk'
417 and `awk', in this order;
418 if none of these are found,
420 will issue a warning message, and continue processing;
421 however, in this case, no reference dictionary will be created.
424 Typically defined automatically by the operating system,
426 is used on Microsoft Win32/MS\(hyDOS platforms
431 which is used when parsing the process
433 to search for external helper programs.
438 overrides the default separator character,
439 (':' on POSIX/UNIX systems,
442 on Microsoft Win32/MS\(hyDOS),
443 which is used when parsing the process
445 to search for external helper programs.
448 If this is set to a non-empty value, then
450 will always behave as if the
451 .B \-\-report\-progress
452 option is specified, on the command line.
454 .\" --------------------------------------------------------------------
457 Input and output files for
459 may be named according to any convention of the user's choice.
460 Typically, input files may be named according to the choice of the
461 principal formatting macro package, e.g.,
463 might be an input file for formatting using the
467 normally, the final output file should be named
471 Temporary files, created by
473 are placed in the directory specified by environment variables (see
476 and named according to the convention
480 is the standard shell variable representing the process ID of the
484 represents any of a number of extensions used by
486 for temporary and intermediate files.
488 .\" --------------------------------------------------------------------
492 .BR groff (@MAN1EXT@)
493 for the definitive reference to document formatting with
497 provides a superset of all
500 .BR groff (@MAN1EXT@)
501 may also be considered to be the definitive reference to all
505 with this document providing the reference to
511 imposes neither any restriction on, nor any requirement for,
512 the use of any specific
514 macro package, a number of supplied macro packages,
515 and in particular those associated with the package
517 are best suited for use with
519 as the preferred formatter.
520 Detailed documentation on the use of these packages may be found,
521 in PDF format, in the reference guide
522 .BR "\*(lqPortable Document Format Publishing with GNU Troff\*(rq" ,
523 included in the installed documentation set as
525 .BR @PDFDOCDIR@/pdfmark.pdf .
528 .\" --------------------------------------------------------------------
531 Copyright \(co 2005, Free Software Foundation, Inc.
533 This man page is distributed under the terms of the
534 GNU Free Documentation License (FDL), version 1.1 or later,
538 It was originally written by Keith Marshall,
539 .nohy <keith.d.marshall@ntlworld.com>,
540 who also wrote the implementation of the
542 program, to which it relates.
544 You should have received a copy of the FDL as part of the
546 distribution; it is also available on\-line, at the GNU
549 .nohy <http://www.gnu.org/copyleft/fdl.html>.
551 .\" --------------------------------------------------------------------
552 .\" EOF / vim: ft=groff