Mercurial > dottes
comparison makeBooke.sh @ 582:0206ab9fd6ba build-default-239
Switch from txt2tags to using pandoc with Markdown (Pandoc flavour) input.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Sat, 29 Oct 2016 21:51:59 +0100 |
parents | 2a7d03d6a89f |
children | 507d853433ef |
comparison
equal
deleted
inserted
replaced
581:760d0ae5acea | 582:0206ab9fd6ba |
---|---|
35 fi | 35 fi |
36 done | 36 done |
37 for item in intro | 37 for item in intro |
38 do | 38 do |
39 rm -f $builddir/$item.tex | 39 rm -f $builddir/$item.tex |
40 if [ -r $booke/$item.txt ]; then | 40 if [ -r $booke/$item.md ]; then |
41 txt2tags --no-headers --target=tex --outfile=$builddir/$item.tex $booke/$item.txt | 41 pandoc --from=markdown --to=latex --output=$builddir/$item.tex $booke/$item.md |
42 else | 42 else |
43 touch $builddir/$item.tex | 43 touch $builddir/$item.tex |
44 fi | 44 fi |
45 done | 45 done |
46 | 46 |