Monday, August 8, 2011

How to convert texinfo into docbook (xml) into latex into (Korean) pdf

1. texinfo.texi -> texinfo.xml
$ makeinfo --docbook --ifdocbook texinfo.texi

2. texinfo.xml -> texinfo.tex
$ dblatex texinfo.xml -t tex

3. Edit texinfo.tex to include koTeX

\usepackage[utf8]{inputenc}
\usepackage{kotex}

4. texinfo.tex -> texinfo.pdf
$ pdflatex texinfo.tex; pdflatex texinfo.tex

No comments:

Post a Comment