[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/4] * doc/txi-zh.tex: add modified \chapmacro, \sectionheadi

From: Wu XiangCheng
Subject: Re: [PATCH 3/4] * doc/txi-zh.tex: add modified \chapmacro, \sectionheading, \xrefX and \Ynumbered to fix Chinese chapter/section dispaly.
Date: Wed, 19 Oct 2022 08:43:21 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0

在 2022/10/19 02:16, Gavin Smith 写道:
On Tue, Oct 18, 2022 at 06:11:12PM +0100, Gavin Smith wrote:
On Fri, Oct 07, 2022 at 07:19:57AM +0100, Gavin Smith wrote:
Using \txizhpackage label to determine whether to change the
behavior.Would you like to put such hooks in main file? Or may
another elegant way?
Yes I will try to add hooks like this for these issues.
I've committed your changes apart from patch 3/4.  I had to install
the texlive-lang-chinese and fonts-arphic-ukai packages (on Linux Mint)
to build short-sample-zh.tex.

I'm going to look add adding hooks for the other changes.
That should it all be added now.  Please let me know if the output
is right.  I tried to match the use of space characters in your
original code.
Thank you very much for your kind help!

I have tested them and almost OK. Yet two small things could be fixed.

1. fix typo in NEWS

diff --git a/NEWS b/NEWS
index 78807c8946..40b0d531bf 100644
--- a/NEWS
+++ b/NEWS
@@ -86,8 +86,8 @@ See the manual for detailed information.
     @var everywhere.  flag is @set by default, but we plan to turn this
     off in the future.
   . You can use a new file doc/texinfo-zh.tex for Texinfo documents in
-    Chinese.  doc/short-sample-ja.tex is a sample document.  New
-    support file doc/txi-ja.tex for Chinese..
+    Chinese.  doc/short-sample-zh.tex is a sample document.  New
+    support file doc/txi-zh.tex for Chinese..

 * info
   . better support for index entries containing parentheses

2. fix a space

diff --git a/doc/txi-zh.tex b/doc/txi-zh.tex
index 8698502eeb..e5e177dd5c 100644
--- a/doc/txi-zh.tex
+++ b/doc/txi-zh.tex
@@ -84,4 +84,4 @@
   \putwordAppendix{} \thischapternum\space\thischaptername}

-  第 \thischapternum \putwordChapter{}\space\thischaptername}
+  第\ \thischapternum \putwordChapter{}\space\thischaptername}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]