[OS X TeX] \jobname+3

Alain Schremmer schremmer.alain at gmail.com
Tue Sep 13 23:26:27 CEST 2011


On Sep 13, 2011, at 3:48 PM, Chris Goedde wrote:

> The sequence
>
> \newcounter{filenum}
> \setcounter{filenum}{\jobname}
> \addtocounter{filenum}{3}
>
> will create a counter called filenum that will have value of  
> \jobname + 3. You can then do (I believe)
>
> ../QuestionsBase/\arabic{filenum}/12
>
> to get what you want.

Given my fairly complicated file structure, the question is where to  
put what. So, this is going to take me a bit of time to experiment  
with. I will report back.

Very grateful regards
--schremmer




More information about the macostex-archives mailing list