Mercurial > dottes
diff makeBooke.sh @ 34:80af9457d566
Remove use of abc pacakge and do the graphics outselves.
Make book building time a lot quicker, because converting from abc to
eps/pdf is done only once.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Fri, 02 Mar 2012 12:30:43 +0000 |
parents | b05fca550d33 |
children | 72b5d67756e1 |
line wrap: on
line diff
--- a/makeBooke.sh Fri Mar 02 12:28:20 2012 +0000 +++ b/makeBooke.sh Fri Mar 02 12:30:43 2012 +0000 @@ -31,17 +31,19 @@ do title=`grep "^T:" $filename | head -1 | sed -e "s/^T: *//"` name=`basename $filename .abc` + abcm2ps -j0 +c -n -E -O $builddir/$name.eps $filename + epstopdf --outfile=$builddir/$name.pdf $builddir/${name}001.eps + echo "\\\\begin{center}" >> $builddir/$output + echo "\\\\includegraphics[width=\\\\textwidth]{$name}" >> $builddir/$output echo "\\\\addcontentsline{toc}{subsection}{$title}" >> $builddir/$output - echo "\\\\begin{abc}[options=-j0 +c -n,name=$name]" >> $builddir/$output - cat $filename >> $builddir/$output - echo "\\\\end{abc}" >> $builddir/$output + echo "\\\\end{center}" >> $builddir/$output done cat dottes.tex.footer >> $builddir/$output cd $builddir -pdflatex -shell-escape $output -pdflatex -shell-escape $output +pdflatex $output +pdflatex $output cd $dir pdflatex dottesona4.tex