| 1 |
//=========\\ |
| 2 |
|| ptexenc || |
| 3 |
\\=========// |
| 4 |
|
| 5 |
1. What is `ptexenc'? |
| 6 |
|
| 7 |
`ptexenc' is a useful library for Japanese pTeX |
| 8 |
(which stands for publishing TeX, and is an extension of |
| 9 |
TeX by ASCII Co.) and its surrounding tools. |
| 10 |
`ptexenc' provides a better way of handling character encodings. |
| 11 |
|
| 12 |
`ptexenc' is not an official product of ASCII Co., |
| 13 |
so pTeX and other tools need some patches to make use of it. |
| 14 |
Some patches are included within this archive. |
| 15 |
|
| 16 |
`ptexenc' was derived from pTeX first, |
| 17 |
and then added some extensions by N. Tsuchimura |
| 18 |
with help of T. Tanaka. |
| 19 |
Its license is modified BSD (same as pTeX). |
| 20 |
|
| 21 |
------------------------------------------------------------ |
| 22 |
|
| 23 |
2. Outline |
| 24 |
|
| 25 |
Typically, we need TeX Live 2008 to install `ptexenc.' |
| 26 |
`ptexenc' depends on kpathsea and the directory structure |
| 27 |
of TeX Live 2008. |
| 28 |
|
| 29 |
As `ptexenc' is a mere library, |
| 30 |
application users will not be conscious of it, |
| 31 |
but software developers will be blessed with it. |
| 32 |
It's because they can simplify the sources |
| 33 |
with separating the character coding operation. |
| 34 |
However, many applications do not have `ptexenc' support now, |
| 35 |
we supply patches to the following software as examples: |
| 36 |
-- ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/tetex/ptex-src-3.1.11.tar.gz |
| 37 |
-- ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/mendex/mendexk2.6f.tar.gz |
| 38 |
-- ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/jvf/makejvf-1.1a.tar.gz |
| 39 |
(Note: Some of them are distributed via CTAN, |
| 40 |
but the CTAN version tends to be old.) |
| 41 |
|
| 42 |
The patches included in this archive provide `autoconf' |
| 43 |
support, too. This means that installation processes |
| 44 |
of those applications are unified, though the installation |
| 45 |
processes will differ from the originally documented ones. |
| 46 |
|
| 47 |
Note: Officially, pTeX stands on the basis of teTeX-3.0, |
| 48 |
but not on the basis of TeX Live 2008. We solve this problem, |
| 49 |
i.e., this archive includes a patch on pTeX which adapts |
| 50 |
pTeX to TeX Live 2008. |
| 51 |
|
| 52 |
------------------------------------------------------------ |
| 53 |
|
| 54 |
3. How to install |
| 55 |
|
| 56 |
(1) Extract `texlive-20080816-source.tar.lzma' of TeX Live 2008. |
| 57 |
|
| 58 |
(2) Extract ptexenc-*.tar.lzma and ptex-src-*.tar.gz, etc. |
| 59 |
Rename their directory names exactly as bellow. |
| 60 |
|
| 61 |
texk/ptexenc <= ptexenc-* |
| 62 |
texk/web2c/ptexdir <= ptex-src-* |
| 63 |
texk/mendexk <= mendexk* (optional) |
| 64 |
texk/makejvf <= makejvf-* (optional) |
| 65 |
|
| 66 |
(3) Excute "./ptexenc/patches/texlive2008.sh" in "texk" |
| 67 |
to apply patches under 'texk/ptexenc/patches' directory. |
| 68 |
The following patches will be applied. |
| 69 |
-- texlive2008-ptexenc.patch |
| 70 |
-- ptex-src-3.1.11-ptexenc.patch |
| 71 |
-- mendexk2.6f-ptexenc.patch |
| 72 |
-- makejvf-1.1a-ptexenc.patch |
| 73 |
(Note: jmpost-0.04b-ptexenc.patch doesn't work now.) |
| 74 |
|
| 75 |
(4) Excute "./Build" script as normal TeX Live 2008. |
| 76 |
|
| 77 |
(5) (optional) Specify your "nkf" command in the last line of |
| 78 |
"$TEXMF/web2c/texmf.cnf" to enable automatic encoding detection. |
| 79 |
|
| 80 |
(6) Extract ptex-texmf-*.tar.gz under $TEXMF. |
| 81 |
-- ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/tetex/ptex-texmf-2.5.tar.gz |
| 82 |
(Note: The current version of ptex-texmf-2.5.tar.gz contains |
| 83 |
an extra directory "ptex-texmf". This should be removed.) |
| 84 |
|
| 85 |
------------------------------------------------------------ |
| 86 |
|
| 87 |
4. Web sites |
| 88 |
|
| 89 |
'ptexenc' |
| 90 |
http://tutimura.ath.cx/~nob/tex/ptexlive/ |
| 91 |
http://tutimura.ath.cx/ptexlive/?ptexenc%2FDetails |
| 92 |
|
| 93 |
Japanese pTeX (ASCII MEDIA WORKS) |
| 94 |
http://ascii.asciimw.jp/pb/ptex/ |
| 95 |
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ |
| 96 |
|
| 97 |
pTeX and Japanese typesetting (by Prof. Okumura) |
| 98 |
http://oku.edu.mie-u.ac.jp/~okumura/texfaq/japanese/ptex.html |
| 99 |
|
| 100 |
------------------------------------------------------------ |