%%S $Id: syntaxform.pl 742 2016-04-25 17:30:55Z karl $
%%S This is the list of new or extended primitives provided by pdftex.
%%S Don't edit this file, as it is now auto-generated from the
%%S pdfTeX manual source pdftex-t.tex (and the generated
%%S pdftex-syntax.tex) by the script syntaxform.awk.
%%S Syntax rule conventions borrowed from `TeXbook naruby' by Petr Olsak.
%%S NL
%%S Integer registers:
\subsubject{Integer registers}

\startpacked

\Syntax{
\Tex{\efcode} \Something{font} \Something{8-bit number} \Whatever{integer}
}

\Syntax{
\Tex{\knaccode} \Something{font} \Something{8-bit number} \Whatever{integer}
}

\Syntax{
\Tex{\knbccode} \Something{font} \Something{8-bit number} \Whatever{integer}
}

\Syntax{
\Tex{\knbscode} \Something{font} \Something{8-bit number} \Whatever{integer}
}

\Syntax{
\Tex{\lpcode} \Something{font} \Something{8-bit number} \Whatever{integer}
}

\Syntax{
\Tex{\pdfadjustinterwordglue} \Whatever{integer}
}

\Syntax{
\Tex{\pdfadjustspacing} \Whatever{integer}
}

\Syntax{
\Tex{\pdfappendkern} \Whatever{integer}
}

\Syntax{
\Tex{\pdfcompresslevel} \Whatever{integer}
}

\Syntax{
\Tex{\pdfdecimaldigits} \Whatever{integer}
}

\Syntax{
\tex {pdfdraftmode} \Whatever{integer}
}

\Syntax{
\Tex{\pdfforcepagebox} \Whatever{integer}
}

\Syntax{
\Tex{\pdfgamma} \Whatever{integer}
}

\Syntax{
\Tex{\pdfgentounicode} \Whatever{integer}
}

\Syntax{
\Tex{\pdfimageapplygamma} \Whatever{integer}
}

\Syntax{
\Tex{\pdfimagegamma} \Whatever{integer}
}

\Syntax{
\Tex{\pdfimagehicolor} \Whatever{integer}
}

\Syntax{
\Tex{\pdfimageresolution} \Whatever{integer}
}

\Syntax{
\Tex{\pdfinclusioncopyfonts} \Whatever{integer}
}

\Syntax{
\Tex{\pdfinclusionerrorlevel} \Whatever{integer}
}

\Syntax{
\Tex{\pdfinfoomitdate} \Whatever{integer}
}

\Syntax{
\Tex{\pdfmajorversion} \Whatever{integer}
}

\Syntax{
\Tex{\pdfminorversion} \Whatever{integer}
}

\Syntax{
\Tex{\pdfobjcompresslevel} \Whatever{integer}
}

\Syntax{
\Tex{\pdfomitcharset} \Whatever{integer}
}

\Syntax{
\Tex{\pdfoutput} \Whatever{integer}
}

\Syntax{
\Tex{\pdfpagebox} \Whatever{integer}
}

\Syntax{
\Tex{\pdfpkresolution} \Whatever{integer}
}

\Syntax{
\Tex{\pdfprependkern} \Whatever{integer}
}

\Syntax{
\Tex{\pdfprotrudechars} \Whatever{integer}
}

\Syntax{
\Tex{\pdfsuppressptexinfo} \Whatever{integer}
}

\Syntax{
\Tex{\pdfsuppresswarningdupdest} \Whatever{integer}
}

\Syntax{
\Tex{\pdfsuppresswarningdupmap} \Whatever{integer}
}

\Syntax{
\Tex{\pdfsuppresswarningpagegroup} \Whatever{integer}
}

\Syntax{
\Tex{\pdftracingfonts} \Whatever{integer}
}

\Syntax{
\Tex{\pdfuniqueresname} \Whatever{integer}
}

\Syntax{
\Tex{\rpcode} \Something{font} \Something{8-bit number} \Whatever{integer}
}

\Syntax{
\Tex{\shbscode} \Something{font} \Something{8-bit number} \Whatever{integer}
}

\Syntax{
\Tex{\stbscode} \Something{font} \Something{8-bit number} \Whatever{integer}
}

\Syntax{
\Tex{\tagcode} \Something{font} \Something{8-bit number} \Whatever{integer}
}

\Syntax{
\Tex{\tracinglostchars} \Whatever{integer}
}

\Syntax{
\Tex{\tracingstacklevels} \Whatever{integer}
}

\stoppacked
%%S NL
%%S Read-only integers:
\subsubject{Read-only integers}

\startpacked

\Syntax{
\Tex{\pdfelapsedtime} \Whatever{read||only integer}
}

\Syntax{
\Tex{\pdflastannot} \Whatever{read||only integer}
}

\Syntax{
\Tex{\pdflastlink} \Whatever{read||only integer}
}

\Syntax{
\Tex{\pdflastobj} \Whatever{read||only integer}
}

\Syntax{
\Tex{\pdflastxform} \Whatever{read||only integer}
}

\Syntax{
\Tex{\pdflastximage} \Whatever{read||only integer}
}

\Syntax{
\Tex{\pdflastximagecolordepth} \Whatever{read||only integer}
}

\Syntax{
\Tex{\pdflastximagepages} \Whatever{read||only integer}
}

\Syntax{
\Tex{\pdflastxpos} \Whatever{read||only integer}
}

\Syntax{
\Tex{\pdflastypos} \Whatever{read||only integer}
}

\Syntax{
\Tex{\pdfrandomseed} \Whatever{read||only integer}
}

\Syntax{
\Tex{\pdfretval} \Whatever{read||only integer}
}

\Syntax{
\Tex{\pdfshellescape} \Whatever{read||only integer}
}

\Syntax{
\Tex{\pdftexversion} \Whatever{read||only integer}
}

\stoppacked
%%S NL
%%S Dimen registers:
\subsubject{Dimen registers}

\startpacked

\Syntax{
\Tex{\pdfdestmargin} \Whatever{dimen}
}

\Syntax{
\Tex{\pdfeachlinedepth} \Whatever{dimen}
}

\Syntax{
\Tex{\pdfeachlineheight} \Whatever{dimen}
}

\Syntax{
\Tex{\pdffirstlineheight} \Whatever{dimen}
}

\Syntax{
\Tex{\pdfhorigin} \Whatever{dimen}
}

\Syntax{
\Tex{\pdfignoreddimen} \Whatever{dimen}
}

\Syntax{
\Tex{\pdflastlinedepth} \Whatever{dimen}
}

\Syntax{
\Tex{\pdflinkmargin} \Whatever{dimen}
}

\Syntax{
\Tex{\pdfpageheight} \Whatever{dimen}
}

\Syntax{
\Tex{\pdfpagewidth} \Whatever{dimen}
}

\Syntax{
\Tex{\pdfpxdimen} \Whatever{dimen}
}

\Syntax{
\Tex{\pdfthreadmargin} \Whatever{dimen}
}

\Syntax{
\Tex{\pdfvorigin} \Whatever{dimen}
}

\stoppacked
%%S NL
%%S Token registers:
\subsubject{Token registers}

\startpacked

\Syntax{
\Tex{\pdfpageattr} \Whatever{tokens}
}

\Syntax{
\Tex{\pdfpageresources} \Whatever{tokens}
}

\Syntax{
\Tex{\pdfpagesattr} \Whatever{tokens}
}

\Syntax{
\Tex{\pdfpkmode} \Whatever{tokens}
}

\stoppacked
%%S NL
%%S Expandable commands:
\subsubject{Expandable commands}

\startpacked

\Syntax{
\tex {expanded} \Something{tokens} \Whatever{expandable}
}

\Syntax{
\tex {ifincsname} \Whatever{expandable}
}

\Syntax{
\Tex{\ifpdfabsdim} \Whatever{expandable}
}

\Syntax{
\Tex{\ifpdfabsnum} \Whatever{expandable}
}

\Syntax{
\tex {ifpdfprimitive} \Something{control sequence} \Whatever{expandable}
}

\Syntax{
\Tex{\input} \Something{general text} \Whatever{expandable}
}

\Syntax{
\Tex{\leftmarginkern} \Something{box number} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfcolorstackinit} \Optional{\Literal{page}} \Optional{\Literal{direct}} \Something{general text} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfcreationdate} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfescapehex} \Something{general text} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfescapename} \Something{general text} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfescapestring} \Something{general text} \Whatever{expandable}
}

\Syntax{
\Tex{\pdffiledump} \Optional{\Literal{offset} \Something{integer}} \Optional{\Literal{length} \Something{integer}} \Something{general text} \Whatever{expandable}
}

\Syntax{
\Tex{\pdffilemoddate} \Something{general text} \Whatever{expandable}
}

\Syntax{
\Tex{\pdffilesize} \Something{general text} \Whatever{expandable}
}

\Syntax{
\Tex{\pdffontname} \Something{font} \Whatever{expandable}
}

\Syntax{
\Tex{\pdffontobjnum} \Something{font} \Whatever{expandable}
}

\Syntax{
\Tex{\pdffontsize} \Something{font} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfincludechars} \Something{font} \Something{general text} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfinsertht} \Something{integer} \Whatever{expandable}
}

\Syntax{
\Tex{\pdflastmatch} \Something{integer} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfmatch} \Optional{\Literal{icase}} \Optional{\Literal{subcount} \Something{integer}} \Something{general text} \Something{general text} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfmdfivesum} \Optional{\Literal{file}} \Something{general text} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfnormaldeviate} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfpageref} \Something{page number} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfstrcmp} \Something{general text} \Something{general text} \Whatever{expandable}
}

\Syntax{
\Tex{\pdftexbanner} \Whatever{expandable}
}

\Syntax{
\Tex{\pdftexrevision} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfunescapehex} \Something{general text} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfuniformdeviate} \Something{number} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfxformname} \Something{object number} \Whatever{expandable}
}

\Syntax{
\Tex{\pdfximagebbox} \Something{integer} \Something{integer} \Whatever{expandable}
}

\Syntax{
\Tex{\rightmarginkern} \Something{box number} \Whatever{expandable}
}

\stoppacked
%%S NL
%%S General commands:
\subsubject{General commands}

\startpacked

\Syntax{
\Tex{\letterspacefont} \Something{control sequence} \Something{font} \Something{integer}
}

\Syntax{
\Tex{\pdfannot} \Something{annot type spec} \Modelist{h, v, m}
}

\Syntax{
\Tex{\pdfcatalog} \Something{general text} \Optional{\Literal{openaction} \Something{action spec}}
}

\Syntax{
\Tex{\pdfcolorstack} \Something{stack number} \Something{stack action} \Something{general text}
}

\Syntax{
\Tex{\pdfcopyfont} \Something{control sequence} \Something{font}
}

\Syntax{
\Tex{\pdfdest} \Something{dest spec} \Modelist{h, v, m}
}

\Syntax{
\Tex{\pdfendlink} \Modelist{h, m}
}

\Syntax{
\Tex{\pdfendthread} \Modelist{v, m}
}

\Syntax{
\Tex{\pdffakespace}
}

\Syntax{
\Tex{\pdffontattr} \Something{font} \Something{general text}
}

\Syntax{
\Tex{\pdffontexpand} \Something{font} \Something{stretch} \Something{shrink} \Something{step} \Optional{\Literal{autoexpand}}
}

\Syntax{
\Tex{\pdfglyphtounicode} \Something{general text} \Something{general text}
}

\Syntax{
\Tex{\pdfinfo} \Something{general text}
}

\Syntax{
\Tex{\pdfinterwordspaceoff}
}

\Syntax{
\Tex{\pdfinterwordspaceon}
}

\Syntax{
\Tex{\pdfliteral} \Optional{\Something{pdfliteral spec}} \Something{general text} \Modelist{h, v, m}
}

\Syntax{
\Tex{\pdfmapfile} \Something{map spec}
}

\Syntax{
\Tex{\pdfmapline} \Something{map spec}
}

\Syntax{
\Tex{\pdfnames} \Something{general text}
}

\Syntax{
\Tex{\pdfnobuiltintounicode} \Something{font}
}

\Syntax{
\Tex{\pdfnoligatures} \Something{font}
}

\Syntax{
\Tex{\pdfobj} \Something{object type spec} \Modelist{h, v, m}
}

\Syntax{
\Tex{\pdfoutline} \Optional{\Something{attr spec}} \Something{action spec} \Optional{\Literal{count} \Something{integer}} \Something{general text} \Modelist{h, v, m}
}

\Syntax{
\tex {pdfprimitive} \Something{control sequence}
}

\Syntax{
\Tex{\pdfrefobj} \Something{object number} \Modelist{h, v, m}
}

\Syntax{
\Tex{\pdfrefxform} \Something{object number} \Modelist{h, v, m}
}

\Syntax{
\Tex{\pdfrefximage} \Something{object number}
}

\Syntax{
\Tex{\pdfresettimer}
}

\Syntax{
\Tex{\pdfrestore}
}

\Syntax{
\Tex{\pdfrunninglinkoff}
}

\Syntax{
\Tex{\pdfrunninglinkon}
}

\Syntax{
\Tex{\pdfsave}
}

\Syntax{
\Tex{\pdfsavepos} \Modelist{h, v, m}
}

\Syntax{
\Tex{\pdfsetmatrix}
}

\Syntax{
\Tex{\pdfsetrandomseed} \Something{number}
}

\Syntax{
\Tex{\pdfstartlink} \Optional{\Something{rule spec}} \Optional{\Something{attr spec}} \Something{action spec} \Modelist{h, m}
}

\Syntax{
\Tex{\pdfthread} \Optional{\Something{rule spec}} \Optional{\Something{attr spec}} \Something{id spec} \Modelist{h, v, m}
}

\Syntax{
\Tex{\pdftrailer} \Something{general text}
}

\Syntax{
\Tex{\pdftrailerid} \Something{general text}
}

\Syntax{
\Tex{\pdftstartthread} \Optional{\Something{rule spec}} \Optional{\Something{attr spec}} \Something{id spec} \Modelist{v, m}
}

\Syntax{
\Tex{\pdfxform} \Optional{\Something{attr spec}} \Optional{\Something{resources spec}} \Something{box number} \Modelist{h, v, m}
}

\Syntax{
\Tex{\pdfximage} \Optional{\Something{rule spec}} \Optional{\Something{attr spec}} \Optional{\Something{page spec}} \Optional{\Something{colorspace spec}} \Optional{\Something{pdf box spec}} \Something{general text} \Modelist{h, v, m}
}

\Syntax{
\Tex{\quitvmode}
}

\Syntax{
\Tex{\special} \Lbrace\unkern\Literal{pdf:} \Something{text} \Rbrace
}

\Syntax{
\Tex{\special} \Lbrace\unkern\Literal{pdf:direct:} \Something{text} \Rbrace
}

\Syntax{
\Tex{\special} \Lbrace\unkern\Literal{pdf:page:} \Something{text} \Rbrace
}

\Syntax{
\Tex{\vadjust} \Optional{\Something{pre spec}} \Something{filler} \Lbrace \Something{vertical mode material} \Rbrace \Modelist{h, m}
}

\stoppacked
