From: Osamu Aoki <[EMAIL PROTECTED]> > > I'm getting the maint-guide package and see how it is made. > The build script s simple and straightforward. It does not have extras > like index generation which Jens did for debian-reference.
Ah, I was wrong: with "infile" and "outfile" you probably mean to use "<" and ">", right? Ok. Anyway, I have the added the following lines in maint-guide's Makefile and it solves the zh_TW guide. | $(MANUAL).en.ps: $(MANUAL).sgml | debiandoc2latexps -l en $< | mv $(MANUAL).ps $(MANUAL).en.ps $(MANUAL).zh_TW.ps: $(MANUAL).zh_TW.sgml debiandoc2latex -l zh_TW $< | perl -p \ -e 's/([\x80-\xff])\\textbackslash\{\}/$1\\/g;' \ -e 's/([\x80-\xff])\\textasciitilde\{\}/$1\~/g;' \ -e 's/([\x80-\xff])\\textasciicircum\{\}/$1\^/g;' \ -e 's/([\x80-\xff])\\\}/$1\}/g;' \ -e 's/([\x80-\xff])\\\{/$1\{/g;' \ -e 's/([\x80-\xff])\\\_/$1_/g;' | bg5conv > $(MANUAL).zh_TW.tex latex $(MANUAL).zh_TW.tex dvips $(MANUAL).zh_TW.dvi and | $(MANUAL).en.pdf: $(MANUAL).sgml | debiandoc2latexpdf -l en $< | mv $(MANUAL).pdf $(MANUAL).en.pdf $(MANUAL).zh_TW.pdf: $(MANUAL).zh_TW.sgml debiandoc2latex -l zh_TW $< | perl -p \ -e 's/([\x80-\xff])\\textbackslash\{\}/$1\\/g;' \ -e 's/([\x80-\xff])\\textasciitilde\{\}/$1\~/g;' \ -e 's/([\x80-\xff])\\textasciicircum\{\}/$1\^/g;' \ -e 's/([\x80-\xff])\\\}/$1\}/g;' \ -e 's/([\x80-\xff])\\\{/$1\{/g;' \ -e 's/([\x80-\xff])\\\_/$1_/g;' | bg5conv > $(MANUAL).zh_TW.tex pdflatex $(MANUAL).zh_TW.tex Now we have to find a way to use the fixlatex script instead. Cheers! Danai SAE-HAN 韓達耐 -- 題目:《春日》 作者:程顥(1032-1085) 云淡風輕近午天,傍花隨柳過前川。 時人不識余心樂,將謂偷閑學少年。