Switch from txt2tags to using pandoc with Markdown (Pandoc flavour) input.
This commit is contained in:
parent
fcc48a7a58
commit
07e6191f9c
|
@ -1,6 +1,3 @@
|
|||
This is a txt2tags input file.
|
||||
The first 3 lines are headers, and are ignored.
|
||||
|
||||
This book is for tunes that are not part of the regular
|
||||
Havoc session or dance repertoire.
|
||||
|
|
@ -1,6 +1,3 @@
|
|||
This is a txt2tags input file.
|
||||
The first 3 lines are headers, and are ignored.
|
||||
|
||||
This book provides the dots for the music to all the dances
|
||||
performed by Cry Havoc. The name of the dance is given as the tune title.
|
||||
If the name of the tune differs from the name of the dance, the tune
|
|
@ -1,6 +1,3 @@
|
|||
This is a txt2tags input file.
|
||||
The first 3 lines are headers, and are ignored.
|
||||
|
||||
This book provides the dots for the tunes commonly played at Cry Havoc
|
||||
music sessions.
|
||||
|
|
@ -37,8 +37,8 @@ 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
|
||||
if [ -r $booke/$item.md ]; then
|
||||
pandoc --from=markdown --to=latex --output=$builddir/$item.tex $booke/$item.md
|
||||
else
|
||||
touch $builddir/$item.tex
|
||||
fi
|
||||
|
|
|
@ -86,8 +86,8 @@ sed -e "s/@BUILD@/$buildno/" -e "s/@SUBTITLE@/$subtitle/" \
|
|||
for item in intro
|
||||
do
|
||||
rm -f $webdir/$item.html
|
||||
if [ -r $booke/$item.txt ]; then
|
||||
txt2tags --no-headers --target=html --outfile=$webdir/$item.html $booke/$item.txt
|
||||
if [ -r $booke/$item.md ]; then
|
||||
pandoc --from=markdown --to=html --output=$webdir/$item.html $booke/$item.md
|
||||
else
|
||||
touch $webdir/$item.html
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue