all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How is the LaTeX-related file psfonts.map installed on Guix?
@ 2021-05-02 15:03 Rovanion Luckey
  2021-05-03  9:35 ` Andreas Enge
  2021-05-03 13:44 ` Ricardo Wurmus
  0 siblings, 2 replies; 5+ messages in thread
From: Rovanion Luckey @ 2021-05-02 15:03 UTC (permalink / raw)
  To: Guix Devel, rekado, mhw

[-- Attachment #1: Type: text/plain, Size: 2263 bytes --]

Hi,
I'm trying to define a Guix environment that enables the following LaTeX
document to be compiled:

\documentclass[a4paper,12pt]{article}
> \usepackage[utf8]{inputenc}
> \usepackage[swedish]{babel}
> \usepackage{url}
> \usepackage{color}
> \usepackage[colorlinks=true, linkcolor=blue, urlcolor=blue]{hyperref\
> }
> \usepackage[T1]{fontenc}
> \usepackage{lmodern}
> \usepackage{morefloats}
> \usepackage{sectsty}
> \usepackage{ifmtarg}
> \usepackage{pagenote}
>
> \makepagenote
> \let\footnote\pagenote
> \renewcommand*{\notedivision}{\section*{\notesname}}
> \renewcommand*{\pagenotesubhead}[2]{}
>
> \begin{document}
>
> \title{\textsc{\Huge Curriculum Vitae\\[0.5cm]}}
> \newpage
>
> \setlength{\hoffset}{0pt}
>
> \printnotes
>
> \end{document}
>

It's a reduced version of the real document I'm writing. Right now I've
packaged a bunch of things that were missing like
texlive-generic-babel-swedish, texlive-morefloats, texlive-sectsty,
texlive-ifmtarg and texlive-pagenote for an environment that is started
with the following call:

$ ~/source/guix/main/pre-inst-env guix environment --ad-hoc texlive-base
texlive-generic-babel-swedish texlive-url texlive-latex-hyperref
texlive-fonts-ec texlive-lm texlive-morefloats texlive-sectsty
texlive-pagenote

But I'm now stuck at the following error that pdflatex throws at me:

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600
> ec-lmr12
> gsftopk: fatal: map file `psfonts.map' not found.
> mktexpk: don't know how to create bitmap font for ec-lmr12.
> mktexpk: perhaps ec-lmr12 is missing from the map file.
> kpathsea: Appending font creation commands to missfont.log.
>  )
> !pdfTeX error: pdflatex (file ec-lmr12): Font ec-lmr12 at 600 not found
>  ==> Fatal error occurred, no output PDF file produced!
>

I've looked at the Debian package and it looks to be provided by
texlive-base: https://packages.debian.org/buster/all/texlive-base/filelist.
The same folder path in Guix seems to be generated by the function
gnu/packages/tex.scm:texlive-union; but I have no idea how I would go about
having it generate the .map-file I want it to.

Does anyone happen to have any idea what to do here. I've spent a couple of
hours without getting anywhere, so any hints would be appreciated.

[-- Attachment #2: Type: text/html, Size: 2887 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-04 20:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-02 15:03 How is the LaTeX-related file psfonts.map installed on Guix? Rovanion Luckey
2021-05-03  9:35 ` Andreas Enge
2021-05-03 13:44 ` Ricardo Wurmus
2021-05-04 16:21   ` Rovanion Luckey
2021-05-04 20:35     ` Ricardo Wurmus

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.