[Top][All Lists]

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

Export PDFs in Emacs Org

From: Phil
Subject: Export PDFs in Emacs Org
Date: Fri, 12 Mar 2021 14:55:15 +0000
User-agent: mu4e 1.2.0; emacs 26.3


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:

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)?


$ 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/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 
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2018-12-01>
Document Class: book 2018/09/03 v1.4i Standard LaTeX document class
sty) (/home/foo/profiles/book/share/texmf-dist/tex/latex/base/fontenc.sty 
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 
<to be read again>
l.105 \fontencoding\encodingdefault\selectfont

reply via email to

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