[Geany] Geany Newsletter Vol. 2

Frank Lanitz frank at xxxxx
Tue May 24 21:33:27 UTC 2011


On Tue, 24 May 2011 17:07:52 +0200
Colomban Wendling <lists.ban at herbesfolles.org> wrote:

> Le 24/05/2011 16:14, Frank Lanitz a écrit :
> > Not sure what I'm doing wrong, but not working:
> > 
> > frlan at 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. 

Cheers, 
Frank
-- 
http://frank.uvena.de/en/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20110524/bdca7cb1/attachment.pgp>


More information about the Users mailing list