comparison makeBooke.sh @ 359:2a7d03d6a89f

Use txt2tags to format intro text. That way we can include basic markup in the into text and use it in both LaTeX and HTML. Take advantage of this to expand the wording of the intro text in all books.
author Jim Hague <jim.hague@acm.org>
date Wed, 21 Aug 2013 10:28:10 +0100
parents 55afb58d4a9a
children 0206ab9fd6ba
comparison
equal deleted inserted replaced
358:357244e2939d 359:2a7d03d6a89f
23 mkdir -p $builddir 23 mkdir -p $builddir
24 24
25 cp dottes.tex $builddir 25 cp dottes.tex $builddir
26 cp buildno.txt $builddir 26 cp buildno.txt $builddir
27 cp buzzard.pdf $builddir 27 cp buzzard.pdf $builddir
28 for item in title subtitle intro instrument 28 for item in title subtitle instrument
29 do 29 do
30 rm -f $builddir/$item.txt 30 rm -f $builddir/$item.txt
31 if [ -r $booke/$item.txt ]; then 31 if [ -r $booke/$item.txt ]; then
32 cp $booke/$item.txt $builddir 32 cp $booke/$item.txt $builddir
33 else 33 else
34 touch $builddir/$item.txt 34 touch $builddir/$item.txt
35 fi
36 done
37 for item in intro
38 do
39 rm -f $builddir/$item.tex
40 if [ -r $booke/$item.txt ]; then
41 txt2tags --no-headers --target=tex --outfile=$builddir/$item.tex $booke/$item.txt
42 else
43 touch $builddir/$item.tex
35 fi 44 fi
36 done 45 done
37 46
38 for filename in $dir/*.${papersize}.tex 47 for filename in $dir/*.${papersize}.tex
39 do 48 do