upTeX, upLaTeX ― unicode version of pTeX, pLaTeX

Updated at 15 Jan 2017
[ Japanese ] [ Obsolete Versions ]


I am developing a Unicode version of ASCII pTeX (a Japanese-localized TeX). I named it `upTeX', `upLaTeX'.
The character encoding for input and output is UTF-8. The upTeX treats codepoints under U+FFFF (BMP) as Hanzi,Kanji,Hanja/Kana/CJK symbol/Hangul (漢字,汉字,한자/仮名/CJK記号/한글), and those over U+FFFF and under U+10FFFF (up to the maximum of Unicode) as Hanzi,Kanji,Hanja (漢字,汉字,한자).
It can treat original LaTeX with \inputenc{utf8} and Babel (Latin/Cyrillic/Greek etc.) by switching \kcatcode. Moreover, it can also treat Chinese simplified, Chinese traditional, Japanese, and Korean simultaneously.

This package has been developed on Tsuchimura-san's ptetex3, UTF-8対応(3), UTF-8対応(4), UTF-8対応(5) and now is based on TeX Live svn. I thank Tsuchimura-san and TeX Live maintainers.



uptex-1.22-20170115a.tar.xz: Archive [md5sum], Document (in Japanese), ChangeLog (2017.01.15)
convbkmk.rb Ver.0.10a [md5sum] (2014.12.29)
CMap UTF8-UTF16 (Ver.1.003) [md5sum] (2016.12.28)
upLaTeX extension of otfbeta v1.7b6 (Ver.0.17) [md5sum] (2015.04.10)
upmendex Ver.0.51 [md5sum] Document (2016.06.19)
The upTeX is included in TeX Live 2012 or later thanks to many contributors.
The upTeX for Windows is included in W32TeX thanks to Kakuto-san.


(1) upLaTeX input, dvipdfmx output(pdf) (upLaTeX, Japanese, vertical writing)
(2) upTeX input, dvipdfmx output(pdf) (plain upTeX, Chinese)
(3) upLaTeX input, dvipdfmx output(pdf) (upLaTeX, Chinese, vertical writing)
(4a) upLaTeX input, dvipdfmx output(pdf) (upLaTeX+hyperref, misc test)
(4b) upLaTeX input, dvipdfmx output(pdf) (upLaTeX+hyperref, over BMP, set3)
(5a) upLaTeX input, dvipdfmx output(pdf) (upLaTeX, babel+CJK)
(5b) upLaTeX input, dvipdfmx output(pdf) (upLaTeX, babel(greek)+Japanese)
(6a) upTeX input, dvipdfmx output(pdf) (upTeX, Adobe-Japan1-6)
(6b) upTeX input, dvipdfmx output(pdf) (upTeX, Adobe-GB1-5)
(6c) upTeX input, dvipdfmx output(pdf) (upTeX, Adobe-CNS1-5)
(6d) upTeX input, dvipdfmx output(pdf) (upTeX, Adobe-Korea1-2)
(6e) upLaTeX input dvipdfmx output(pdf) (upLaTeX+otf package, Adobe-Japan1-5)
(6f) upLaTeX input dvipdfmx output(pdf) (upLaTeX+otf package, Adobe-GB1-5)
(6g) upLaTeX input dvipdfmx output(pdf) (upLaTeX+otf package, Adobe-CNS1-5)
(6h) upLaTeX input dvipdfmx output(pdf) (upLaTeX+otf package, Adobe-Korea1-2)
(7) jmpost input, dvipdfmx output(pdf) (jmpost+upLaTeX)
(8a) upLaTeX input, dvipdfmx output(pdf) (upLaTeX+utf package)
(8b) upLaTeX input, dvipdfmx output(pdf) (upLaTeX+otf package)
# CJK fonts are not embeded in the pdf files. It requires pdf viewer that can treat Adobe-Japan1-6, Adobe-GB1-5, Adobe-CNS1-5, and Adobe-Korea1-2.


Stable version. No warranty.

Change Log

2007/03/08 Ver.0.02 First published version.
2007/03/18 Ver.0.03 Automatic install script; jmpost now works.
2007/03/25 Ver.0.04 Syncronize to ptexenc.
2007/04/08 Ver.0.05 Improve newline in log, aux; simple support of jsclasses.
2007/04/15 Ver.0.06 Add \enablecjktoken, \disablecjktoken.
2007/05/13 Ver.0.07 Change internal token from charcode to kcatcode+charcode.
2007/05/28 Ver.0.08 Simple support of the utf/otf package; auto installation of cm-super; improve \char, \chardef.
2007/06/16 Ver.0.09 Auto installation of cbfonts, unicode package.
2007/07/28 Ver.0.10 Improve \char, \chardef; add \kchar, \kchardef; improve jbibtex.
2007/08/07 Ver.0.11 Bug fix on jcharwidowpenalty; slim up vf.
2007/08/25 Ver.0.12 Bug fix on multibyte length; fix JIS to Unicode conversion; improve newline after Hangul.
2007/09/15 Ver.0.13 Replace standard font from umin10.tfm to ujis.tfm; add {uj,ut}{book,report}.cls.
2007/09/25 Ver.0.14 Add an english readme file.
2007/10/18 Ver.0.15 Update upLaTeX based on the newest pLaTeX. \CIDC, \UTFT etc. in the otf package now works.
2007/11/10 Ver.0.16 Replace standard fonts to new square shaped fonts. Add Chinese/Korean Sans Serif fonts.
2007/11/17 Ver.0.17 Revise standard fonts.
2007/12/08 Ver.0.18 Revise standard fonts to support halfwidth katakana.
2007/12/26 Ver.0.19 Improve treatment of halfwidth katakana. Add \forcecjktoken
2008/01/12 Ver.0.20 Add prefix "up" to some command names with patches: upjbibtex, upjmpost etc.
2008/03/13 Ver.0.21 Bug fix on \uppercase, \lowercase. Save memories on xdvi, dvips, dvipdfmx.
2008/08/03 Ver.0.22 Revise fonts to aviod probrem with DVIOUT.
2008/09/04 Ver.0.23 Add updvi2tty: dvi2tty with uptex support.
2008/10/17 Ver.0.24 Add base fonts for otf package with upLaTeX.
2008/12/13 Ver.0.25 Update base fonts for otf package with upLaTeX.
2009/02/21 Ver.0.26 Auto installation of e-pTeX, e-upTeX. Include jsclasses with upLaTeX patch.
2009/03/12 Ver.0.27 Auto installation of e-pTeX, e-upTeX with FAM256-patch.
2009/08/23 Ver.0.28 Add convbkmk.rb: a new ruby script making bookmark with dvips.
2010/01/31 Ver.0.29 Update Unicode blocks.
2010/04/10 Ver.0.30 Support CJK Ideograph Extension C in Chinese traditional fonts.
2011/05/02 [convbkmk.rb] Ver.0.01 Fix bug on BOM.
2011/05/07 [uptex-texmf-20110507a.tar.xz] Package texmf tree.
2011/11/20 [dvi2tty_uptex20111120.patch.xz] Release a patch for dvi2tty-5.3.4 in TeXLive svn to support upTeX.
2011/12/17 [omegaware_uptex20111217.patch.xz] Release a patch for ovp2ovf, ovf2ovp (WEB version) in TeXLive svn to support upTeX.
2012/01/02 [otfbeta-uptex-0.07.tar.xz] Release upLaTeX extension of otfbeta v1.7b3.
2012/01/15 upTeX Ver.1.00: TeXLive svn base. Support CJK Ideograph Extension C,D in Japanese fonts.
2012/01/22 [otfbeta-uptex-0.08.tar.xz] Fix bug of upLaTeX extension of otfbeta v1.7b3. Improve halfwidth katakana.
2012/02/18 [otfbeta-uptex-0.09.tar.xz] upLaTeX extension of otfbeta v1.7b4. Add characters on supplementary planes into base vf fonts and macros \UTF{}, \UTFT{}, \UTFC{}, and \UTFM{}.
2012/04/21 [otfbeta-uptex-0.10.tar.xz] upLaTeX extension of otfbeta v1.7b5. Support burasage option on upLaTeX.
2012/04/29 upTeX Ver.1.10: Support Unicode 6.1.0.
2012/05/08 [convbkmk.rb] Ver.0.02 Fix bug for a case of dvips with -z option and Ruby1.8. Add conversion of /Creator and /Producer.
2012/05/12 [convbkmk.rb] Ver.0.03 Suppress halfwidth -> fullwidth katakana conversion and MIME decoding in Ruby1.8.
2012/05/19 [CMap UTF8-UTF16] Ver.1.000 New. Support supplementary plane in bookmark with dvipdfmx.
2012/06/01 [convbkmk.rb] Ver.0.04 Support escape sequences i.e. \ddd, \0xUUUU.
2012/07/09 [otfbeta-uptex-0.11.tar.xz] upLaTeX extension of otfbeta v1.7b5. Support characters on supplementary planes when \UTF{} etc. are used with hyperref package.
2012/07/26 [convbkmk.rb] Ver.0.05 Support conversion of *.out files generated by dvipdfmx.
2012/08/07 [convbkmk.rb] Ver.0.06 Fix bug that Ver.0.05 does not work with Ruby1.9.
2012/09/17 [convbkmk.rb] Ver.0.07 Fix bug that an infinite loop sometimes occurs with -g option.
2012/09/21 upTeX Ver.1.11: Support T1,TS1,OT2,T2A,T2B,T2C,X2 encodings in dvi2tty-5.4.0.
2013/05/11 [convbkmk.rb] Ver.0.08 New -O option for overwrite output files onto input files.
2013/06/02 [otfbeta-uptex-0.12.tar.xz] upLaTeX extension of otfbeta v1.7b5. Support Gothic/ExtraBold, jis2004 option.
2013/11/23 [otfbeta-uptex-0.13.tar.xz] upLaTeX extension of otfbeta v1.7b6. Support scale option.
2014/03/02 [convbkmk.rb] Ver.0.09 Fix bug that conversion was not complete in some cases.
2014/03/08 [convbkmk.rb] Ver.0.10 Fix bug that output of binary data might be broken in filter mode on Windows.
2014/03/22 [otfbeta-uptex-0.14.tar.xz] upLaTeX extension of otfbeta v1.7b6. Support proportional kana.
2014/03/28 [otfbeta-uptex-0.15.tar.xz] upLaTeX extension of otfbeta v1.7b6. Apply again update of otf.sty in v1.7b5.
2014/05/10 [mendexk-utf8-patch-20140510a.tar.xz] New patch for mendexk: switching internal buffer in EUC or UTF-8.
2014/07/27 [otfbeta-uptex-0.16.tar.xz] upLaTeX extension of otfbeta v1.7b6. Fix bug on extrabold.
2014/10/03 [CMap UTF8-UTF16] Ver.1.001 Support new block in Unicode-7.0.0.
2012/12/29 upTeX Ver.1.20: Support Unicode 7.0.0.
2014/12/29 [convbkmk.rb] Ver.0.10a Update the author's adress and web site.
2015/01/24 [upmendex] upmendex Ver.0.01 Unicode version of mendex. New.
2015/04/10 [otfbeta-uptex-0.17.tar.xz] upLaTeX extension of otfbeta v1.7b6. Fix bug on ruby.
2015/05/17 [upmendex] Ver.0.02 Support Korean (Hangul).
2015/08/08 [upmendex] Ver.0.03 Support diacritical marks (Latin, Greek, Cyrillic).
2015/08/23 [upmendex] Ver.0.04 Support digraphs and trigraphs (Latin scripts).
2015/09/27 [upmendex] Ver.0.05 Support Chinese/Japanese/Korean Hanzi/Kanzi/Hanja ideographs (Han scripts).
2015/10/10 [upmendex] Ver.0.06 Support Turkish dotted/dotless I/i.
2016/01/31 [upmendex] Ver.0.50 Beta version. Add style options (icu_rules, icu_attributes).
2016/02/13 [CMap UTF8-UTF16] Ver.1.002 Support new block in Unicode-8.0.0.
2016/02/20 upTeX Ver.1.21: Support Unicode 8.0.0. Support CJK Ideograph Extension E in Chinese Traditional fonts.
2016/06/19 [upmendex] Ver.0.51 Fix bug on style option (hanzi_head).
2016/12/28 [CMap UTF8-UTF16] Ver.1.003 Support new block in Unicode-9.0.0.
2017/01/15 upTeX Ver.1.22: Support Unicode 9.0.0. Fix bug of upbibtex on "substring$".

Obsolete versions

Here are obsolete versions.


JIS-Unicode conversion table for pTeX/upTeX (2013/02/24)
"upTeX—Unicode version of pTeX with CJK extensions" TUGboat 34:3 2013

Links (out of my site)

Thank the site administrators
TeX Live TeX Live home, TeX Live and Subversion TeXLive subversion repository.
ptetex3 Tuchimura-san.
W32TeX Kakuto san. It includes upTeX for Windows.
電脳世界の奥底にて ZR san. It consists of some packages and documents i.e. upLaTeXを使おう
e-pTeXについてのwiki Kitagawa san. e-TeX extension of pTeX and upTeX.
upTeX on Debian Khoda san.
JIS X 0212 Characters for pTeX Ogawa san. Mac version.

$Lastupdate: Mon Jan 16 00:11:38 2017 $