From d318611dd6f23fcfedd50e9b9e24620b102ba96a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:44:05 +0200 Subject: Adding upstream version 1.23.0. Signed-off-by: Daniel Baumann --- tmac/zh.tmac | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 tmac/zh.tmac (limited to 'tmac/zh.tmac') diff --git a/tmac/zh.tmac b/tmac/zh.tmac new file mode 100644 index 0000000..3b34724 --- /dev/null +++ b/tmac/zh.tmac @@ -0,0 +1,61 @@ +.\" Chinese localization for groff +.\" +.\" Copyright (C) 2015-2020 Free Software Foundation, Inc. +.\" Written by Darcy SHEN +.\" using 'ja.tmac' as a template +.\" +.\" This file is part of groff. +.\" +.\" groff is free software; you can redistribute it and/or modify it +.\" under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. +.\" +.\" groff is distributed in the hope that it will be useful, but WITHOUT +.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +.\" or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public +.\" License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see +.\" . +.\" +.\" Please send comments to groff@gnu.org. +. +.do nr *groff_zh_tmac_C \n[.cp] +.cp 0 +. +. +.\" The following rules work for both zh_CN and zh_TW. +. +.ds locale chinese\" +. +. +.class [CJKprepunct] \ + , : ; > } \ + \[u2026] \[u201D] \ + \[u3001] \[u3002] \[u3009] \[u300B] \[u300D] \[u300F] \[u3011] \ + \[uFF01] \[uFF09] \[uFF0C] \[uFF1A] \[uFF1B] \[uFF1F] +.class [CJKpostpunct] \ + \[u201C] \[u3008] \[u300A] \[u300C] \[u300E] \[u3010] \[uFF08] +. +.\" Chinese glyphs. +.class [CJKnormal] \ + \[u4E00]-\[u9FFF] +. +.cflags 128 \C'[CJKprepunct]' +.cflags 266 \C'[CJKpostpunct]' +.cflags 512 \C'[CJKnormal]' +. +.\" Chinese hyphenation (disabled) +.nr \*[locale]*hyphenation-mode-base 0 +.nr \*[locale]*hyphenation-mode-trap 0 +. +.cp \n[*groff_zh_tmac_C] +.do rr *groff_zh_tmac_C +. +.\" Local Variables: +.\" mode: nroff +.\" fill-column: 72 +.\" End: +.\" vim: set filetype=groff textwidth=72: -- cgit v1.2.3