Skip to content

Commit dae9192

Browse files
committed
doc/{latex,jlatex}/Makefile: add link from html/fig -> latex/fig, which needs after we changed from -dir to -rootdir in latex2html
1 parent 6e26ea3 commit dae9192

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

doc/jlatex/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ html:
2727
rm -f ../html/jmanual*.
2828
for psfile in fig/*.ps; do ps2eps -f -B $$psfile; done
2929
sed -i.eps.bak s/\\.ps/\\.eps/g *.tex
30+
(cd ../html; ln -sf ../latex/fig .)
3031
TRANSPARENT_COLOR="#ffffff" charset="UTF-8" latex2html -rootdir ../html/ -transparent -local_icons -split +3 -auto_prefix -init_file ../latex/.latex2html-init -iso_language JP -address "This document was generated using the LaTeX2HTML translator on `date` from <a href=\"http://github.com/euslisp/EusLisp.git\">EusLisp</a> version <a href=\"http://github.com/euslisp/EusLisp/commit/`git rev-parse --verify HEAD`\">`git log -1 --oneline`</a>" -html_version="4.0,unicode" jmanual
3132
(cd ../html; sed -i 's@"jmanual.css"@"manual.css"@' j*.html)
3233
sed -i s@HREF=\"../jmanual@HREF=\"jmanual@ ../html/jmanual-node*.html
34+
rm ../html/fig
3335
for backup in *.eps.bak; do mv $$backup $$(basename $$backup .eps.bak); done
3436
#(cd ../html; for imgfile in jmanual-img*.png; do pngtopnm $$imgfile > /tmp/$$imgfile.pnm; pnmtopng -transparent white /tmp/$$imgfile.pnm > $$imgfile; done)
3537

doc/latex/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ html:
2727
rm -f ../html/manual*.{old,html,png,svg,pl} ../html/manual-images.*
2828
for psfile in fig/*.ps; do ps2eps -f -B $$psfile; done
2929
sed -i.eps.bak s/\\.ps/\\.eps/g *.tex
30+
(cd ../html; ln -sf ../latex/fig .)
3031
TRANSPARENT_COLOR="#ffffff" latex2html -rootdir ../html/ -transparent -local_icons -split +3 -auto_prefix -iso_language JP -address "This document was generated using the LaTeX2HTML translator on `date` from <a href=\"http://github.com/euslisp/EusLisp.git\">EusLisp</a> version <a href=\"http://github.com/euslisp/EusLisp/commit/`git rev-parse --verify HEAD`\">`git log -1 --oneline`</a>" -html_version="4.0,unicode" manual
32+
rm ../html/fig
3133
for backup in *.eps.bak; do mv $$backup $$(basename $$backup .eps.bak); done
3234
sed -i s@HREF=\"../manual@HREF=\"manual@ ../html/manual-node*.html
3335
#(cd ../html; for imgfile in manual-img*.png; do pngtopnm $$imgfile > /tmp/$$imgfile.pnm; pnmtopng -transparent white /tmp/$$imgfile.pnm > $$imgfile; done)

0 commit comments

Comments
 (0)