TeX/jobname

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

Synopsis[edit]

\jobname

Description[edit]

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'.