ptex - Man Page

Japanese "Publishing TeX"

Synopsis

ptex [options] [&format] [file|\commands]

Description

pT E X (ptex) is a T E X engine with extensions for Japanese typesetting, including features related to line breaking rules, inter-character spacing and vertical writing. It was first developed by ASCII Corporation, in the aim of providing a Japanese T E X which can be used for commercial publishing. For pT E X, the character set available is limited to JIS X 0208, namely JIS level-1 and level-2.

upT E X (uptex) is a Unicode-enabled pT E X with extensions for better handling of CJK (Chinese, Japanese and Korean) multilingual documents. It has been developed by Takuji Tanaka since 2007.

e-pT E X (eptex) is a merge of e-T E X and pT E X.

e-upT E X (euptex) is a merge of e-T E X and upT E X.

In the following sections, we refer to these engines as (e-)(u)pT E X.

(e-)(u)pT E X's handling of its command-line arguments is similar to that of the other T E X programs in the web2c implementation.

Options

Here we list only additions/deletions of command line options which are specific to (e-)(u)pT E X. For (u)pT E X, other options are similar to T E X. For e-(u)pT E X, other options are similar to e-T E X.

Additions (supported by ptexenc library):
-kanji string

Sets the input Japanese Kanji code.  The string can be either euc (EUC-JP), jis (ISO-2022-JP), sjis (Shift_JIS), and utf8 (UTF-8). For (e-)upT E X, uptex is also allowed.

-kanji-internal string

Sets the internal Kanji code.  The string can be either euc, and sjis. For (e-)upT E X, uptex is also allowed.

Deletions:
-enc

In this version of (e-)(u)pT E X, encT E X extensions are not available.

See Also

tex(1), etex(1).
Reference manual: <https://github.com/texjporg/ptex-manual>

Authors

This version of (e-)(u)pT E X is maintained by Japanese T E X Development Community <https://texjp.org>. For bug reports, open an issue at GitHub repository <https://github.com/texjporg/tex-jp-build>, or send an e-mail to <issue@texjp.org>.

This manual page was written by Hironobu Yamashita.

Referenced By

latex(1), pbibtex(1), ppltotf(1), ptekf(1), ptftopl(1).

The man pages eptex(1), euptex(1) and uptex(1) are aliases of ptex(1).

08 August 2021 Web2C 2025