[Top][All Lists]

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

Re: Missing LaTeX font (R related)

From: TK
Subject: Re: Missing LaTeX font (R related)
Date: Wed, 23 Mar 2022 10:02:23 +0000

On Wednesday, March 23rd, 2022 at 9:58 AM, Ricardo Wurmus <> 

> TK writes:
> > `!pdfTeX error: pdflatex (file t1-zi4r-0): Font t1-zi4r-0 at 540 not found`
> >
> > A web search reveals that t1-zi4r-0 is an inconsolata font, but installing 
> > "texlive-inconsolata" package does not sort this issue out.
> The texlive-inconsolata package does indeed include that font:
> /gnu/store/…-texlive-inconsolata-59745/share/texmf-dist/fonts/tfm/public/inconsolata/t1-zi4r-0.tfm
> > Is granular texlive install even possible on Guix? :)
> Yes, it is.
> --
> Ricardo

Hi Ricardo,

Thanks for the reply.

Since texlive-inconsolata is part of my manifest specification, there might be 
an issue in how I create the environment.

For my work in R, I use the following bash script:
guix shell --pure -c4 -m "$theme_dir/foundation.scm" \
                  -m "$theme_dir/eci.scm" -m "$theme_dir/texpack.scm"

I am creating an environment from several manifests. They are shown  below, 
together with the channels file, for the sake of reproducibility and the 
mailing list. Also, for anyone's convenience, should they actually want to 
reproduce the problem,
those files have been attached.

Issuing `R CMD check somepackage` within the shell of the environment will die 
with the message outlined above.

The package in the command line is just a skeleton created by 


# Appendix

## channels.scm
(use-modules (guix packages)
             (guix inferior)
             (guix channels)
             (guix profiles)
             (gnu packages)
             (srfi srfi-1))

(define channels
 ;; This is custom Environmental Cheminformatics LCSB channel.
 (list (channel
        (name 'eci-addons)
        (url "";)
        (branch "master")
           "EDC3 9790 A06D 5F72 41D9  70F9 BBEF E71B 7A28 3C6F"))))
        (name 'nonguix)
        (url "";)
           "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
         (name 'guix)
         (url "";)
         ;; (commit "c852d897551f514de95c224fa79e748f48808068")


## foundation.scm
(use-modules (guix packages)
             (gnu packages autotools)
             (gnu packages gcc)
             (gnu packages perl)
             (gnu packages mpi)
             (gnu packages ssh)
             (gnu packages gawk)
             (gnu packages base))

(define specs '("bash"

(define misc-specs '("ispell"

(define font-specs '("unicode-emoji"

(define emacs-specs `("emacs-guix"
                      ;; "emacs-ess"
                      ;; "emacs-bluetooth"

(specifications->manifest `(,@specs

## eci.scm

(use-modules  (eci packages bioinformatics)
              (eci packages cran)
              (guix packages)
              (gnu packages chemistry)
              (gnu packages bioinformatics)
              (gnu packages bioconductor)
              (gnu packages statistics)
              (gnu packages web)
              (gnu packages image)
              (gnu packages cran)
              (gnu packages)
              (srfi srfi-1))

(define misc-spec '("openbabel"
(define r-spec `("r" "r-scales"

(specifications->manifest `(,@misc-spec

## texpack.scm
(use-modules (guix packages)
             (gnu packages tex))

(define specs '("texlive-latex-base"

(specifications->manifest `(,@specs))


Attachment: foundation.scm
Description: Text Data

Attachment: eci.scm
Description: Text Data

Attachment: texpack.scm
Description: Text Data

Attachment: channels.scm
Description: Text Data

reply via email to

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