Fix up troubles with \. echo -E disables expansion.

This commit is contained in:
Jim Hague 2012-03-03 12:00:35 +00:00
parent 0710184c1a
commit c81cce41dd
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# #
# Build the Booke. First assemble the book LaTeX, then build it # Build the Booke. First assemble the book LaTeX, then build it
# into a PDF. # into a PDF.
@ -33,10 +33,10 @@ find $booke -name "*.abc" | sort |
name=`basename $filename .abc` name=`basename $filename .abc`
abcm2ps -j0 +c -n -E -O $builddir/$name.eps $filename abcm2ps -j0 +c -n -E -O $builddir/$name.eps $filename
epstopdf --outfile=$builddir/$name.pdf $builddir/${name}001.eps epstopdf --outfile=$builddir/$name.pdf $builddir/${name}001.eps
echo "\\\\begin{center}" >> $builddir/$output echo -E "\begin{center}" >> $builddir/$output
echo "\\\\includegraphics[width=\\\\textwidth]{$name}" >> $builddir/$output echo -E "\includegraphics[width=\textwidth]{$name}" >> $builddir/$output
echo "\\\\addcontentsline{toc}{subsection}{$title}" >> $builddir/$output echo -E "\addcontentsline{toc}{subsection}{$title}" >> $builddir/$output
echo "\\\\end{center}" >> $builddir/$output echo -E "\end{center}" >> $builddir/$output
done done
cat dottes.tex.footer >> $builddir/$output cat dottes.tex.footer >> $builddir/$output