# HG changeset patch # User Jim Hague # Date 1330776035 0 # Node ID 72b5d67756e1c334ba21b2a13b514d19ea0f1462 # Parent 98fe55433833052eea125405bcc7f6c3cd01180a Fix up troubles with \. echo -E disables expansion. diff -r 98fe55433833 -r 72b5d67756e1 makeBooke.sh --- a/makeBooke.sh Sat Mar 03 09:12:06 2012 +0000 +++ b/makeBooke.sh Sat Mar 03 12:00:35 2012 +0000 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Build the Booke. First assemble the book LaTeX, then build it # into a PDF. @@ -33,10 +33,10 @@ 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 "\\\\end{center}" >> $builddir/$output + echo -E "\begin{center}" >> $builddir/$output + echo -E "\includegraphics[width=\textwidth]{$name}" >> $builddir/$output + echo -E "\addcontentsline{toc}{subsection}{$title}" >> $builddir/$output + echo -E "\end{center}" >> $builddir/$output done cat dottes.tex.footer >> $builddir/$output