Skip to content

Commit 161b90b

Browse files
committed
manually set transparent to the images
1 parent b02e9c9 commit 161b90b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

doc/jlatex/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ html:
2727
rm -f ../html/jmanual*.
2828
TRANSPARENT_COLOR="#ffffff" charset="UTF-8" latex2html -dir ../html/ -transparent -local_icons -split +3 -auto_prefix -init_file ../latex/.latex2html-init -iso_language JP -html_version="4.0,unicode" jmanual
2929
(cd ../html; sed -i 's@"jmanual.css"@"manual.css"@' j*.html)
30+
(cd ../html; for imgfile in jmanual-img*.png; do pngtopnm $$imgfile > /tmp/$$imgfile.pnm; pnmtopng -transparent white /tmp/$$imgfile.pnm > $$imgfile; done)
3031

3132

3233

doc/latex/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ distclean: clean
2626
html:
2727
rm -f ../html/manual*.{old,html,png,pl} ../html/manual-images.*
2828
TRANSPARENT_COLOR="#ffffff" latex2html -dir ../html/ -transparent -local_icons -split +3 -auto_prefix -iso_language JP -html_version="4.0,unicode" manual
29+
(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)