diff makeWeb.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 27f29e8aafea
children 01ded8741361
line wrap: on
line diff
--- a/makeWeb.sh	Wed Aug 21 10:21:19 2013 +0100
+++ b/makeWeb.sh	Wed Aug 21 10:28:10 2013 +0100
@@ -38,7 +38,7 @@
     subtitle=`cat $bookedir/subtitle.txt`
 fi
 if [ -r $bookedir/intro.txt ]; then
-    intro=`cat $bookedir/intro.txt`
+    intro=`txt2tags --no-headers --target=html --outfile=- $bookedir/intro.txt`
 fi
 
 if [ -n "$instrument" ]; then