kosta has asked for the wisdom of the Perl Monks concerning the following question:
Now what happens is that the generated pdf is unreadable (.log file says :system "/usr/bin/pdflatex -output-directory /tmp /tmp/perl.tex"; system "mv /tmp/perl.pdf /export/www/html/auth/download/";
The funny part is that when I log in via ssh (and even change my user to apache by typing "su apache") then pdflatex works just fine... If I run those two command outside of perl[1{/usr/share/texmf-var/fonts/map/pdftex/updmap/pdftex.map Error: /usr/bin/pdflatex (file /usr/share/texmf-var/fonts/map/pdftex/u +pdmap/pdf tex.map): fflush() failed ==> Fatal error occurred, the output PDF file is not finished!
=> this works np. Why the heck is perl not able to call the system properly?! Any ideas? Anybody who created pdfs this wat and can help? PLLLLS :)$ /usr/bin/pdflatex -output-directory /tmp /tmp/perl.tex $ mv /tmp/perl.pdf /export/www/html/auth/download/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: system call to pdflatex
by Corion (Patriarch) on Nov 24, 2011 at 12:05 UTC | |
|
Re: system call to pdflatex
by kosta (Sexton) on Nov 24, 2011 at 12:21 UTC | |
by choroba (Cardinal) on Nov 24, 2011 at 12:33 UTC | |
by Corion (Patriarch) on Nov 24, 2011 at 12:35 UTC | |
by choroba (Cardinal) on Nov 24, 2011 at 12:37 UTC |