[OS X TeX] engine writes in wrong directories
Peter_Dyballa at Web.DE
Fri Apr 7 17:27:40 EDT 2006
Am 07.04.2006 um 10:58 schrieb Rechtsanwalt Friedrich Vosberg:
> If you want to try the misbehaviour save the file at your iDisk and
> run the engine. The filepath informations will be wrong.
> Any hints?
How is this engine performing in a real directory on your local disk?
Could you cd in Terminal onto your iDisk and invoke pwd in Mydir to
see what it returns? pwd is the source for the first part of the
filename. And sed, iconv, and awk do some filtering: so, what is
'which sed iconv awk' returning on iDisk?
Are you sure that your description is correct, that you can reproduce
it (with another TeX file, in a different directory on your iDisk
that does not contain previous versions of tmppath.tex or
tmpfile.tex), and that you're not citing from another log or pdf
file? Or is your watch defective? (The first of April was last
weekend. And your report isn't more likely today.)
The most likely cause is that pdflatex is *not* writing to neither
tmppath.tex nor to tmpfile.tex, because you do not invoke it with -
shell-escape! So elder versions of both files are re-used, and they
can have some strange contents ... To avoid this, you should
definitely add '-shell-escape' to the pdflatex invocations, and you
should add an 'rm tmppath.tex tmpfile.tex' as last line to your
engine to prevent this "misbehaviour."
Mit evolutionären Grüßen
"Evolution" o __o _o _
°\___o /0~ -\<, ^\___ /=\\_/-%
oo~_______ /\ /\______/ \_________O/ O_______________o===>-->O--o____
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the MacOSX-TeX