summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-10-18 23:43:46 +0000
committerKarl Berry <karl@freefriends.org>2009-10-18 23:43:46 +0000
commitde25a18fb71d293afbad80c336c52bddcea41a71 (patch)
tree56ebc4aa5cb7cbe613f0a0726e5563ebc3f3e32a /Master/texmf-dist
parent19de295925dd12473c10fd3db3daf8ec34374fdc (diff)
ctex r206 (14oct09)
git-svn-id: svn://tug.org/texlive/trunk@15830 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/ctex/script/update-version.py39
-rw-r--r--Master/texmf-dist/doc/latex/ctex/test/test-cjk.tex2
-rw-r--r--Master/texmf-dist/doc/latex/ctex/test/test-cjkutf8.tex2
-rw-r--r--Master/texmf-dist/doc/latex/ctex/test/test-underdot.tex8
-rw-r--r--Master/texmf-dist/doc/latex/ctex/test/test-xetex.tex2
-rw-r--r--Master/texmf-dist/doc/latex/ctex/test/test-xetexgbk.tex2
-rw-r--r--Master/texmf-dist/tex/latex/ctex/def/ctex-gbk.def5
-rw-r--r--Master/texmf-dist/tex/latex/ctex/def/ctex-utf8.def5
-rw-r--r--Master/texmf-dist/tex/latex/ctex/engine/ctex-cjk-engine.def1
-rw-r--r--Master/texmf-dist/tex/latex/ctex/engine/ctex-xecjk-engine.def2
-rw-r--r--Master/texmf-dist/tex/latex/ctex/fontset/ctex-cjk-winfonts.def122
-rw-r--r--Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-adobefonts.def20
-rw-r--r--Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts.def24
13 files changed, 136 insertions, 98 deletions
diff --git a/Master/texmf-dist/doc/latex/ctex/script/update-version.py b/Master/texmf-dist/doc/latex/ctex/script/update-version.py
new file mode 100644
index 00000000000..5353ab650f4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ctex/script/update-version.py
@@ -0,0 +1,39 @@
+#!/usr/bin/env python
+
+import sys, os, re
+
+def update_version(file, date, version):
+ f = open(file)
+ update_next = False
+ line_re = re.compile("^(\s*)\[(\d+/\d+/\d+) ([^\s]+) (.*)$")
+ lines = ""
+
+ for line in f:
+ if update_next:
+ update_next = False
+ m = line_re.match(line)
+ if m:
+ line = "%s[%s %s %s\n" % (m.group(1), date, version, m.group(4))
+
+ elif "ProvidesPackage" in line or "ProvidesClass" in line or "ProvidesFile" in line:
+ update_next = True
+
+ lines += line
+
+ f.close()
+ f = open(file, "w")
+ f.write(lines)
+ f.close()
+
+if len(sys.argv) != 3:
+ print("%s %s" % (sys.argv[0], "<date> <version>"))
+ print("like: %s %s" % (sys.argv[0], "2009/05/20 v0.91"))
+ sys.exit(1)
+
+file_list = [ "../ctex.sty", "../ctexcap.sty", "../ctexart.cls", "../ctexbook.cls", "../ctexrep.cls",
+ "../back/ctexutf8.sty", "../back/ctexcaputf8.sty", "../back/ctexartutf8.cls",
+ "../back/ctexbookutf8.cls", "../back/ctexreputf8.cls",]
+
+for file in file_list:
+ update_version(file, sys.argv[1], sys.argv[2])
+
diff --git a/Master/texmf-dist/doc/latex/ctex/test/test-cjk.tex b/Master/texmf-dist/doc/latex/ctex/test/test-cjk.tex
index 0c02b5b1465..bcbb5afb6fd 100644
--- a/Master/texmf-dist/doc/latex/ctex/test/test-cjk.tex
+++ b/Master/texmf-dist/doc/latex/ctex/test/test-cjk.tex
@@ -1,5 +1,5 @@
%# -*- coding: gbk -*-
-% $Id$
+% $Id: test-cjk.tex 106 2009-05-26 03:22:50Z gzjjgod $
\documentclass[cs4size,a4paper,fancyhdr,fntef,winfonts]{ctexbook}
\usepackage{ifpdf}
\usepackage{ifxetex}
diff --git a/Master/texmf-dist/doc/latex/ctex/test/test-cjkutf8.tex b/Master/texmf-dist/doc/latex/ctex/test/test-cjkutf8.tex
index c5e1070b95d..87e1e771b0f 100644
--- a/Master/texmf-dist/doc/latex/ctex/test/test-cjkutf8.tex
+++ b/Master/texmf-dist/doc/latex/ctex/test/test-cjkutf8.tex
@@ -1,5 +1,5 @@
%# -*- coding: utf-8 -*-
-% $Id$
+% $Id: test-cjkutf8.tex 106 2009-05-26 03:22:50Z gzjjgod $
\documentclass[cs4size,a4paper,fancyhdr,fntef,UTF8,winfonts]{ctexbook}
\usepackage{ifpdf}
\usepackage{ifxetex}
diff --git a/Master/texmf-dist/doc/latex/ctex/test/test-underdot.tex b/Master/texmf-dist/doc/latex/ctex/test/test-underdot.tex
deleted file mode 100644
index 0640df49294..00000000000
--- a/Master/texmf-dist/doc/latex/ctex/test/test-underdot.tex
+++ /dev/null
@@ -1,8 +0,0 @@
-\documentclass[fntef]{ctexart}
-
-\begin{document}
-
-\CTEXunderdot{娴嬭瘯涓枃}
-
-\end{document}
-
diff --git a/Master/texmf-dist/doc/latex/ctex/test/test-xetex.tex b/Master/texmf-dist/doc/latex/ctex/test/test-xetex.tex
index 1b430e728d1..03384e916bf 100644
--- a/Master/texmf-dist/doc/latex/ctex/test/test-xetex.tex
+++ b/Master/texmf-dist/doc/latex/ctex/test/test-xetex.tex
@@ -1,5 +1,5 @@
%# -*- coding: utf-8 -*-
-% $Id$
+% $Id: test-xetex.tex 166 2009-09-12 15:06:49Z gzjjgod $
% test-xetex.tex: XeTeX only test case, use xelatex to run
\documentclass[cs4size,a4paper,fancyhdr,fntef,UTF8,adobefonts]{ctexbook}
diff --git a/Master/texmf-dist/doc/latex/ctex/test/test-xetexgbk.tex b/Master/texmf-dist/doc/latex/ctex/test/test-xetexgbk.tex
index 0ed490321e4..dd5449aab58 100644
--- a/Master/texmf-dist/doc/latex/ctex/test/test-xetexgbk.tex
+++ b/Master/texmf-dist/doc/latex/ctex/test/test-xetexgbk.tex
@@ -1,5 +1,5 @@
%# -*- coding: gbk -*-
-% $Id$
+% $Id: test-xetexgbk.tex 106 2009-05-26 03:22:50Z gzjjgod $
% test-xetex.tex: XeTeX only test case, use xelatex to run
\XeTeXinputencoding "GBK"
\documentclass[cs4size,a4paper,fancyhdr,fntef,GBK,winfonts]{ctexbook}
diff --git a/Master/texmf-dist/tex/latex/ctex/def/ctex-gbk.def b/Master/texmf-dist/tex/latex/ctex/def/ctex-gbk.def
index bfc00a39bf8..8976f88fe7a 100644
--- a/Master/texmf-dist/tex/latex/ctex/def/ctex-gbk.def
+++ b/Master/texmf-dist/tex/latex/ctex/def/ctex-gbk.def
@@ -22,7 +22,10 @@
\def\CTEX@todaysmall{~\the\year~年~\the\month~月~\the\day~日}
\def\CTEX@todaybig{%
- \CJKdigits{\the\year}年\CJKnumber{\the\month}月\CJKnumber{\the\day}日}
+ \CTEXdigits{\temp@year}{\the\year}%
+ \CTEXnumber{\temp@month}{\the\month}%
+ \CTEXnumber{\temp@day}{\the\day}%
+ \temp@year{}年\temp@month{}月\temp@day{}日}
\endinput
diff --git a/Master/texmf-dist/tex/latex/ctex/def/ctex-utf8.def b/Master/texmf-dist/tex/latex/ctex/def/ctex-utf8.def
index 5b106be224d..10493a5b381 100644
--- a/Master/texmf-dist/tex/latex/ctex/def/ctex-utf8.def
+++ b/Master/texmf-dist/tex/latex/ctex/def/ctex-utf8.def
@@ -22,7 +22,10 @@
\def\CTEX@todaysmall{~\the\year~骞磣\the\month~鏈垀\the\day~鏃
\def\CTEX@todaybig{%
- \CJKdigits{\the\year}骞碶CJKnumber{\the\month}鏈圽CJKnumber{\the\day}鏃
+ \CTEXdigits{\temp@year}{\the\year}%
+ \CTEXnumber{\temp@month}{\the\month}%
+ \CTEXnumber{\temp@day}{\the\day}%
+ \temp@year{}骞碶temp@month{}鏈圽temp@day{}鏃
\endinput
diff --git a/Master/texmf-dist/tex/latex/ctex/engine/ctex-cjk-engine.def b/Master/texmf-dist/tex/latex/ctex/engine/ctex-cjk-engine.def
index ab3ebad6e3a..5f3168726b4 100644
--- a/Master/texmf-dist/tex/latex/ctex/engine/ctex-cjk-engine.def
+++ b/Master/texmf-dist/tex/latex/ctex/engine/ctex-cjk-engine.def
@@ -6,7 +6,6 @@
\else
\RequirePackage{CJKutf8}[2003/03/28]
\fi
-\RequirePackage{CJKnumb}[2003/03/28]
\ifCTEX@punct
\RequirePackage{CJKpunct}[2009/05/06]
diff --git a/Master/texmf-dist/tex/latex/ctex/engine/ctex-xecjk-engine.def b/Master/texmf-dist/tex/latex/ctex/engine/ctex-xecjk-engine.def
index 2d63b686a0b..ac937ccd9bd 100644
--- a/Master/texmf-dist/tex/latex/ctex/engine/ctex-xecjk-engine.def
+++ b/Master/texmf-dist/tex/latex/ctex/engine/ctex-xecjk-engine.def
@@ -1,7 +1,7 @@
% ctex-xecjk-engine.def: for XeTeX engine with xeCJK
% vim:ft=tex
-\RequirePackage[BoldFont,CJKnumber]{xeCJK}
+\RequirePackage[BoldFont]{xeCJK}
\defaultfontfeatures{Mapping=tex-text}
\ifCTEX@punct
diff --git a/Master/texmf-dist/tex/latex/ctex/fontset/ctex-cjk-winfonts.def b/Master/texmf-dist/tex/latex/ctex/fontset/ctex-cjk-winfonts.def
index 12e956cf7cd..1a53956c9b4 100644
--- a/Master/texmf-dist/tex/latex/ctex/fontset/ctex-cjk-winfonts.def
+++ b/Master/texmf-dist/tex/latex/ctex/fontset/ctex-cjk-winfonts.def
@@ -1,78 +1,80 @@
% ctex-cjk-winfonts.def: Windows 鐨 CJK 瀛椾綋璁剧疆锛岄粯璁や负 CTeX 濂楄鐨勫叚绉嶅瓧浣
% vim:ft=tex
+\input zhwinfonts
+
\renewcommand*\CTEX@rm@family{rm}
\renewcommand*\CTEX@sf@family{sf}
\renewcommand*\CTEX@tt@family{tt}
\ifCTEX@punct
% see also: c19rm.fd
- \CJKpunctmapfamily{C19}{rm}{m}{n}{song}
- \CJKpunctmapfamily{C19}{rm}{b}{n}{hei}
- \CJKpunctmapfamily{C19}{rm}{bx}{n}{hei}
- \CJKpunctmapfamily{C19}{rm}{m}{sl}{song}
- \CJKpunctmapfamily{C19}{rm}{b}{sl}{hei}
- \CJKpunctmapfamily{C19}{rm}{bx}{sl}{hei}
- \CJKpunctmapfamily{C19}{rm}{m}{it}{kai}
- \CJKpunctmapfamily{C19}{rm}{b}{it}{kei}
- \CJKpunctmapfamily{C19}{rm}{bx}{it}{kai}
+ \CJKpunctmapfamily{C19}{rm}{m}{n}{zhsong}
+ \CJKpunctmapfamily{C19}{rm}{b}{n}{zhhei}
+ \CJKpunctmapfamily{C19}{rm}{bx}{n}{zhhei}
+ \CJKpunctmapfamily{C19}{rm}{m}{sl}{zhsong}
+ \CJKpunctmapfamily{C19}{rm}{b}{sl}{zhhei}
+ \CJKpunctmapfamily{C19}{rm}{bx}{sl}{zhhei}
+ \CJKpunctmapfamily{C19}{rm}{m}{it}{zhkai}
+ \CJKpunctmapfamily{C19}{rm}{b}{it}{zhkei}
+ \CJKpunctmapfamily{C19}{rm}{bx}{it}{zhkai}
% see also: c19sf.fd
- \CJKpunctmapfamily{C19}{sf}{m}{n}{you}
- \CJKpunctmapfamily{C19}{sf}{b}{n}{you}
- \CJKpunctmapfamily{C19}{sf}{bx}{n}{you}
- \CJKpunctmapfamily{C19}{sf}{m}{sl}{you}
- \CJKpunctmapfamily{C19}{sf}{b}{sl}{you}
- \CJKpunctmapfamily{C19}{sf}{bx}{sl}{you}
- \CJKpunctmapfamily{C19}{sf}{m}{it}{you}
- \CJKpunctmapfamily{C19}{sf}{b}{it}{you}
- \CJKpunctmapfamily{C19}{sf}{bx}{it}{you}
+ \CJKpunctmapfamily{C19}{sf}{m}{n}{zhyou}
+ \CJKpunctmapfamily{C19}{sf}{b}{n}{zhyou}
+ \CJKpunctmapfamily{C19}{sf}{bx}{n}{zhyou}
+ \CJKpunctmapfamily{C19}{sf}{m}{sl}{zhyou}
+ \CJKpunctmapfamily{C19}{sf}{b}{sl}{zhyou}
+ \CJKpunctmapfamily{C19}{sf}{bx}{sl}{zhyou}
+ \CJKpunctmapfamily{C19}{sf}{m}{it}{zhyou}
+ \CJKpunctmapfamily{C19}{sf}{b}{it}{zhyou}
+ \CJKpunctmapfamily{C19}{sf}{bx}{it}{zhyou}
% see also: c19tt.fd
- \CJKpunctmapfamily{C19}{tt}{m}{n}{fs}
- \CJKpunctmapfamily{C19}{tt}{b}{n}{fs}
- \CJKpunctmapfamily{C19}{tt}{bx}{n}{fs}
- \CJKpunctmapfamily{C19}{tt}{m}{sl}{fs}
- \CJKpunctmapfamily{C19}{tt}{b}{sl}{fs}
- \CJKpunctmapfamily{C19}{tt}{bx}{sl}{fs}
- \CJKpunctmapfamily{C19}{tt}{m}{it}{fs}
- \CJKpunctmapfamily{C19}{tt}{b}{it}{fs}
- \CJKpunctmapfamily{C19}{tt}{bx}{it}{fs}
+ \CJKpunctmapfamily{C19}{tt}{m}{n}{zhfs}
+ \CJKpunctmapfamily{C19}{tt}{b}{n}{zhfs}
+ \CJKpunctmapfamily{C19}{tt}{bx}{n}{zhfs}
+ \CJKpunctmapfamily{C19}{tt}{m}{sl}{zhfs}
+ \CJKpunctmapfamily{C19}{tt}{b}{sl}{zhfs}
+ \CJKpunctmapfamily{C19}{tt}{bx}{sl}{zhfs}
+ \CJKpunctmapfamily{C19}{tt}{m}{it}{zhfs}
+ \CJKpunctmapfamily{C19}{tt}{b}{it}{zhfs}
+ \CJKpunctmapfamily{C19}{tt}{bx}{it}{zhfs}
% see also: c70rm.fd
- \CJKpunctmapfamily{C70}{rm}{m}{n}{song}
- \CJKpunctmapfamily{C70}{rm}{b}{n}{hei}
- \CJKpunctmapfamily{C70}{rm}{bx}{n}{hei}
- \CJKpunctmapfamily{C70}{rm}{m}{sl}{song}
- \CJKpunctmapfamily{C70}{rm}{b}{sl}{hei}
- \CJKpunctmapfamily{C70}{rm}{bx}{sl}{hei}
- \CJKpunctmapfamily{C70}{rm}{m}{it}{kai}
- \CJKpunctmapfamily{C70}{rm}{b}{it}{kei}
- \CJKpunctmapfamily{C70}{rm}{bx}{it}{kai}
+ \CJKpunctmapfamily{C70}{rm}{m}{n}{zhsong}
+ \CJKpunctmapfamily{C70}{rm}{b}{n}{zhhei}
+ \CJKpunctmapfamily{C70}{rm}{bx}{n}{zhhei}
+ \CJKpunctmapfamily{C70}{rm}{m}{sl}{zhsong}
+ \CJKpunctmapfamily{C70}{rm}{b}{sl}{zhhei}
+ \CJKpunctmapfamily{C70}{rm}{bx}{sl}{zhhei}
+ \CJKpunctmapfamily{C70}{rm}{m}{it}{zhkai}
+ \CJKpunctmapfamily{C70}{rm}{b}{it}{zhkei}
+ \CJKpunctmapfamily{C70}{rm}{bx}{it}{zhkai}
% see also: c70sf.fd
- \CJKpunctmapfamily{C70}{sf}{m}{n}{you}
- \CJKpunctmapfamily{C70}{sf}{b}{n}{you}
- \CJKpunctmapfamily{C70}{sf}{bx}{n}{you}
- \CJKpunctmapfamily{C70}{sf}{m}{sl}{you}
- \CJKpunctmapfamily{C70}{sf}{b}{sl}{you}
- \CJKpunctmapfamily{C70}{sf}{bx}{sl}{you}
- \CJKpunctmapfamily{C70}{sf}{m}{it}{you}
- \CJKpunctmapfamily{C70}{sf}{b}{it}{you}
- \CJKpunctmapfamily{C70}{sf}{bx}{it}{you}
+ \CJKpunctmapfamily{C70}{sf}{m}{n}{zhyou}
+ \CJKpunctmapfamily{C70}{sf}{b}{n}{zhyou}
+ \CJKpunctmapfamily{C70}{sf}{bx}{n}{zhyou}
+ \CJKpunctmapfamily{C70}{sf}{m}{sl}{zhyou}
+ \CJKpunctmapfamily{C70}{sf}{b}{sl}{zhyou}
+ \CJKpunctmapfamily{C70}{sf}{bx}{sl}{zhyou}
+ \CJKpunctmapfamily{C70}{sf}{m}{it}{zhyou}
+ \CJKpunctmapfamily{C70}{sf}{b}{it}{zhyou}
+ \CJKpunctmapfamily{C70}{sf}{bx}{it}{zhyou}
% see also: c70tt.fd
- \CJKpunctmapfamily{C70}{tt}{m}{n}{fs}
- \CJKpunctmapfamily{C70}{tt}{b}{n}{fs}
- \CJKpunctmapfamily{C70}{tt}{bx}{n}{fs}
- \CJKpunctmapfamily{C70}{tt}{m}{sl}{fs}
- \CJKpunctmapfamily{C70}{tt}{b}{sl}{fs}
- \CJKpunctmapfamily{C70}{tt}{bx}{sl}{fs}
- \CJKpunctmapfamily{C70}{tt}{m}{it}{fs}
- \CJKpunctmapfamily{C70}{tt}{b}{it}{fs}
- \CJKpunctmapfamily{C70}{tt}{bx}{it}{fs}
+ \CJKpunctmapfamily{C70}{tt}{m}{n}{zhfs}
+ \CJKpunctmapfamily{C70}{tt}{b}{n}{zhfs}
+ \CJKpunctmapfamily{C70}{tt}{bx}{n}{zhfs}
+ \CJKpunctmapfamily{C70}{tt}{m}{sl}{zhfs}
+ \CJKpunctmapfamily{C70}{tt}{b}{sl}{zhfs}
+ \CJKpunctmapfamily{C70}{tt}{bx}{sl}{zhfs}
+ \CJKpunctmapfamily{C70}{tt}{m}{it}{zhfs}
+ \CJKpunctmapfamily{C70}{tt}{b}{it}{zhfs}
+ \CJKpunctmapfamily{C70}{tt}{bx}{it}{zhfs}
\fi
-\newcommand*{\songti}{\CJKfamily{song}} % 瀹嬩綋
-\newcommand*{\heiti}{\CJKfamily{hei}} % 榛戜綋
-\newcommand*{\kaishu}{\CJKfamily{kai}} % 妤蜂功
-\newcommand*{\fangsong}{\CJKfamily{fs}} % 浠垮畫
-\newcommand*{\lishu}{\CJKfamily{li}} % 闅朵功
-\newcommand*{\youyuan}{\CJKfamily{you}} % 骞煎渾
+\newcommand*{\songti}{\CJKfamily{zhsong}} % 瀹嬩綋
+\newcommand*{\heiti}{\CJKfamily{zhhei}} % 榛戜綋
+\newcommand*{\kaishu}{\CJKfamily{zhkai}} % 妤蜂功
+\newcommand*{\fangsong}{\CJKfamily{zhfs}} % 浠垮畫
+\newcommand*{\lishu}{\CJKfamily{zhli}} % 闅朵功
+\newcommand*{\youyuan}{\CJKfamily{zhyou}} % 骞煎渾
\endinput
diff --git a/Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-adobefonts.def b/Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-adobefonts.def
index 747f5601799..bb2a03bed92 100644
--- a/Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-adobefonts.def
+++ b/Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-adobefonts.def
@@ -6,16 +6,16 @@
\setCJKsansfont{Adobe Heiti Std}
\setCJKmonofont{Adobe Fangsong Std}
-\setCJKfamilyfont{song}{Adobe Song Std}
-\setCJKfamilyfont{hei}{Adobe Heiti Std}
-\setCJKfamilyfont{fs}{Adobe Fangsong Std}
-\setCJKfamilyfont{kai}{Adobe Kaiti Std}
+\setCJKfamilyfont{zhsong}{Adobe Song Std}
+\setCJKfamilyfont{zhhei}{Adobe Heiti Std}
+\setCJKfamilyfont{zhfs}{Adobe Fangsong Std}
+\setCJKfamilyfont{zhkai}{Adobe Kaiti Std}
-\newcommand*{\songti}{\CJKfamily{song}} % 瀹嬩綋
-\newcommand*{\heiti}{\CJKfamily{hei}} % 榛戜綋
-\newcommand*{\kaishu}{\CJKfamily{kai}} % 妤蜂功
-\newcommand*{\fangsong}{\CJKfamily{fs}} % 浠垮畫
-\newcommand*{\lishu}{\CJKfamily{li}} % 闅朵功
-\newcommand*{\youyuan}{\CJKfamily{you}} % 骞煎渾
+\newcommand*{\songti}{\CJKfamily{zhsong}} % 瀹嬩綋
+\newcommand*{\heiti}{\CJKfamily{zhhei}} % 榛戜綋
+\newcommand*{\kaishu}{\CJKfamily{zhkai}} % 妤蜂功
+\newcommand*{\fangsong}{\CJKfamily{zhfs}} % 浠垮畫
+\newcommand*{\lishu}{\CJKfamily{zhli}} % 闅朵功
+\newcommand*{\youyuan}{\CJKfamily{zhyou}} % 骞煎渾
\endinput
diff --git a/Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts.def b/Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts.def
index 638e23df611..6f479854736 100644
--- a/Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts.def
+++ b/Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts.def
@@ -6,18 +6,18 @@
\setCJKsansfont{YouYuan}
\setCJKmonofont{[simfang.ttf]}
-\setCJKfamilyfont{song}{SimSun}
-\setCJKfamilyfont{hei}{SimHei}
-\setCJKfamilyfont{kai}{[simkai.ttf]}
-\setCJKfamilyfont{fs}{[simfang.ttf]}
-\setCJKfamilyfont{li}{LiSu}
-\setCJKfamilyfont{you}{YouYuan}
+\setCJKfamilyfont{zhsong}{SimSun}
+\setCJKfamilyfont{zhhei}{SimHei}
+\setCJKfamilyfont{zhkai}{[simkai.ttf]}
+\setCJKfamilyfont{zhfs}{[simfang.ttf]}
+\setCJKfamilyfont{zhli}{LiSu}
+\setCJKfamilyfont{zhyou}{YouYuan}
-\newcommand*{\songti}{\CJKfamily{song}} % 瀹嬩綋
-\newcommand*{\heiti}{\CJKfamily{hei}} % 榛戜綋
-\newcommand*{\kaishu}{\CJKfamily{kai}} % 妤蜂功
-\newcommand*{\fangsong}{\CJKfamily{fs}} % 浠垮畫
-\newcommand*{\lishu}{\CJKfamily{li}} % 闅朵功
-\newcommand*{\youyuan}{\CJKfamily{you}} % 骞煎渾
+\newcommand*{\songti}{\CJKfamily{zhsong}} % 瀹嬩綋
+\newcommand*{\heiti}{\CJKfamily{zhhei}} % 榛戜綋
+\newcommand*{\kaishu}{\CJKfamily{zhkai}} % 妤蜂功
+\newcommand*{\fangsong}{\CJKfamily{zhfs}} % 浠垮畫
+\newcommand*{\lishu}{\CJKfamily{zhli}} % 闅朵功
+\newcommand*{\youyuan}{\CJKfamily{zhyou}} % 骞煎渾
\endinput