[OS X TeX] \jobname+3

Alain Schremmer schremmer.alain at gmail.com
Tue Sep 13 21:14:04 CEST 2011

Not quite strictly LaTeX.

I use a lot ]jobname in references such as


With a file named 4.tex this gives


Is there a way to use something along the lines of


so as to get, with a file named 4.tex,


The reason this is not strictly LaTeX is that I believe that

%!TEX root =../HOMEWORKS-controls/\jobname.tex

works only with TeXShop and I would of course also like to have

%!TEX root =../HOMEWORKS-controls/\jobname+3.tex

(But THAT I don't really believe is possible)


More information about the macostex-archives mailing list