gropdf(1) General Commands Manual gropdf(1) (NAME) gropdf - groff PDF (SYNOPSIS) gropdf [-delsW] [{-f|--format-options} bit-vector] [-F font-directory] [-I inclusion-directory] [-p paper-format] [--pdfver {1.4|1.7}] [-u [cmap-file]] [-y foundry] [file ...] gropdf --help gropdf -v gropdf --version (DESCRIPTION) PDF GNU roff troff(1) (Portable Document Format PDF) . gropdf groff(1) "-T pdf" . ( ps .) -P groff gropdf . file () file "-" gropdf . . gropdf "Font installation" . (OPTIONS) --help -v --version . -d () PDF . PDF . -e gropdf ( PDF) . --format-options bit-vector -f bit-vector gropdf . ISO 32000 PDF . bit-vector PDF . . --------------------------------------------------------- 1 Type 1 . 2 . . . 4 . 8 . . ( .) 7 . gropdf groff 1.23 "6" . -F dir dir/devname name pdf . -I dir dir \X'pdf: pdfpic' . -I dir . "-I ." . -l (landscape) . -p paper-format . papersize paperlength paperwidth DESC papersize . groff_font(5) . --pdfver {1.4|1.7} PDF 1.7 . ( gropdf 1.23 ) 1.4 . -s () PDF . ps2pdf Ghostscript . -u [cmap-file] gropdf ToUnicode CMap text.enc (ligature) . cmap-file CMap CMap . -W . -y foundry (foundry) . (USAGE) gropdf troff(1) groff_out(5) . . resolution 72 sizescale . gropdf resolution 72000 sizescale 1000 . groff_font(5). PDF ( TrueType) gropdf Type 1 Adobe PostScript grops(1) . Type 1 PDF grops PostScript gropdf PDF (embed) . gropdf foundries ( ) groff . groff Type 1 Foundry . . internalname psname groff ( "TR") PostScript ( "Times-Roman") . # . . \N troff . . groff_font(5). gropdf (embed) . /usr/share/groff/1.24.1/font/devpdf/ download : foundry font file-name foundry (foundry) font PostScript file-name PFA PFB ( ). # (tab) ( ) file-name (font metric) . download . (foundry) ( `U' URW foundry) . Ghostscript PDF . (stroke) (fill) . (Typefaces) R I B BI . A BM C H HN N P T . AR AvantGarde-Book AI AvantGarde-BookOblique AB AvantGarde-Demi ABI AvantGarde-DemiOblique BMR Bookman-Light BMI Bookman-LightItalic BMB Bookman-Demi BMBI Bookman-DemiItalic CR Courier CI Courier-Oblique CB Courier-Bold CBI Courier-BoldOblique HR Helvetica HI Helvetica-Oblique HB Helvetica-Bold HBI Helvetica-BoldOblique HNR Helvetica-Narrow HNI Helvetica-Narrow-Oblique HNB Helvetica-Narrow-Bold HNBI Helvetica-Narrow-BoldOblique NR NewCenturySchlbk-Roman NI NewCenturySchlbk-Italic NB NewCenturySchlbk-Bold NBI NewCenturySchlbk-BoldItalic PR Palatino-Roman PI Palatino-Italic PB Palatino-Bold PBI Palatino-BoldItalic TR Times-Roman TI Times-Italic TB Times-Bold TBI Times-BoldItalic . ZCMI ZapfChancery-MediumItalic : S Symbol PostScript SS S EURO ZD Zapf Dingbats. grops gropdf (ZDR) " " (\[lh]) pdf.tmac \X'pdf: xrev' ( ). \N . EURO SS PDF groff AFM ( ) PFA PFB PDF () . URW (Feature service levels and URW font support) Type 1 PostScript Adobe . PostScript PostScript . PostScript ("Level 1") : Times Helvetica Courier ( groff "" ) (symbol) dingbats. PostScript Level 2 Avant Garde Bookman Helvetica Narrow New Century Schoolbook Palatino Zapf Chancery medium italic . ( ) . PostScript PDF . PDF Type 1 Adobe PostScript . gropdf ( ) . o Full service ( ) gropdf PostScript Level 2 (AFM) . Adobe () . URW ("U") Adobe . groff afmtodit(1) AFM URW " (FILES)" . o Intermediate service ( ) gropdf PostScript Level 2 (AFM) . groff grops(1) gropdf "U" . o Basic service ( ) gropdf PostScript Level 2 . PDF ( grops ). -e PDF . (Device extension commands) gropdf groff device roff \X . grops(1) . \X'ps: invis' ( ). \X'ps: endinvis' . \X'ps: exec gsave currentpoint 2 copy translate n rotate neg exch neg exch translate' n . align pic(1) . \X'ps: exec grestore' pic(1) . \X'ps: exec n setlinejoin' n : 0 = (Miter join) 1 = (Round join) 2 = (Bevel join) \X'ps: exec n setlinecap' n : 0 = (Butt cap) 1 = (Round cap) 2 = (Projecting square cap) gropdf present.tmac gpresent . PAUSE BLOCKS BLOCKE PDF () . . X groff :- \X'ps: exec %%%%PAUSE' (transition) BLOCK ( "\X'pdf: transition'" ). .pdfpause . \X'ps: exec %%%%BEGINONCE' ( %%%%ENDONCE) %%%%PAUSE . PDF ( GROPDF_NOSLIDE ) . \X'ps: exec %%%%ENDONCE' %%%%BEGINONCE . .BLOCKS Once/.BLOCKE present.tmac . mom mom . present.tmac gropdf presentps(1) PDF . ps: . gropdf DVI . \X'papersize=width,length' width length . -l . . : papersize.tmac "-d paper" troff(1) . \X'pdf: markstart /ANN-definition' \X'pdf: markend' PDF (hotspot) ( ) . .pdfhref . ( groff_man(7) groff_mdoc(7)) .pdfhref -S \X'pdf: markend'\m[\*[pdf:curcol]] . \X'pdf: xrev' (). . . Zapf Dingbats . . gropdf pdf: . . .pdfbackground cmd left top right bottom weight .pdfbackground off .pdfbackground footnote bottom \X'pdf: background cmd left top right bottom weight' \X'pdf: background off' \X'pdf: background footnote bottom' . cmd "page|fill|box" . "pagefill" ( ). "boxfill" . "fill" (fill) ( \M[]) "box" (stroke) ( \m[]). cmd "off" . "pagefill" . "pagefill" () PDF <<>> . "off" . cmd "footnote" bottom . ( ). ( .) left top right bottom . top bottom groff "off" . top bottom . weight "box" . sboxes groff_tmac(5) . .pdfmarksuspend .pdfmarkrestart \X'pdf: marksuspend' \X'pdf: markrestart' (hotspot) PDF . .pdfmarksuspend .pdfmarkrestart . .pdfpagename name \X'pdf: pagename name' name () . `top' `bottom' . .pdfpagenumbering type prefix start \X'pdf: pagenumbering type prefix start' (outline) ( ) . . ( ) ( ) . . . type . "Decimal" "Roman" "roman" "Alpha" "alpha" . . A-Z ... AA-AZ ... ZA-ZZ . type "." prefix . prefix . "A-1" "A-2" prefix "A-" type "Decimal" . start . 1 . .pdfpic file alignment width height line-length \X'pdf: pdfpic file alignment width height line-length' file width () height () ( height ). alignment -L . -C -R line-length . width . width height << >> (`best fit') . PerlMagick gropdf . +------+------+---------+-------------+--------------------+ | | none | file(1) | identify(1) | Image::Magick(3pm) | +------+------+---------+-------------+--------------------+ |.pdf | \/ | \/ | \/ | \/ | +------+------+---------+-------------+--------------------+ |.jpg | | \/ | \/ | \/ | +------+------+---------+-------------+--------------------+ |.jp2 | | | \/ | \/ | +------+------+---------+-------------+--------------------+ |other | | | | \/ | +------+------+---------+-------------+--------------------+ PDFPIC groff_tmac(5) . .pdfswitchtopage when name \X'pdf: switchtopage when name' `named' () ( pagename ). `when' `after' `before' . `before' . . (TOC) . .pdftransition scope mode duration dimension motion direction scale bool \X'pdf: transition scope mode duration dimension motion direction scale bool' (transition) <<>> ("slides" "foils") . scope SLIDE BLOCK . SLIDE BLOCK . mode : Split - . dimension motion . Blinds - . dimension . . Box - motion . Wipe - direction . Dissolve - . Glitter - Dissolve direction . R - direction . Fly - (PDF 1.5) ( motion ) direction direction None . Push - (PDF 1.5) direction . Cover - (PDF 1.5) direction . Uncover - (PDF 1.5) direction direction . Fade - (PDF 1.5) . duration ( 1). dimension ( Split Blinds) : H (Horizontal) V (Vertical). motion ( Split Box Fly) : I (Inward) O (Outward) . direction ( Wipe Glitter Fly Cover Uncover Push) . : 0 = 90 = ( Wipe) 180 = ( Wipe) 270 = 315 = - - ( Glitter). None Fly scale 1.0 . scale ( PDF 1.5 Fly) . motion scale 1.0 . motion 1.0 scale . bool ( PDF 1.5 Fly) true . "." . : . (Macros) gropdf pdf.tmac . . .pdfbookmark [-T tag-name] level text (bookmark) . (Bookmarks) (outline pane) . text . (Named destinations) . -T tag-name ".pdfhref L ..." . .pdfhref L -D dest [-S] [-P prefix-text] [-A suffix-text] [link-text] dest ( tag-name) ".pdfbookmark ..." ".pdfhref M ..." . ( pdfmom(1) .) link-text dest . -P -A . -S pdfhref <<>> ( pdfhref ) "\X'pdf: markend'\m[\*[pdf:curcol]]" . .pdfhref M [-E] [-N tag-name] dest ( ) dest . -T tag-name . -E dest . .pdfhref W -D uri [-S] [-P prefix-text] [-A suffix-text] link-text uri (URI) . -P -A . -S pdfhref <<>> ( pdfhref ) "\X'pdf: markend'\m[\*[pdf:curcol]]" . .pdfinfo /field content ... . field Title Author Subject Keywords PDF . field . .pdfnote [-T title] text . . title text . (Parameters) roff gropdf . +----------------------------------------------------------------------+ | | +----------------------------------------------------------------------+ |.nr PDFNOTE.WIDTH 1c | | | | | | . | |.nr PDFNOTE.HEIGHT 1c | | | | | | . | |.ds PDFNOTE.COLOR 1.00 1.00 0.00 | | RGB | | | | | | (RGB) | |.ds PDFNOTE.OPACITY 0.6 | | | | | | | | | | | | ( | | | | [0, 1]). | |.nr PDFOUTLINE.FOLDLEVEL 10000 | | | | | | | | . | |.nr PDFHREF.VIEW.LEADING 5p | | | | | | | | | | | | | | | | | | | | . | |.nr PDFHREF.LEADING 2.0p | | | | | | | | | | | | | | | | . | |.ds PDFHREF.BORDER 0 0 | | 0 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . . | | | | | | | | | | . | |.ds PDFHREF.COLOR 0.00 0.35 0.60 | | RGB | | | | . | +----------------------------------------------------------------------+ "COLOR" "COLOUR" . PDF (Importing PDF graphics) PDF PDF . inkscape(1) gimp(1) . PDF gropdf PDF . PDF pdftk(1) . pdftk existing-file output new-file new-file . TrueType (TrueType and other font formats) gropdf Adobe Type 1 ( PFA PFB) . (Font installation) groff install-font.bash GNU troff gropdf . " (Files)" . gropdf . o groff . PostScript (Type 1) PFA PFB AFM . PFA . %!PS-AdobeFont-1.0: PFB . BrushScriptX-Italic CTAN PFA . o AFM afmtodit(1) groff . $ afmtodit BrushScriptX-Italic.afm text.map BSI (Adobe Font Metric) BrushScriptX-Italic.afm groff BSI . (roman) (bold) (italic) - (bold-italic) ( "italic" "oblique" "slanted" ) R B I BI groff groff . groff Times : T groff TR TB TI TBI. BrushScriptX (italic) . o () groff devpdf groff . GROFF_FONT_PATH " (Environment)" troff(1) . groff AFM . o devpdf/download PDF gropdf . download . download ( " (Files)" ) . PostScript gropdf internalname groff . ( .) Z download : Z->BrushScriptX-Italic->BrushScriptX-Italic.pfa (tab) -> . : . o . printf "\\f[BSI]Hello, world!\n" | groff -T pdf -P -e >hello.pdf see hello.pdf (Exit status) 0 gropdf PDF . 1 gropdf -W . 2 gropdf . (ENVIRONMENT) GROFF_FONT_PATH . download . : troff(1) groff_font(5). GROPDF_NOSLIDE ( Perl) (true) gropdf PDF PDF . GROPDF_OPTIONS gropdf . . SOURCE_DATE_EPOCH ( ) . gmtime() Perl PDF . TZ : tzset(3). SOURCE_DATE_EPOCH UTC . (FILES) /usr/share/groff/1.24.1/font/devpdf/DESC pdf . /usr/share/groff/1.24.1/font/devpdf/F F pdf . /usr/share/groff/1.24.1/font/devpdf/U-F URW ( Adobe) F pdf . /usr/share/groff/1.24.1/font/devpdf/download PDF ( ps ). /usr/share/groff/1.24.1/font/devpdf/Foundry groff PostScript Type 1 . /usr/share/groff/1.24.1/font/devpdf/symbolsl.afm (slanted symbol) groff SS . groff . /usr/share/groff/1.24.1/font/devpdf/symbolsl.pfb groff SS . /usr/share/groff/1.24.1/font/devpdf/enc/text.enc PostScript Type 1 encoding pdf . /usr/share/groff/1.24.1/font/devpdf/generate/symbolsl.sfd symbolsl.pfb (SFD) . /usr/share/groff/1.24.1/tmac/pdf.tmac pdf . pdf troffrc . /usr/share/groff/1.24.1/tmac/pdfpic.tmac PDFPIC : groff_tmac(5). troffrc . /usr/share/doc/groff-1.24.1/examples/install-font.bash Peter Schaffter mom TrueType (.ttf), OpenType (.otf) PostScript Type 1 (.pfa, .pfb) groff . "bash install-font.bash -H" . (AUTHORS) gropdf Deri James . (SEE ALSO) /usr/share/doc/groff-1.24.1/sboxes/msboxes.ms /usr/share/doc/groff-1.24.1/sboxes/msboxes.pdf "Using PDF boxes with groff and the ms macros" Deri James. present.tmac gpresent Bob Diertens groff ("" " ") . afmtodit(1), groff(1), troff(1), groff_font(5), groff_out(5) groff 1.24.1 2026-03-15 gropdf(1)