[texhax] question about the name of a tex file
heiko.oberdiek at googlemail.com
Sat Feb 12 18:34:04 CET 2011
On Sun, Feb 13, 2011 at 03:36:20AM +1100, Vafa Khalighi wrote:
> Some people name their tex file with .tex, some with .ltx, some with .xltx
> and so on. Is there really a way to detect what extension (.tex, .ltx, ...)
> a user has used for his tex file name?
No. Except after the run the .log file shows the name.
\jobname contains the name without extension and path.
More information about the texhax