From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Julien Lepiller <julien@lepiller.eu>, 58333@debbugs.gnu.org
Subject: bug#58333: Manual PDFs other than en and es fail to build
Date: Thu, 06 Oct 2022 12:02:31 -0400 [thread overview]
Message-ID: <87v8oxgctk.fsf@gmail.com> (raw)
In-Reply-To: <87czb5m3oy.fsf@inria.fr> ("Ludovic Courtès"'s message of "Thu, 06 Oct 2022 16:23:09 +0200")
Hi Ludovic,
Thanks for reporting the issue!
Ludovic Courtès <ludo@gnu.org> writes:
> Hi,
>
> <https://guix.gnu.org/manual/devel/fr> lacks its PDF, and similarly for
> /de (/ru and /zh-cn don’t have the PDF either, but that’s a known
> limitation).
Right. A known self-caused limitation by Texinfo (for reinventing TeX
things itself in a way that breaks that), according to TeX people I had
asked in #latex. It's probably fixable by reusing more primitives of
TeX rather than re-implementing them, but I'm no TeX expert!
> When running ‘guix build -f doc/build.scm’, we get hard-to-decipher
> clues (thanks, TeX!):
>
> /gnu/store/sqi9bbxd7czxcnvhmm037yd01vykcgza-texinfo-manual-source/guix.de.texi:21958: TeX capacity exceeded, sorry [input stack size=5000].
I guess the above is a serious warning that may be the cause of the
subsequent failures? We should try to have it fixed to see if it helps.
> @par ->@endgraf @pretolerance =100 @let @par
> @endgraf
> @par ->@endgraf @pretolerance =100 @let @par
> @endgraf
> @par ->@endgraf @pretolerance =100 @let @par
> @endgraf
> @par ->@endgraf @pretolerance =100 @let @par
> @endgraf
> @par ->@endgraf @pretolerance =100 @let @par
> @endgraf
> @par ->@endgraf @pretolerance =100 @let @par
> @endgraf
> ...
> l.21958 @uref{@uref{https://webssh.huashengdun.org/, WebSSH}}
> , das einen
> /gnu/store/sqi9bbxd7czxcnvhmm037yd01vykcgza-texinfo-manual-source/guix.de.texi:21958: ==> Fatal error occurred, no output PDF file produced!
> Transcript written on guix.de.log.
>
[...]
> Failed to produce PDF for language 'fr'!
>
>
> I also see things like:
>
> Writing index file guix.fr.cp
> l.527: Unicode char @u8:. not defined for Texinfo l.527: Unicode char @u8:. not defined for Texinfo
> Missing character: There is no in font cmr10!
> Missing character: There is no in font cmr10!
> Missing character: There is no in font cmr10!
>
>
>
> Two possible culprits I can think of:
>
> 1. Some weird problem in the de/fr translations that would cause
> problems for PDF output but not for HTML/Info (hard to believe).
>
> 2. A font issue caused by 1cde647cc05c640fbfa6f9779a0d7854bb90e153:
> that commit removed use of the monolithic texlive, which is good,
> but maybe the problem that were described in a comment there are
> not solved? On this topic, Ricardo recently reminded me of
> <https://issues.guix.gnu.org/33094#7>.
It's possible the font error seen above was caused by 2., but note that
at the time I made the change from the monolithic to minimal tex
dependencies, the French and German PDFs generation was already broken
(see: https://logs.guix.gnu.org/guix/2022-06-15.log#225709).
--
Thanks,
Maxim
next prev parent reply other threads:[~2022-10-06 17:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-06 14:23 bug#58333: Manual PDFs other than en and es fail to build Ludovic Courtès
2022-10-06 16:02 ` Maxim Cournoyer [this message]
2022-10-06 22:14 ` Ricardo Wurmus
2022-10-07 6:34 ` Ricardo Wurmus
2022-10-07 6:46 ` Julien Lepiller
2022-10-08 8:01 ` Ricardo Wurmus
2022-10-08 11:58 ` pelzflorian (Florian Pelz)
2022-10-06 22:35 ` Ricardo Wurmus
2022-10-07 6:43 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v8oxgctk.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=58333@debbugs.gnu.org \
--cc=julien@lepiller.eu \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).