diff 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
line wrap: on
line diff
--- a/makeBooke.sh	Wed Aug 21 10:21:19 2013 +0100
+++ b/makeBooke.sh	Wed Aug 21 10:28:10 2013 +0100
@@ -25,7 +25,7 @@
 cp dottes.tex $builddir
 cp buildno.txt $builddir
 cp buzzard.pdf $builddir
-for item in title subtitle intro instrument
+for item in title subtitle instrument
 do
     rm -f $builddir/$item.txt
     if [ -r $booke/$item.txt ]; then
@@ -34,6 +34,15 @@
         touch $builddir/$item.txt
     fi
 done
+for item in intro
+do
+    rm -f $builddir/$item.tex
+    if [ -r $booke/$item.txt ]; then
+        txt2tags --no-headers --target=tex --outfile=$builddir/$item.tex $booke/$item.txt
+    else
+        touch $builddir/$item.tex
+    fi
+done
 
 for filename in $dir/*.${papersize}.tex
 do