mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 13:09:33 -06:00
+ Rename some txt2tags file from .txt to .t2t and remove abandoned .txt files. + Add program update_html that finds all .t2t documents and updates the corresponding .html file. It can be invoked with 'make html'. + Add style to some .html documents
24 lines
819 B
Makefile
24 lines
819 B
Makefile
resource:
|
|
gfdoc -txt2 ../lib/resource-1.0/abstract/*.gf
|
|
gfdoc -txt2 ../lib/resource-1.0/*/Paradigms*.gf
|
|
txt2tags --toc resource.txt
|
|
# cat resource-preamble resource.tex >final-resource.tex
|
|
sed -i 's/\\docum/%\\docum/g' resource.tex
|
|
sed -i 's/ion\*{/ion{/g' resource.tex
|
|
sed -i 's/\\paragraph{}//g' resource.tex
|
|
sed -i 's/}\\\\/}/g' resource.tex
|
|
cat resource-preamble resource.tex >resource.tmp
|
|
mv resource.tmp resource.tex
|
|
latex resource.tex
|
|
latex resource.tex
|
|
dvipdf resource.dvi
|
|
|
|
### Converting SVG logos to PNG, using convert from ImageMagick
|
|
logos:: Logos/gf00.png Logos/gf0.png
|
|
|
|
Logos/gf00.png: Logos/gf00.svg Makefile
|
|
convert -background 'rgba(255,255,255,0)' -size 264x216 -depth 8 $< $@
|
|
|
|
Logos/gf0.png: Logos/gf0.svg Makefile
|
|
convert -background 'rgba(255,255,255,0)' -size 320x240 -depth 8 $< $@
|