15
votes
2answers
2k views

Directory name as a variable

Is it possible to use the directory where the current tex-file is in as variable? For example, suppose I am in the directory /path/to/foo/ and compile there the document bar.tex (absolute path is ...
2
votes
4answers
221 views

Can (La)TeX compare the time stamps of two external files?

Scenario I have a bunch of standalone PSTricks files. Each of those files can be compiled by latex-dvips-ps2pdf-pdfcrop-pdftops to produce a PDF image. I have made a batch file to do ...