Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate HTML pages in UTF-8. #11

Merged
merged 3 commits into from
Apr 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/en/html/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ EpsFromPng = images/toolbar1.eps images/toolbar2.eps images/iconTypeset.eps imag

IMAGES = $(Logos) $(EpsFromPdf) $(EpsFromPng)

HTOPTS = "manual,info,2,sec-filename,next,index=2,url-enc" "" "-S*"
HTOPTS = "manual,info,2,sec-filename,next,index=2,url-enc,charset=utf-8" " -cmozhtf -utf8" "-S*"

# Ghostscript 9.14/9.15 dropped the 'epswrite' output device in favor of the new
# 'eps2write' output device. Prefer the latter, but fallback to the former for
Expand All @@ -23,7 +23,7 @@ SOURCES = index.tex $(filter-out manual.tex,$(subst ../,,$(wildcard ../*.tex ../

html : index.html

index.html : $(IMAGES) $(SOURCES) index.ind manual.cfg tex4ht.env
index.html : $(IMAGES) $(SOURCES) index.ind manual.cfg
@htlatex index $(HTOPTS)
@htlatex index $(HTOPTS)

Expand Down Expand Up @@ -60,7 +60,7 @@ images/%.eps : ../images/%.png
@convert "$<" "$@" $(SUPRESSOUT) 2$(SUPRESSOUT) || convert "$<" ppm:- | pnmtops -noturn | eps2eps - "$@"


index.ind : images $(SOURCES) manual.cfg tex4ht.env
index.ind : images $(SOURCES) manual.cfg
@echo "Creating index..."
@echo " running htlatex..."
@htlatex index $(HTOPTS)
Expand All @@ -74,7 +74,7 @@ clean :
rm -f index.4ct index.4tc index.dvi index.idv index.idx index.lg index.log index.out index.tmp index.xref index.4dx index.4ix index.ilg index.ind

dist-clean : clean
rm -f *.html index.css
rm -f *.html index.css index*png
rm -rf images/

dist : dist-html
Expand Down
6 changes: 0 additions & 6 deletions src/en/html/tex4ht.env

This file was deleted.

8 changes: 4 additions & 4 deletions src/fr/html/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ EpsFromJpg = images/rechremp.eps

IMAGES = $(Logos) $(EpsFromPdf) $(EpsFromPng) ${EpsFromJpg}

HTOPTS = "manual,info,2,sec-filename,next,index=2,url-enc" "" "-S*"
HTOPTS = "manual,info,2,sec-filename,next,index=2,url-enc,charset=utf-8" " -cmozhtf -utf8" "-S*"

# Ghostscript 9.14/9.15 dropped the 'epswrite' output device in favor of the new
# 'eps2write' output device. Prefer the latter, but fallback to the former for
Expand All @@ -24,7 +24,7 @@ SOURCES = index.tex $(filter-out manuel.tex,$(subst ../,,$(wildcard ../*.tex ../

html : index.html

index.html : $(IMAGES) $(SOURCES) index.ind manual.cfg tex4ht.env
index.html : $(IMAGES) $(SOURCES) index.ind manual.cfg
@htlatex index $(HTOPTS)
@htlatex index $(HTOPTS)

Expand Down Expand Up @@ -66,7 +66,7 @@ images/%.eps : ../images/%.jpg
@convert "$<" "$@" $(SUPRESSOUT) 2$(SUPRESSOUT) || convert "$<" ppm:- | pnmtops -noturn | eps2eps - "$@"


index.ind : images $(SOURCES) manual.cfg tex4ht.env
index.ind : images $(SOURCES) manual.cfg
@echo "Creating index..."
@echo " running htlatex..."
@htlatex index $(HTOPTS)
Expand All @@ -80,7 +80,7 @@ clean :
rm -f index.4ct index.4tc index.dvi index.idv index.idx index.lg index.log index.out index.tmp index.xref index.4dx index.4ix index.ilg index.ind

dist-clean : clean
rm -f *.html index.css
rm -f *.html index.css index*png
rm -rf images/

dist : dist-html
Expand Down
6 changes: 0 additions & 6 deletions src/fr/html/tex4ht.env

This file was deleted.