# euptex(1) - man - phpman

[PTEX(1)](https://www.chedong.com/phpMan.php/man/PTEX/1/markdown)                                General Commands Manual                               [PTEX(1)](https://www.chedong.com/phpMan.php/man/PTEX/1/markdown)



## NAME
       ptex, uptex, eptex, euptex - Japanese "Publishing TeX"

## SYNOPSIS
       **ptex** [_options_] [**&**_format_] [_file_|**\**_commands_]

## DESCRIPTION
       pTeX  (**ptex**) is a TeX engine with extensions for Japanese typesetting, including features re‐
       lated to line breaking rules, inter-character spacing and vertical writing. It was first  de‐
       veloped  by  ASCII  Corporation, in the aim of providing a Japanese TeX which can be used for
       commercial publishing. For pTeX, the character set available is limited to JIS X 0208, namely
       JIS level-1 and level-2.

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

       e-pTeX (**eptex**) is a merge of e-TeX and pTeX.

       e-upTeX (**euptex**) is a merge of e-TeX and upTeX.

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

       (e-)(u)pTeX's handling of its command-line arguments is similar to that of the other TeX pro‐
       grams in the _web2c_ implementation.

## OPTIONS
       Here we list  only  additions/deletions  of  command  line  options  which  are  specific  to
       (e-)(u)pTeX.  For (u)pTeX, other options are similar to TeX. For e-(u)pTeX, other options are
       similar to e-TeX.

       Additions (supported by ptexenc library):

### -kanji
              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-)upTeX, _uptex_ is also
              allowed.

### -kanji-internal
              Sets the internal _Kanji_ code.  The string can be either _euc_, and _sjis_.  For (e-)upTeX,
              _uptex_ is also allowed.

       Deletions:

### -enc

## SEE ALSO
       [**tex**(1)](https://www.chedong.com/phpMan.php/man/tex/1/markdown), [**etex**(1)](https://www.chedong.com/phpMan.php/man/etex/1/markdown).

## AUTHORS
       This   version   of   (e-)(u)pTeX   is  maintained  by  Japanese  TeX  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.



Web2C 2022/dev                               27 May 2018                                     [PTEX(1)](https://www.chedong.com/phpMan.php/man/PTEX/1/markdown)
