I am having a really weird problem - when I run PDFLaTeX within my Perl script the PDF file doesn't get generated properly ...
I run
Code: Select all
pdflatex -output-directory /tmp /tmp/perl.tex
Code: Select all
[1{/usr/share/texmf-var/fonts/map/pdftex/updmap/pdftex.map
Error: pdflatex (file /usr/share/texmf-var/fonts/map/pdftex/updmap/pdftex.map):
fflush() failed
==> Fatal error occurred, the output PDF file is not finished!
What the heck is the problem?! When I run the PDFLaTeX command from any script (Perl, bash...) it doesn't work and gives me the error shown above, but when I run it manually there is no error and it works... Can anybody help?
