[Top][All Lists]

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

Re: Unable to compile texinfo PDF with Chinese

From: bobwxc
Subject: Re: Unable to compile texinfo PDF with Chinese
Date: Mon, 4 Sep 2023 22:09:01 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0

在 2023/9/4 11:17, William Goodspeed 写道:

Please try attached patch.

Good day!
Hello there,

I'm recently trying to translate Richard Stallman's c-intro-and-
reference (WIP). And I'm glad to hear that Chinese is supported in
texinfo 7.0 release.

I tested the Chinese sample document and it worked fine. But when it
comes to compile my translation of c-intro-and-reference, problems

[goodspeed@meow c-intro-and-ref]$ make c.pdf
texi2pdf c.texi
This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023/Arch
Linux) (preloaded format=xetex)
  restricted \write18 enabled.
entering extended mode
(./c.texi (/home/goodspeed/Work/c-intro-and-ref/texinfo-zh.tex
zhspacing installed.
Loading texinfo [version 2023-08-13.14]: pdf, fonts, glyphs, page
tables, conditionals, indexing, sectioning, toc, environments, defuns,
cross references, insertions, (/usr/share/texmf-
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, microtype, and turning on texinfo input
Writing index file c.fn
./c.texi:44: TeX capacity exceeded, sorry [grouping levels=65535].
<XeTeXinterchartoks> ...enzh @relax @zhs@savefont
<to be read again>
<argument> GNU C 语
@titlefont #1->{@titlefonts @rm #1
<argument> ...ignorespaces @titlefont {GNU C 语言介绍}
                                                   @unskip @hfil
@centersub ...enalty @fi @line {@kern @leftskip #1
                                                   @kern @rightskip }
l.44 @center @titlefont{GNU C 语言介绍}
No pages of output.
Transcript written on c.log.
/usr/bin/texi2dvi: xetex exited with bad status, quitting.
make: *** [Makefile:15: c.pdf] Error 1

The source code is available at codeberg:

2BF2 A4AA 2F07 30C3 279E  D01D 3268 4A40 BCA7 AEA7

Attachment: 0001-fix-texi-zh-compile.patch
Description: Text Data

reply via email to

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