Comment 7 for bug 179725

Revision history for this message
Herbert Schmid (sairia) wrote :

Dear Norbert, Danai Sae-Han, Ming Hua and Dominique,

I've done some more testing and got the following results. (.tex and
.pdf attached.)

1. the CJK package is obsolete if you use unicode input. in this case
you won't need anything beside ucs and the fonts. I've installed the
latex-cjk-chinese-arphaic-* packages only, but not latex-cjk-chinese
package itself.

2. c00enc sets just the default font and latex issues errors only if you
really typeset chinese characters. Users can repair this using
\DeclareFontSubstitution{C00}{bsmi}{m}{n}
in the document preamble.

Anyway, not applying my patches leaves the ubuntu default installation
broken.

3. c10enc.def also needs similiar changes (patch attached).

4. c00enc corresponds to the ucs option "cjkbg5",
   c10enc to option "cjkgb"

5. there are two arphaic fonts, each is supplied in two encodings
C00: bsmi (clear design) and bkai (calligraphic)
C10: gbsn (clear design) and gkai (calligraphic)

6. I've no idea of chinese typesetting and choosen the replacements just by accident.

You may wish to use bkai for c00/"cjkbg5" and gbsn for c10/"cjkgb". I
think the native speakers should decide this and the patches need to be
changed accordingly.

Best regards,
Herbert

--- /usr/share/texmf-texlive/tex/latex/ucs/c10enc.def_orig 2008-01-07 01:37:23.000000000 +0100
+++ /usr/share/texmf-texlive/tex/latex/ucs/c10enc.def 2008-01-07 01:37:52.000000000 +0100
@@ -15,6 +15,6 @@
 %%
 \ProvidesFile{c10enc.def}[2001/10/11 Fontencoding C10 (Big5)]%
 \DeclareFontEncoding{C10}{}{}%
-\DeclareFontSubstitution{C10}{song}{m}{n}%
+\DeclareFontSubstitution{C10}{gkai}{m}{n}%
 \input{cenccmn.tex}%
-\expandafter\let\csname C10/song/m/n\endcsname\undefined
+\expandafter\let\csname C10/gkai/m/n\endcsname\undefined