TeX/jobname

From Wikibooks, open books for an open world
< TeX
Jump to navigation Jump to search

Synopsis[edit | edit source]

\jobname

Description[edit | edit source]

TeX associates a name with each job it processes. If the TeX source file 'foo.tex' is processed by TeX, then \jobname is set to 'foo'. If TeX is run interactively, then \jobname is set to 'texput'.