help-guix
[Top][All Lists]
Advanced

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

Re: LaTeX: Need help with packaging a book in GNU Guix


From: Artyom V. Poptsov
Subject: Re: LaTeX: Need help with packaging a book in GNU Guix
Date: Thu, 31 Aug 2023 21:00:12 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hello Nicolas,

sorry for bothering you again with my LaTeX questions, but I faced with
a new problem on my way to package my book for GNU Guix.

When the build system runs "xelatex" as follows:

--8<---------------cut here---------------start------------->8---
xelatex --shell-escape sparc.tex > sparc.pdf.log.2 2>&1
--8<---------------cut here---------------end--------------->8---

It produces a PDF file which size is ~4MiB instead of ~7MiB as it must
be.

There's an error in the log:

--8<---------------cut here---------------start------------->8---
xdvipdfmx:fatal: Cannot proceed without .vf or "physical" font for PDF output...

No output PDF file written.
--8<---------------cut here---------------end--------------->8---

Again, when I add "texlive" package to the inputs, the book builds fine.

Also it build fine when I run the build without "texlive" but inside a
pure Guix shell environment on my machine.  That is a bit trickier to
check the difference between environments but at least I can say that I
have the following texlive packages installed on my base system (Ubuntu
22.04):

--8<---------------cut here---------------start------------->8---
$ dpkg -l | grep texlive
ii  texlive-base                                  2021.20220204-1               
             all          TeX Live: Essential programs and files
ii  texlive-binaries                              
2021.20210626.59705-1ubuntu0.1             amd64        Binaries for TeX Live
ii  texlive-latex-base                            2021.20220204-1               
             all          TeX Live: LaTeX fundamental packages
ii  texlive-music                                 2021.20220204-1               
             all          TeX Live: Music packages
--8<---------------cut here---------------end--------------->8---

Here's my attempt to create a patch for Guix that adds the book:
  
https://github.com/artyom-poptsov/guix/commit/001ede4fe5b7ecb0c342ad05554799193bd93107

Could you please take a look and give me a hint on what I'm missing
here?

Thanks!

- avp

-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

Attachment: signature.asc
Description: PGP signature


reply via email to

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