%% 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,v 1.589 2005/02/04 18:16:10 oneiros Exp $

%% integer registers:
\pdfoutput                                              (integer)
\pdfadjustspacing                                       (integer)
\pdfcompresslevel                                       (integer)
\pdfdecimaldigits                                       (integer)
\pdfmovechars                                           (integer)
\pdfimageresolution                                     (integer)
\pdfpkresolution                                        (integer)
\pdfuniqueresname                                       (integer)
\pdfprotrudechars                                       (integer)
\pdfoptionpdfminorversion                               (integer)
\pdfoptionalwaysusepdfpagebox                           (integer)
\pdfoptionpdfinclusionerrorlevel                        (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)

%% expandable commands:
\pdftexrevision                                         (expandable)
\pdftexbanner                                           (expandable)
\pdffontname <font>                                     (expandable)
\pdffontobjnum <font>                                   (expandable)
\pdfincludechars <font> <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)
\pdflastvbreakpenalty                                   (read-only integer)

%% general commands:
\pdfliteral [direct] <general text>                     (h, v, m)
\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 [<rule spec>] <general text>                  (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>
\efcode <font> <8-bit number>                           (integer)
\lpcode <font> <8-bit number>                           (integer)
\rpcode <font> <8-bit number>                           (integer)
\vadjust <pre spec> <filler> { <vertical material> }    (h, m)
\special <pdfspecial spec>

%% syntax rules:
<general text> --> { <balanced text> }
<attr spec> --> attr <general text>
<rule spec> --> (width | height | depth) <dimension> [<rule spec>]
<object type spec> --> reserveobjnum
                     | [useobjnum <number>] [<attr spec>] [stream [<attr spec>]] <object contents>
<object contents> --> <file spec>
                    | <general text>
<xform attr spec> --> [<attr spec>] [<resources spec>]
<resources spec> --> resources <general text>
<image attr spec> --> [<rule spec>] [<attr spec>] [<page 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>
<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>
<pdfspecial spec> --> { [<pdfspecial id> [<pdfspecial modifier>]] <balanced text> }
<pdfspecial id> --> pdf: | PDF:
<pdfspecial modifier> --> direct:
