1PTEX(1) General Commands Manual PTEX(1)
2
3
4
6 ptex, uptex, eptex, euptex - Japanese "Publishing TeX"
7
9 ptex [options] [&format] [file|\commands]
10
12 pTeX (ptex) is a TeX engine with extensions for Japanese typesetting,
13 including features related to line breaking rules, inter-character
14 spacing and vertical writing. It was first developed by ASCII Corpora‐
15 tion, in the aim of providing a Japanese TeX which can be used for com‐
16 mercial publishing. For pTeX, the character set available is limited to
17 JIS X 0208, namely JIS level-1 and level-2.
18
19 upTeX (uptex) is a Unicode-enabled pTeX with extensions for better han‐
20 dling of CJK (Chinese, Japanese and Korean) multilingual documents. It
21 has been developed by Takuji Tanaka since 2007.
22
23 e-pTeX (eptex) is a merge of e-TeX and pTeX.
24
25 e-upTeX (euptex) is a merge of e-TeX and upTeX.
26
27 In the following sections, we refer to these engines as (e-)(u)pTeX.
28
29 (e-)(u)pTeX's handling of its command-line arguments is similar to that
30 of the other TeX programs in the web2c implementation.
31
33 Here we list only additions/deletions of command line options which are
34 specific to (e-)(u)pTeX. For (u)pTeX, other options are similar to TeX.
35 For e-(u)pTeX, other options are similar to e-TeX.
36
37 Additions (supported by ptexenc library):
38
39 -kanji string
40 Sets the input Japanese Kanji code. The string can be either
41 euc (EUC-JP), jis (ISO-2022-JP), sjis (Shift_JIS), and
42 utf8 (UTF-8). For (e-)upTeX, uptex is also allowed.
43
44 -kanji-internal string
45 Sets the internal Kanji code. The string can be either euc, and
46 sjis. For (e-)upTeX, uptex is also allowed.
47
48 Deletions:
49
50 -enc In this version of (e-)(u)pTeX, encTeX extensions are not avail‐
51 able.
52
54 tex(1), etex(1).
55 Reference manual: <https://github.com/texjporg/ptex-manual>
56
58 This version of (e-)(u)pTeX is maintained by Japanese TeX Development
59 Community <https://texjp.org>. For bug reports, open an issue at
60 GitHub repository <https://github.com/texjporg/tex-jp-build>, or send
61 an e-mail to <issue@texjp.org>.
62
63 This manual page was written by Hironobu Yamashita.
64
65
66
67Web2C 2022 08 August 2021 PTEX(1)