Thread View: comp.text.tex
1 messages
1 total messages
Started by lemberg
Mon, 23 Sep 1996 00:00
ANNOUNCEMENT: CJK 4.0.0 [Chin/Jap/Kor for LaTeX2e]
Author: lemberg
Date: Mon, 23 Sep 1996 00:00
Date: Mon, 23 Sep 1996 00:00
216 lines
10373 bytes
10373 bytes
I've just uploaded the latest CJK version to ftp.dante.de . It will be
soon available also on ftp.tex.ac.uk and the other CTAN mirrors in the
following directory:
tex-archive/language/chinese/CJK
Below you find the release notes of this version
Happy TeXing
Werner
[CJK is a macro package which enables the use of Chinese/Japanese/Korean
with LaTeX2e. It supports various encodings, e.g. GB, JIS, Big 5, CNS,
Unicode.]
=========================================================================
Version 4.0.0: new:
20-Sep-1996 I did the final step. All CJK encodings now have all
NFSS attributes, namely family, series, and shape
(represented by \CJK@family, \CJK@series, and
\CJK@shape). \CJK@family will be set by entering a CJK
environment in the same way as it was done in former
versions of this package. \CJK@series and \CJK@shape
will (usually) be controlled by the standard NFSS
commands (e.g. \slshape, \textbf etc.)
To achieve this it was necessary to define (NFSS)
font encodings for the CJK package. All CJK font
encodings map to NFSS font encodings which start with
the letter `C', followed by two digits. Here is a
table:
Chinese: Bg5 C00
Bg5pmC C01
GB C10
GBpmC C11
GBt C20
GBtpmC C21
CNS1-7 C31-37
Japanese: JIS C40
JISpmC C41
JISdnp C42
JISwn C43
JIS2 C50
SJIS -> kana C49
(additionally)
Korean: KS -> hanja C60
-> hangul C61
KSpmC C62
KSHL -> hanjaHL C63
-> hangulHL C64
-> HLsymbolJ C65
-> HLsymbolK C66
Unicode: UTF8 C70
CEF: CEFX C80
CEFY C81
The first digit corresponds to a CJK (input) encoding
like Bg5 or JIS, the second digit represents either a
CJK font encoding or internal encodings necessary to
cover the selected CJK encoding.
One consequence of this step is that you have to adapt
all .fd files to the new scheme. Look at the example
font definition files of the CJK package how to do it.
You can't use e.g. `C01' directly! Use the CJK
interface (in this example \CJKfontenc[pmC]{Bg5}).
Another consequence is that you are now limited to
five characters for the family name since it is part
of the .fd name (together with the NFSS font
encoding): e.g. `fangsong' is not longer allowed. I've
renamed this to `fs'.
the new font encoding scheme of the HLaTeX package is
supported. You can select it with \CJKfontenc[HL]{KS}
or \begin{CJK}[HL]{KS}{...} . This is _not_ an
emulation of HLaTeX! See CJK.doc for details.
poor-man's bold font has been introduced. To do this all
occurrences of \symbol has been replaced with the new
command \CJKsymbol which honours the \ifCJK@bold@
flag. If set, a character will be printed three times
with a small horizontal shift. You can modify this
flag with \CJKnormal and \CJKbold. These commands are
intended for use with \DeclareFontShape:
\DeclareFontShape{C00}{CNS}{m}{n}{<-> CJK * csso12}{}
\DeclareFontShape{C00}{CNS}{bx}{n}{<-> CJKb * csso12}{\CJKbold}
Additionally four size functions (CJKb, sCJKb,
CJKfixedb, sCJKfixedb) has been introduced which are
completely identical to its counterparts without the
final `b'. The only reason to use them is, as shown in
the above example, to make the fifth parameter of
\DeclareFontShape for bold series different from the
one for medium series (LaTeX2e uses this parameter as
a macro name to execute loading-settings, thus they
must not be equal). Redefine \CJKboldshift if the
default shift value of 0.015em is not optimal for the
specific font.
support for rubi (= furigana) added. See rubi.doc for
details.
ttf2pk:
TTF specific error handling enabled.
Big 5 encoded TTF in format 4 can now be handled.
hbf2gf: you can now use environment variables ($FOO or
${FOO}) in the configuration file. Use $$ to get a
dollar sign.
man pages added.
more examples added.
REXX scripts bg5latex.cmd etc. (for OS/2) added
(contributed by Wonkoo Kim <wkim+@pitt.edu>).
teTeX.doc added.
changed:
* The CJK distribution has been divided into three
* packages:
* src The sources. Needed for all platforms
* bin Binaries compiled with emx for DOS and OS/2.
* rest Preformatted documentation (.dvi, .ps,
* output from cjk-enc.el)
*
* ALL FONT DEFINITION FILES HAVE BEEN CHANGED AND RENAMED!
*
\CJKshape and \CJKencshape renamed to \CJKfamily and
\CJKencfamily respectively. For backward compatibility
you can still use the old names. Nevertheless, they
now modify the font family parameter and no longer the
font shape parameter.
all *conv.tex and its batch files removed.
all converter programs now do not change the number of
lines in the output file.
*
* the UN*X converter batch files now replace the extension
* with .cjk instead of appending it. E.g.
* test.tex -> test.cjk (instead of test.tex.cjk)
*
f_name.bat provides a new environment variable %fu%
for a UNIX-like path (using `/' instead of `\'). Now
you can run bg5latex.bat and the other DOS batch files
having a file name with a path as an argument. Please
replace all these batch files with the new ones.
starting with this version ttf2pk is a direct part of
the CJK package. I will maintain it. As a consequence
the ttf2pk directory tree has been moved into the
utils subdirectory.
MakeTeXPK, MakeTTFPK: environment variable ttfdir and
hbf2gfdir renamed to TTFDIR and HBF2GFDIR
respectively.
hbf2gf: sample configuration files now contain TDS
compliant directories.
ttf2pk:
-c option removed which never worked.
some redundant code removed.
heavily reformatted.
errors:
* PLEASE RECREATE ALL .TFM AND .PK FILES PRODUCED BY
* TTF2PK!
* Reason: the width values were resolution dependent.
* You should use the InstallFont script or instfont.btm
* for this job since the very bug in ttf2pk has not yet
* been fixed. Additionally you must install the new
* MakeTTFPK script.
ttf2pk:
endchar didn't work correctly.
punctuation characters in KS were not handled correctly.
\CJKchar failed sometimes (Jinn S. Yang
<v30yjs@v0sun11.ccl.itri.org.tw>).
Big 5/SJIS characters failed in headers etc. if used
without preprocessor (Jinn S. Yang
<v30yjs@v0sun11.ccl.itri.org.tw>).
---End of history.txt---
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads