Le 25/05/2011 15:45, Frank Lanitz a écrit : > Am 24.05.2011 23:33, schrieb Frank Lanitz: >> On Tue, 24 May 2011 17:07:52 +0200 >> Colomban Wendling <[email protected]> wrote: >> >>> Le 24/05/2011 16:14, Frank Lanitz a écrit : >>>> Not sure what I'm doing wrong, but not working: >>>> >>>> frlan@ubuntu:~/git/newsletter$ LANG=C vol=2 make pdf >>>> maxpasses=5; \ >>>> file=`basename vol_2/newsletter_2.tex .tex`; \ >>>> cd `dirname vol_2/newsletter_2.tex` && \ >>>> pdflatex -interaction batchmode "$file.tex" > /dev/null && \ >>>> while test $maxpasses -gt 0 && grep -q -i 'rerun' >>>> $file.log; do \ pdflatex -interaction batchmode "$file.tex" >>>>> /dev/null || exit 1; \ maxpasses=`expr $maxpasses - 1`; \ >>>> done; \ >>>> rm "$file.log" "$file.toc" "$file.out" "$file.aux" >>>> rm: cannot remove `newsletter_2.toc': No such file or directory >>>> rm: cannot remove `newsletter_2.out': No such file or directory >>>> rm: cannot remove `newsletter_2.aux': No such file or directory >>>> make: *** [vol_2/newsletter_2.pdf] Error 1 >>> >>> Seems your pdflatex don't generate .toc, .out and .aux... no idea if >>> it's normal behavior (mine does output them), but I pushed a fix not >>> to fail if one of these files don't exist, so it should be fixed. >> >> Well, it seems there has been an error before which prevented pdflatex >> from running correctly as when I commented the rm out for testing, it >> also failed. And its not normal behavior ;) >> >> However, after the change its running on my Debian unstable box. Will >> try it tomorrow with 'ancient' Ubuntu 10.04 where I originally >> experienced the issue. >> > > I'm afraid still not working on Xubuntu 10.4 :( > and I don't have a clue why.
With the help of a 10.4 user, I fixed it. Actually, it's because 10.4 has Docutils 0.6 and it seems it don't know about --latex-preamble. I then dropped it (anyway I didn't actually used it), it should now work. Cheers, Colomban _______________________________________________ Geany mailing list [email protected] https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
