bg5latex(1) Use LaTeX directly on a Big5 encoded .tex file


bg5latex file.tex
bg5pdflatex file.tex


This manual page briefly documents the different *latex batch files that come with the CJK LaTeX macro.

The *latex commands are shell scripts that will convert a (Big5(+), GBK or SJIS encoded) .tex file in a .cjk file using the respective *conv command resulting in a .cjk file, and will then run (pdf)latex on the .cjk file.

If you use Big5+ encoding, then use bg5+latex or bg5+pdflatex.

If you use CEF macro's in your Big5 or SJIS encoded file, use cef5latex or cefslatex resp. instead. If it's in plain ASCII, use ceflatex.

If you use GNU/Emacs (>=20), you don't have to use any of these commands: just put the Lisp file "cjk-enc.el" in Emacs' load-path, load the library "cjk-enc" and run "M-x cjk-write-file" to create a .cjk file. Then process the .cjk file with latex or pdflatex.


The *latex scripts are part of the CJK macro package for LaTeX 2e available at the CTAN hosts and its mirrors, and available for Debian under latex-cjk-chinese and latex-cjk-japanese.


The programs mentioned under NAME were written by Werner Lemberg <[email protected]>.

This manual page was written by Danai SAE-HAN <[email protected]> for the Debian project. It is licensed under the GNU General Public License version 2 or higher, of which you can find a copy online at or on Debian systems under /usr/share/common-licenses/GPL-2 (part of the "base-files" package).