%% This is the list of new or extended primitives provided by pdftex.
%% Don't edit this file, as it is now auto-generated from the
%% pdfTeX documentation file pdftex-t.tex by script syntaxform.awk.
%% Used convention for syntax rules is borrowed from `TeXbook naruby'
%% by Petr Olsak.
%% $Id: //depot/Build/source.development/TeX/texk/web2c/pdftexdir/pdftex-syntax.txt#20 $

%% integer registers:
\pdfoutput                                              (integer)
\pdfminorversion                                        (integer)
\pdfcompresslevel                                       (integer)
\pdfdecimaldigits                                       (integer)
\pdfimageresolution                                     (integer)
\pdfpkresolution                                        (integer)
\pdftracingfonts                                        (integer)
\pdfuniqueresname                                       (integer)
\pdfadjustspacing                                       (integer)
\pdfprotrudechars                                       (integer)
\efcode <font> <8-bit number>                           (integer)
\lpcode <font> <8-bit number>                           (integer)
\rpcode <font> <8-bit number>                           (integer)
\pdfforcepagebox                                        (integer)
\pdfoptionalwaysusepdfpagebox                           (integer)
\pdfinclusionerrorlevel                                 (integer)
\pdfoptionpdfinclusionerrorlevel                        (integer)
\pdfimagehicolor                                        (integer)
\pdfimageapplygamma                                     (integer)
\pdfgamma                                               (integer)
\pdfimagegamma                                          (integer)

%% dimen registers:
\pdfhorigin                                             (dimen)
\pdfvorigin                                             (dimen)
\pdfpagewidth                                           (dimen)
\pdfpageheight                                          (dimen)
\pdflinkmargin                                          (dimen)
\pdfdestmargin                                          (dimen)
\pdfthreadmargin                                        (dimen)

%% token registers:
\pdfpagesattr                                           (tokens)
\pdfpageattr                                            (tokens)
\pdfpageresources                                       (tokens)
\pdfpkmode                                              (tokens)

%% expandable commands:
\pdftexrevision                                         (expandable)
\pdftexbanner                                           (expandable)
\pdfcreationdate                                        (expandable)
\pdfpageref <page number>                               (expandable)
\pdfxformname <object number>                           (expandable)
\pdffontname <font>                                     (expandable)
\pdffontobjnum <font>                                   (expandable)
\pdffontsize <font>                                     (expandable)
\pdfincludechars <font> <general text>                  (expandable)
\leftmarginkern <box number>                            (expandable)
\rightmarginkern <box number>                           (expandable)
\pdfescapestring <general text>                         (expandable)
\pdfescapename <general text>                           (expandable)
\pdfescapehex <general text>                            (expandable)
\pdfunescapehex <general text>                          (expandable)
\pdfstrcmp <general text> <general text>                (expandable)
\pdfuniformdeviate <number>                             (expandable)
\pdfnormaldeviate                                       (expandable)
\pdfmdfivesum [file] <general text>                     (expandable)
\pdffilemoddate <general text>                          (expandable)
\pdffilesize <general text>                             (expandable)
\pdffiledump [offset <number>] [length <number>] <general text>
                                                        (expandable)

%% read-only integers:
\pdftexversion                                          (read-only integer)
\pdflastobj                                             (read-only integer)
\pdflastxform                                           (read-only integer)
\pdflastximage                                          (read-only integer)
\pdflastximagepages                                     (read-only integer)
\pdflastannot                                           (read-only integer)
\pdflastxpos                                            (read-only integer)
\pdflastypos                                            (read-only integer)
\pdflastdemerits                                        (read-only integer)
\pdfelapsedtime                                         (read-only integer)
\pdfrandomseed                                          (read-only integer)
\pdfshellescape                                         (read-only integer)

%% general commands:
\pdfobj <object type spec>                              (h, v, m)
\pdfrefobj <object number>                              (h, v, m)
\pdfxform [<xform attr spec>] <box number>              (h, v, m)
\pdfrefxform <object number>                            (h, v, m)
\pdfximage [<image attr spec>] <general text>           (h, v, m)
\pdfrefximage <object number>                           (h, v, m)
\pdfannot <annot type spec>                             (h, v, m)
\pdfstartlink [<rule spec>] [<attr spec>] <action spec> (h, m)
\pdfendlink                                             (h, m)
\pdfoutline <outline spec>                              (h, v, m)
\pdfdest <dest spec>                                    (h, v, m)
\pdfthread <thread spec>                                (h, v, m)
\pdfstartthread <thread spec>                           (v, m)
\pdfendthread                                           (v, m)
\pdfsavepos                                             (h, v, m)
\pdfinfo <general text>
\pdfcatalog <general text> [<open-action spec>]
\pdfnames <general text>
\pdfmapfile <map spec>
\pdfmapline <map spec>
\pdffontattr <font> <general text>
\pdftrailer <general text>
\pdffontexpand <font> <expand spec>
\vadjust [<pre spec>] <filler> { <vertical mode material> } (h, m)
\pdfliteral [direct] <general text>                     (h, v, m)
\special <pdfspecial spec>
\pdfresettimer
\pdfsetrandomseed <number>
\pdfnoligatures <font>

%% syntax rules:
<general text> --> { <balanced text> }
<attr spec> --> attr <general text>
<resources spec> --> resources <general text>
<rule spec> --> (width | height | depth) <dimension> [<rule spec>]
<object type spec> --> reserveobjnum
                     | [useobjnum <number>] [stream [<attr spec>]] <object contents>
<annot type spec> --> reserveobjnum
                    | [useobjnum <number>] [<rule spec>] <general text>
<object contents> --> <file spec>
                    | <general text>
<xform attr spec> --> [<attr spec>] [<resources spec>]
<image attr spec> --> [<rule spec>] [<attr spec>] [<page spec>] [<colorspace spec>] [<pdf box spec>]
<outline spec> --> [<attr spec>] <action spec> [count <number>] <general text>
<action spec> --> user <user-action spec>
                | goto <goto-action spec>
                | thread <thread-action spec>
<user-action spec> --> <general text>
<goto-action spec> --> <numid>
                     | [<file spec>] <nameid>
                     | [<file spec>] [<page spec>] <general text>
                     | <file spec> <nameid> <newwindow spec>
                     | <file spec> [<page spec>] <general text> <newwindow spec>
<thread-action spec> --> [<file spec>] <numid>
                       | [<file spec>] <nameid>
<open-action spec> --> openaction <action spec>
<colorspace spec> --> colorspace <number>
<pdf box spec> --> mediabox | cropbox | bleedbox | trimbox | artbox
<map spec> --> { [<map modifier>] <balanced text> }
<map modifier> --> + | = | -
<numid> --> num <number>
<nameid> --> name <general text>
<newwindow spec> --> newwindow | nonewwindow
<dest spec> --> <numid> <dest type>
              | <nameid> <dest type>
<dest type> --> xyz [zoom <number>]
              | fitr <rule spec>
              | fitbh
              | fitbv
              | fitb
              | fith
              | fitv
              | fit
<thread spec> --> [<rule spec>] [<attr spec>] <id spec>
<id spec> --> <numid> | <nameid>
<file spec> --> file <general text>
<page spec> --> page <number>
<expand spec> --> <stretch> <shrink> <step> [autoexpand]
<stretch> --> <number>
<shrink> --> <number>
<step> --> <number>
<pre spec> --> pre
<pdfspecial spec> --> { [<pdfspecial id> [<pdfspecial modifier>]] <balanced text> }
<pdfspecial id> --> pdf: | PDF:
<pdfspecial modifier> --> direct:
