Mercurial > dottes
diff 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 |
line wrap: on
line diff
--- a/makeBooke.sh Sat Oct 29 19:32:53 2016 +0100 +++ b/makeBooke.sh Sat Oct 29 21:51:59 2016 +0100 @@ -37,8 +37,8 @@ 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 + if [ -r $booke/$item.md ]; then + pandoc --from=markdown --to=latex --output=$builddir/$item.tex $booke/$item.md else touch $builddir/$item.tex fi