%% 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: pdftex-t.tex 711 2014-04-23 22:56:07Z karl $

%% integer registers:
\pdfoutput                                              (integer)
\pdfminorversion                                        (integer)
\pdfcompresslevel                                       (integer)
\pdfobjcompresslevel                                    (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)
\pdfadjustinterwordglue                                 (integer)
\knbscode <font> <8-bit number>                         (integer)
\stbscode <font> <8-bit number>                         (integer)
\shbscode <font> <8-bit number>                         (integer)
\pdfprependkern                                         (integer)
\knbccode <font> <8-bit number>                         (integer)
\pdfappendkern                                          (integer)
\knaccode <font> <8-bit number>                         (integer)
\pdfgentounicode                                        (integer)
\tagcode <font> <character code>                        (integer)
\pdfpagebox                                             (integer)
\pdfforcepagebox                                        (integer)
\pdfoptionalwaysusepdfpagebox                           (integer)
\pdfinclusionerrorlevel                                 (integer)
\pdfoptionpdfinclusionerrorlevel                        (integer)
\pdfimagehicolor                                        (integer)
\pdfimageapplygamma                                     (integer)
\pdfgamma                                               (integer)
\pdfimagegamma                                          (integer)
\pdfinclusioncopyfonts                                  (integer)
\pdfdraftmode                                           (integer)
\pdfsuppresswarningdupdest                              (integer)
\pdfsuppresswarningdupmap                               (integer)
\pdfsuppresswarningpagegroup                            (integer)

%% dimen registers:
\pdfhorigin                                             (dimen)
\pdfvorigin                                             (dimen)
\pdfpagewidth                                           (dimen)
\pdfpageheight                                          (dimen)
\pdfignoreddimen                                        (dimen)
\pdffirstlineheight                                     (dimen)
\pdflastlinedepth                                       (dimen)
\pdfeachlineheight                                      (dimen)
\pdfeachlinedepth                                       (dimen)
\pdflinkmargin                                          (dimen)
\pdfdestmargin                                          (dimen)
\pdfthreadmargin                                        (dimen)
\pdfpxdimen                                             (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)
\ifpdfprimitive <control sequence>                      (expandable)
\ifincsname                                             (expandable)
\pdfstrcmp <general text> <general text>                (expandable)
\pdfmatch [icase] [subcount <number>]
      <general text> <general text>                     (expandable)
\pdflastmatch <integer>                                 (expandable)
\ifpdfabsnum                                            (expandable)
\ifpdfabsdim                                            (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)
\pdfcolorstackinit [page] [direct] <general text>
                                                        (expandable)
\pdfinsetht <integer>                                   (expandable)
\pdfximagebbox <integer> <integer>                      (expandable)

%% read-only integers:
\pdftexversion                                          (read-only integer)
\pdflastobj                                             (read-only integer)
\pdflastxform                                           (read-only integer)
\pdflastximage                                          (read-only integer)
\pdflastximagecolordepth                                (read-only integer)
\pdflastximagepages                                     (read-only integer)
\pdflastannot                                           (read-only integer)
\pdflastlink                                            (read-only integer)
\pdflastxpos                                            (read-only integer)
\pdflastypos                                            (read-only integer)
\pdflastdemerits                                        (read-only integer)
\pdfelapsedtime                                         (read-only integer)
\pdfrandomseed                                          (read-only integer)
\pdfretval                                              (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>
\letterspacefont <control sequence> <font> <integer>
\pdfcopyfont <control sequence> <font>
\pdfglyphtounicode <general text> <general text>
\vadjust [<pre spec>] <filler> { <vertical mode material> } (h, m)
\quitvmode
\pdfliteral [<pdfliteral spec>] <general text>          (h, v, m)
\special <pdfspecial spec>
\pdfresettimer
\pdfsetrandomseed <number>
\pdfnoligatures <font>
\pdfprimitive <control sequence>
\pdfcolorstack <stack number> <stack action> <general text>
\pdfsetmatrix
\pdfsave
\pdfrestore

%% 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
<pdfliteral spec> --> direct | page
<pdfspecial spec> --> { [<pdfspecial id> [<pdfspecial modifier>]] <balanced text> }
<pdfspecial id> --> pdf: | PDF:
<pdfspecial modifier> --> direct:
<stack action> --> set | push | pop | current
