[Geany] Geany Newsletter Vol. 2

Frank Lanitz frank at xxxxx
Tue May 24 14:14:05 UTC 2011


Am 24.05.2011 15:58, schrieb Colomban Wendling:
> Hey,
> 
> Le 23/05/2011 11:05, Frank Lanitz a écrit :
>> Am 23.05.2011 10:50, schrieb Lex Trotman:
>>> I thought PDF was generated via latex and I wasn't about to try to
>>> tell *you* how to get Latex to do the numbering :-)
>>
>> With change to ReST this has been changed as the TeX export is causing
>> nightmares to me in current state.
> 
> I tuned a bit PDF (and LaTeX) generation and pushed on branch
> pdf-from-latex [1] if anyone want to take a look. OK it's a little ugly
> to postprocess LaTeX output, but at least it looks almost OK.
> Feel free to tune, I'm a LaTeX noob, just collected some infos to get
> this working.
> 
> About switching to another lightweight markup format, just make sure the
> output is flexible enough not to need this kind of things to tune the
> output. Even if the default output "looks good".

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

Cheers,
Frank



More information about the Users mailing list