% This is the list of new or extended primitives provided by pdftex.
% Don't edit this file, as it is auto-generated from the
% pdfTeX manual source pdftex.tex by the script syntaxform.pl.
% Syntax rule conventions borrowed from `TeXbook naruby' by Petr Olsak.
\section{Integer registers}


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

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

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

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

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

\Syntax{
\cs{pdfadjustinterwordglue} \Whatever{integer}
}

\Syntax{
\cs{pdfadjustspacing} \Whatever{integer}
}

\Syntax{
\cs{pdfappendkern} \Whatever{integer}
}

\Syntax{
\cs{pdfcompresslevel} \Whatever{integer}
}

\Syntax{
\cs{pdfdecimaldigits} \Whatever{integer}
}

\Syntax{
\cs{pdfdraftmode} \Whatever{integer}
}

\Syntax{
\cs{pdfforcepagebox} \Whatever{integer}
}

\Syntax{
\cs{pdfgamma} \Whatever{integer}
}

\Syntax{
\cs{pdfgentounicode} \Whatever{integer}
}

\Syntax{
\cs{pdfimageapplygamma} \Whatever{integer}
}

\Syntax{
\cs{pdfimagegamma} \Whatever{integer}
}

\Syntax{
\cs{pdfimagehicolor} \Whatever{integer}
}

\Syntax{
\cs{pdfimageresolution} \Whatever{integer}
}

\Syntax{
\cs{pdfinclusioncopyfonts} \Whatever{integer}
}

\Syntax{
\cs{pdfinclusionerrorlevel} \Whatever{integer}
}

\Syntax{
\cs{pdfinfoomitdate} \Whatever{integer}
}

\Syntax{
\cs{pdfmajorversion} \Whatever{integer}
}

\Syntax{
\cs{pdfminorversion} \Whatever{integer}
}

\Syntax{
\cs{pdfmovechars} \Whatever{integer}
}

\Syntax{
\cs{pdfobjcompresslevel} \Whatever{integer}
}

\Syntax{
\cs{pdfomitcharset} \Whatever{integer}
}

\Syntax{
\cs{pdfomitinfodict} \Whatever{integer}
}

\Syntax{
\cs{pdfomitprocset} \Whatever{integer}
}

\Syntax{
\cs{pdfoutput} \Whatever{integer}
}

\Syntax{
\cs{pdfpagebox} \Whatever{integer}
}

\Syntax{
\cs{pdfpkresolution} \Whatever{integer}
}

\Syntax{
\cs{pdfprependkern} \Whatever{integer}
}

\Syntax{
\cs{pdfprotrudechars} \Whatever{integer}
}

\Syntax{
\cs{pdfsuppressptexinfo} \Whatever{integer}
}

\Syntax{
\cs{pdfsuppresswarningdupdest} \Whatever{integer}
}

\Syntax{
\cs{pdfsuppresswarningdupmap} \Whatever{integer}
}

\Syntax{
\cs{pdfsuppresswarningpagegroup} \Whatever{integer}
}

\Syntax{
\cs{pdftracingfonts} \Whatever{integer}
}

\Syntax{
\cs{pdfuniqueresname} \Whatever{integer}
}

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

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

\Syntax{
\cs{showstream} \Whatever{integer}
}

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

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

\Syntax{
\cs{tracinglostchars} \Whatever{integer}
}

\Syntax{
\cs{tracingstacklevels} \Whatever{integer}
}
\section{Read-only integers}


\Syntax{
\cs{pdfelapsedtime} \Whatever{read-only integer}
}

\Syntax{
\cs{pdflastannot} \Whatever{read-only integer}
}

\Syntax{
\cs{pdflastlink} \Whatever{read-only integer}
}

\Syntax{
\cs{pdflastobj} \Whatever{read-only integer}
}

\Syntax{
\cs{pdflastxform} \Whatever{read-only integer}
}

\Syntax{
\cs{pdflastximage} \Whatever{read-only integer}
}

\Syntax{
\cs{pdflastximagecolordepth} \Whatever{read-only integer}
}

\Syntax{
\cs{pdflastximagepages} \Whatever{read-only integer}
}

\Syntax{
\cs{pdflastxpos} \Whatever{read-only integer}
}

\Syntax{
\cs{pdflastypos} \Whatever{read-only integer}
}

\Syntax{
\cs{pdfrandomseed} \Whatever{read-only integer}
}

\Syntax{
\cs{pdfretval} \Whatever{read-only integer}
}

\Syntax{
\cs{pdfshellescape} \Whatever{read-only integer}
}

\Syntax{
\cs{pdftexversion} \Whatever{read-only integer}
}
\section{Dimen registers}


\Syntax{
\cs{pdfdestmargin} \Whatever{dimen}
}

\Syntax{
\cs{pdfeachlinedepth} \Whatever{dimen}
}

\Syntax{
\cs{pdfeachlineheight} \Whatever{dimen}
}

\Syntax{
\cs{pdffirstlineheight} \Whatever{dimen}
}

\Syntax{
\cs{pdfhorigin} \Whatever{dimen}
}

\Syntax{
\cs{pdfignoreddimen} \Whatever{dimen}
}

\Syntax{
\cs{pdflastlinedepth} \Whatever{dimen}
}

\Syntax{
\cs{pdflinkmargin} \Whatever{dimen}
}

\Syntax{
\cs{pdfpageheight} \Whatever{dimen}
}

\Syntax{
\cs{pdfpagewidth} \Whatever{dimen}
}

\Syntax{
\cs{pdfpxdimen} \Whatever{dimen}
}

\Syntax{
\cs{pdfthreadmargin} \Whatever{dimen}
}

\Syntax{
\cs{pdfvorigin} \Whatever{dimen}
}
\section{Token registers}


\Syntax{
\cs{pdfpageattr} \Whatever{tokens}
}

\Syntax{
\cs{pdfpageresources} \Whatever{tokens}
}

\Syntax{
\cs{pdfpagesattr} \Whatever{tokens}
}

\Syntax{
\cs{pdfpkmode} \Whatever{tokens}
}
\section{Expandable commands}


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

\Syntax{
\cs{ifincsname} \Whatever{expandable}
}

\Syntax{
\cs{ifpdfabsdim} \Whatever{expandable}
}

\Syntax{
\cs{ifpdfabsnum} \Whatever{expandable}
}

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

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

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

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

\Syntax{
\cs{pdfcreationdate} \Whatever{expandable}
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

\Syntax{
\cs{pdfnormaldeviate} \Whatever{expandable}
}

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

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

\Syntax{
\cs{pdftexbanner} \Whatever{expandable}
}

\Syntax{
\cs{pdftexrevision} \Whatever{expandable}
}

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

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

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

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

\Syntax{
\cs{rightmarginkern} \Something{box number} \Whatever{expandable}
}
\section{General commands}


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

\Syntax{
\cs{partokencontext} \Something{number}
}

\Syntax{
\cs{partokenname} \Something{control sequence}
}

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

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

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

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

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

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

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

\Syntax{
\cs{pdffakespace}
}

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

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

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

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

\Syntax{
\cs{pdfinterwordspaceoff}
}

\Syntax{
\cs{pdfinterwordspaceon}
}

\Syntax{
\cs{pdfliteral} \Optional{\Literal{shipout}} \Optional{\Literal{direct} \Or \Literal{page}} \Something{general text} \Modelist{h, v, m}
}

\Syntax{
\cs{pdfmapfile} \Something{map filename}
}

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

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

\Syntax{
\cs{pdfnobuiltintounicode} \Something{font}
}

\Syntax{
\cs{pdfnoligatures} \Something{font}
}

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

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

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

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

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

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

\Syntax{
\cs{pdfresettimer}
}

\Syntax{
\cs{pdfrestore}
}

\Syntax{
\cs{pdfrunninglinkoff}
}

\Syntax{
\cs{pdfrunninglinkon}
}

\Syntax{
\cs{pdfsave}
}

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

\Syntax{
\cs{pdfsetmatrix}
}

\Syntax{
\cs{pdfsetrandomseed} \Something{number}
}

\Syntax{
\cs{pdfspacefont} \Something{general text}
}

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

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

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

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

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

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

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

\Syntax{
\cs{quitvmode}
}

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

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

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

\Syntax{
\cs{special} \Optional{\Literal{shipout}} \Lbrace\Something{text}\Rbrace
}

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