all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Export PDFs in Emacs Org
@ 2021-03-12 14:55 Phil
  2021-03-12 15:57 ` Ricardo Wurmus
  0 siblings, 1 reply; 6+ messages in thread
From: Phil @ 2021-03-12 14:55 UTC (permalink / raw)
  To: help-guix

Hi,

I've been trying to export emacs org files into PDFs using Guix.

I've the PDF generation from the .tex file is failing.

The issue has been discussed a few times previously, eg:
https://lists.gnu.org/archive/html/help-guix/2019-02/msg00087.html

But there is conflicting advice over what packages should or shouldn't
be installed typically some combinaton of:
texlive-base, texlive-bin, texlive-latex-base, texlive-latext-font

The latest advice seems to be the only texlive-base should be necessary
and installing others will cause an issue - with that in mind I
attempted the below, but got a new failure.

I've recreated the pdflatex step on the command line - it gives exactly
the same error as the emacs error buffer contains.

The org file exports without issue in Ubuntu 18.04 with the following
(which may be more than I need):
sudo apt-get install texlive-latex-base texlive-fonts-recommended
texlive-fonts-extra texlive-latex-extra emacs python3 python3-pygments

Any ideas what the minimum Guix package set is (or even a carpet-bomb
approach with a meta-package would be OK)?

Thanks,
Phil.



$ guix package -p profiles/book -m profiles/book.manifest
guix package: warning: Your Guix installation is 47 days old.
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

The following packages will be installed:
   emacs           27.1
   python          3.8.2
   python-pygments 2.6.1
   texlive-base    51265

hint: Consider setting the necessary environment variables by running:

     GUIX_PROFILE="/home/foo/profiles/book"
     . "$GUIX_PROFILE/etc/profile"

Alternately, see `guix package --search-paths -p "/home/foo/profiles/book"'.



$  GUIX_PROFILE="/home/foo/profiles/book"

$ . "$GUIX_PROFILE/etc/profile"

$ pdflatex Developer-Setup.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./Developer-Setup.tex
LaTeX2e <2018-12-01>
(/home/foo/profiles/book/share/texmf-dist/tex/latex/base/book.cls
Document Class: book 2018/09/03 v1.4i Standard LaTeX document class
(/home/foo/profiles/book/share/texmf-dist/tex/latex/base/bk10.clo)) (/home/foo/profiles/book/share/texmf-dist/tex/latex/base/inputenc.
sty) (/home/foo/profiles/book/share/texmf-dist/tex/latex/base/fontenc.sty (/home/foo/profiles/book/share/texmf-dist/tex/latex/base/t1e
nc.def)
kpathsea: Running mktextfm ecrm1000
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1000
This is METAFONT, Version 2.7182818 (TeX Live 2019) (preloaded base=mf)


kpathsea: Running mktexmf ecrm1000
! I can't find file `ecrm1000'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input ecrm1000

Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input ecrm1000

Transcript written on mfput.log.
grep: ecrm1000.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1000' failed to make ecrm1000.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font T1/cmr/m/n/10=ecrm1000 at 10.0pt not loadable: Metric (TFM) file not found.
<to be read again>
                   relax
l.105 \fontencoding\encodingdefault\selectfont


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

end of thread, other threads:[~2021-03-14  1:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-12 14:55 Export PDFs in Emacs Org Phil
2021-03-12 15:57 ` Ricardo Wurmus
2021-03-12 20:33   ` Phil Beadling
2021-03-12 22:35   ` Dr. Arne Babenhauserheide
2021-03-12 22:53     ` Ricardo Wurmus
2021-03-14  1:04       ` Phil

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.