guix-devel
[Top][All Lists]
Advanced

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

Re: Manual PDF and translation (modular texlive?)


From: zimoun
Subject: Re: Manual PDF and translation (modular texlive?)
Date: Sat, 17 Oct 2020 22:09:21 +0200

Hi Ricardo,

Thank you for looking at this.

On Fri, 16 Oct 2020 at 22:10, Ricardo Wurmus <rekado@elephly.net> wrote:

> I can now build the French and the German manuals in this environment:
>
>     guix environment --pure guix --ad-hoc -e '(begin (use-modules (gnu 
> packages tex))(texlive-union (list texlive-epsf texlive-fonts-ec 
> texlive-amsfonts texlive-tex-texinfo)))'
>
> Unfortunately, the accents and umlauts in the table of contents are
> still wrong, but they are fine everywhere else.

Working on fixing this –– at least the French one ;-) –– I notice that:

   guix environment -C --ad-hoc texinfo -- texi2dvi --help

raises an error about ’sed’ is missing.  Adding ’sed’, it still raises
an error about ’cat’ (coreutils, right?).  These 2 dependencies should
be added as ’propagated-inputs’, right?



Well, back to the real issue.  I do not know if the issue comes from TeX
configuration or from ’makeinfo’.  For example,

--8<---------------cut here---------------start------------->8---
mkdir -p /tmp/test && cd /tmp/test

cp ~/guix/doc/{guix.fr,os-*,fdl-1.3,contributing.fr,version-fr}.texi .
cp -R ~/guix/doc/images images
cp ~/guix/doc/environment-gdb.scm .
cp ~/guix/doc/package-hello.{scm,json} .

guix environment guix -C \
     --ad-hoc texlive-base texlive-fonts-ec texlive-epsf texlive-tex-texinfo \
     -- makeinfo --pdf guix.fr.texi
--8<---------------cut here---------------end--------------->8---

lead to incorrect Table of Contents but the rest is good (at least what
I checked).  It seems as ’makeinfo’ incorrectly deal with the unicode in
the master menu.  On the other hand,

  guix environment guix -C --ad-hoc texlive -- makeinfo --pdf guix.fr.pdf

works correctly.  Hum?  I do not know…


All the best,
simon



reply via email to

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