all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: TK <tkprom@protonmail.com>
To: TK <tkprom@protonmail.com>
Cc: help-guix@gnu.org
Subject: Re: Missing LaTeX font (R related)
Date: Wed, 30 Mar 2022 07:08:01 +0000	[thread overview]
Message-ID: <AW-jpV_n1OjnTPSsEcAyMANBg_HFSQ3AmEoZhrMzd6R2inKKh4AniEUeSkuxuyYXReewRI3oIcQ0FfEhBWhr_JIjhLDwkXDKGrAYKhFkyGk=@protonmail.com> (raw)
In-Reply-To: <AAqLVkRYrznbScZFlYtuPAYvmDfAzqlbExSdtwqYvGbBXyF8acdXGT-tBw_338YiEdJzKcawQY1If31BObBJjWw7yiHs4Vu0SAgTkPK_ZsA=@protonmail.com>

> > TK tkprom@protonmail.com writes:
>
> > > After some more investigation, I think I narrowed down the
> > >
> > > issue. Package texlive-inconsolata indeed installs the `t1-zi4r-0' font. However, the` map' for that font exists only under dvips, not in
> > >
> > > the pdftex subdir.
> >
> > We’re generating these map files based on the contents of the profile.
> >
> > We’re using a profile hook for this.
> >
> > > I am not a TeX magus, but it is indicative that the file on the
> > >
> > > official TeXLive repo
> > >
> > > https://tug.org/svn/texlive/trunk/Master/texmf-dist/fonts/map/pdftex/updmap/pdftex.map
> > >
> > > does contain `zi4' entries.
> >
> > We don’t use that file because it contains everything; instead we
> >
> > generate it in a profile hook so that it only contains entries that
> >
> > correspond to what has actually been installed.
> >
> > > Shouldn't the installation of texlive-inconsolata put the
> > >
> > > corresponding entries into `pdftex.map'?
> >
> > Yes, it should.
> >
> > > Any hints on where to go from here?
> >
> > When I do
> >
> > guix shell -C texlive-base texlive-inconsolata
> >
> > I see that
> >
> > $GUIX_ENVIRONMENT/share/texmf-dist/fonts/map/pdftex/updmap/pdftex.map
> >
> > contains entries for the inconsolata fonts.
> >
> > (The profile hook depends on texlive-base.)
> >
> > --
> >
> > Ricardo
>
> Hi Ricardo,
>
> Thanks for narrowing it down.
>
> It turns out that replacing `texlive-tiny' with` texlive-base' in the manifest did the trick. So, the message for future readers is, if you want your own subset of TexLive, start with `texlive-base' in your manifest, then add whichever other packages, or fonts you need.
>
> Cheers,
>
> T

For the reference, the smallest TexLive manifest I came up with that passed `R CMD check` for the R package I am developing has been:

```
(use-modules (guix packages)
	     (gnu packages tex))

(define specs '("texlive-base"
                "texlive-pdftex"
		"texlive-url"
                "texlive-inconsolata"
                "texlive-latex-xkeyval"
                "texlive-fonts-ec"
                "texlive-times"
                "texlive-helvetic"
		"texlive-amsfonts"))



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

I probably don't need texlive-pdftex there, but can't check now.


  reply	other threads:[~2022-03-30  7:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-23  8:45 Missing LaTeX font (R related) TK
2022-03-23  8:58 ` Ricardo Wurmus
2022-03-23 10:02   ` TK
2022-03-29 10:02     ` TK
2022-03-29 10:57       ` Ricardo Wurmus
2022-03-30  6:55         ` TK
2022-03-30  7:08           ` TK [this message]
2022-03-29 10:22     ` Todor Kondić

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AW-jpV_n1OjnTPSsEcAyMANBg_HFSQ3AmEoZhrMzd6R2inKKh4AniEUeSkuxuyYXReewRI3oIcQ0FfEhBWhr_JIjhLDwkXDKGrAYKhFkyGk=@protonmail.com' \
    --to=tkprom@protonmail.com \
    --cc=help-guix@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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.