Menu
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/macros/latex/contrib/pxcjkcat

PXcjkcat package

A LaTeX package to provide LaTeX interface for manipulating the
CJK category code ('kcatcode') table of upTeX, which determines the
behavior of Unicode (non-ASCII) characters in source files.

1. Overview

The upTeX engine is an extention to the TeX engine and is developed by
Takuji TANAKA since 2007. This extension mainly aims in providing
better Unicode support to the pTeX engine, which has long been the
de facto standard of the TeX engine in Japan. The upTeX engine inherits
the basic architecture of pTeX, and only Japanese processing (which is
already on multi-byte basis in pTeX) is lift to the full Unicode range,
and non-Japanese processing remains on 8-bit basis (just like tra
original TeX engine). Thus one can typeset UTF-8 encoded documents that
contain all kinds of Unicode letters with use of upTeX accompanied with
the standard techniques for handling UTF-8 letters in the traditional
8-bit TeX engines (such as pdfTeX). The advantage of upTeX is the
ability of high-quality Japanese typesetting, which is fully inherited
from pTeX and is still lacking or at least on development in modern
Unicode-aware engines such as XeTeX and LuaTeX.

Since upTeX could treat all the Unicode letters either as non-CJK or
CJK letter, it has the mechanism (called "kcatcode table") for
specifying which letters should be treated as CJK. The pxcjkcat package
provides a concise and user-friendly LaTeX interface to the mechanism.

2. Installation

In the distribution in conformance with TDS 1.1:

  - *.sty -> $TEXMF/tex/platex/PXcjkcat/

3. (Very) Basic Usage

Unfortunately the full-fledged manual comes only in Japanese. Here
the most basic usage is described.

If your document is mainly in English (or some other Western language)
and has sporadic occurrences of Japanese words/phrases, then put the
following lines in the preamble:

  \usepackage[prefernoncjk]{pxcjkcat}
  \usepackage[utf8]{inputenc} % or utf8x if needed

If your document is mainly in Japanese, then put the following lines
in the preamble:

  \usepackage[prefercjkvar]{pxcjkcat}
  \usepackage[utf8]{inputenc} % or utf8x if needed

The former setting treats the "CJK-ambiguous" punctuation symbols as
non-CJK letters, while the latter as CJK letters. Of course, your
document must in encoded in UTF-8.

4. License

This package is distributed under the MIT License. See the file LICENSE
for more detail.

----------------------------------------
Takayuki YATO (aka. "ZR") <zrbabbler@yahoo.co.jp>

Files

Name Size Date Notes
LICENSE 1291 2012-09-22 07:34:14
README 2493 2012-09-22 10:00:54
README-ja 28614 2012-09-22 07:39:20
pxcjkcat.sty 18480 2012-09-22 09:08:32

Down­load the con­tents of this pack­age in one zip archive (17.3k).

px­cjk­cat – LaTeX in­ter­face for the CJK cat­e­gory codes of upTeX

The pack­age pro­vides man­age­ment of the CJK cat­e­gory code (‘kcat­code’> ta­ble of the upTeX ex­tended TeX en­gine.

Pack­age op­tions are avail­able for tai­lored use in the cases of doc­u­ments that are prin­ci­pally writ­ten in Ja­panese, or prin­ci­pally writ­ten in English or other Western lan­guages.

Doc­u­men­ta­tion
Ver­sion1.0
Li­censeFree li­cense not oth­er­wise listed, or more than one free li­cense ap­plies
Main­tainerTakayuki Yato
Con­tained inTeXlive as px­cjk­cat
MikTeX as px­cjk­cat
Topics sup­port for type­set­ting Ja­panese
sup­port for more than one (nat­u­ral) lan­guage
Guest Book Sitemap Contact 2014-04-24 18:22 CEST