Imported Upstream version 1.22.4
[platform/upstream/groff.git] / tmac / zh.tmac
1 .\" Chinese localization for groff
2 .\"
3 .\" Copyright (C) 2015-2018 Free Software Foundation, Inc.
4 .\"   Written by Darcy SHEN <sadhen1992@gmail.com>
5 .\"   using 'ja.tmac' as a template
6 .\"
7 .\" This file is part of groff.
8 .\"
9 .\" groff is free software; you can redistribute it and/or modify it
10 .\" under the terms of the GNU General Public License as published by
11 .\" the Free Software Foundation, either version 3 of the License, or
12 .\" (at your option) any later version.
13 .\"
14 .\" groff is distributed in the hope that it will be useful, but WITHOUT
15 .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16 .\" or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
17 .\" License for more details.
18 .\"
19 .\" You should have received a copy of the GNU General Public License
20 .\" along with this program.  If not, see
21 .\" <http://www.gnu.org/licenses/>.
22 .\"
23 .\" Please send comments to groff@gnu.org.
24 .
25 .
26 .\" The following rules work for both zh_CN and zh_TW.
27 .
28 .\" Locale string
29 .
30 .ds locale chinese\"
31 .
32 .
33 .class [CJKprepunct] \
34   , : ; > } \
35   \[u2026] \[u201D] \
36   \[u3001] \[u3002] \[u3009] \[u300B] \[u300D] \[u300F] \[u3011] \
37   \[uFF01] \[uFF09] \[uFF0C] \[uFF1A] \[uFF1B] \[uFF1F]
38 .class [CJKpostpunct] \
39   \[u201C] \[u3008] \[u300A] \[u300C] \[u300E] \[u3010] \[uFF08]
40 .
41 .\" Chinese glyphs.
42 .class [CJKnormal] \
43   \[u4E00]-\[u9FFF]
44 .
45 .cflags 128 \C'[CJKprepunct]'
46 .cflags 266 \C'[CJKpostpunct]'
47 .cflags 512 \C'[CJKnormal]'
48 .
49 .\" ====================================================================
50 .\" Editor settings
51 .\" ====================================================================
52 .
53 .\" Local Variables:
54 .\" mode: nroff
55 .\" fill-column: 72
56 .\" End:
57 .\" vim: set filetype=groff textwidth=72: