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
|
This book is for tunes that are not part of the regular
|
||||||
Havoc session or dance repertoire.
|
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
|
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.
|
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
|
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
|
This book provides the dots for the tunes commonly played at Cry Havoc
|
||||||
music sessions.
|
music sessions.
|
||||||
|
|
|
@ -37,8 +37,8 @@ done
|
||||||
for item in intro
|
for item in intro
|
||||||
do
|
do
|
||||||
rm -f $builddir/$item.tex
|
rm -f $builddir/$item.tex
|
||||||
if [ -r $booke/$item.txt ]; then
|
if [ -r $booke/$item.md ]; then
|
||||||
txt2tags --no-headers --target=tex --outfile=$builddir/$item.tex $booke/$item.txt
|
pandoc --from=markdown --to=latex --output=$builddir/$item.tex $booke/$item.md
|
||||||
else
|
else
|
||||||
touch $builddir/$item.tex
|
touch $builddir/$item.tex
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -86,8 +86,8 @@ sed -e "s/@BUILD@/$buildno/" -e "s/@SUBTITLE@/$subtitle/" \
|
||||||
for item in intro
|
for item in intro
|
||||||
do
|
do
|
||||||
rm -f $webdir/$item.html
|
rm -f $webdir/$item.html
|
||||||
if [ -r $booke/$item.txt ]; then
|
if [ -r $booke/$item.md ]; then
|
||||||
txt2tags --no-headers --target=html --outfile=$webdir/$item.html $booke/$item.txt
|
pandoc --from=markdown --to=html --output=$webdir/$item.html $booke/$item.md
|
||||||
else
|
else
|
||||||
touch $webdir/$item.html
|
touch $webdir/$item.html
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue