unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Phil <phil@beadling.co.uk>
Cc: help-guix@gnu.org
Subject: Re: Export PDFs in Emacs Org
Date: Fri, 12 Mar 2021 16:57:31 +0100	[thread overview]
Message-ID: <87lfasnz4k.fsf@elephly.net> (raw)
In-Reply-To: <857dmcmnfw.fsf@beadling.co.uk>


Hi Phil,

> 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.

“texlive-base” is certainly not sufficient for any real world LaTeX
document.  It contains what LaTeX developers consider the base set of
files (i.e. texlive-latex-base), texlive-bin (which provides the
executables), and LaTeX packages from the “required” set.

Since it already contains texlive-bin, texlive-latex-base, and
texlive-fonts-latex it is correct that you won’t need to explicitly
install those.

Dependent on the needs of your document, though, you will need to
install more packages that are not part of the “required” set (even
though other distributions may have them installed for convenience).
Exactly what those are is a little tricky to find out.  I usually go by
error messages and then look up the files it complains about in $(guix
build texlive-bin)/share/tlpkg/texlive.tlpdb.

> 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

Note that the Ubuntu package called texlive-latex-base likely doesn’t
correspond to the package of the same name in Guix.

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

Depends on the document, really.  Let me look at the errors.

> ! I can't find file `ecrm1000'.

This is a font provided by the old-style “texlive-fonts-ec” package.

(In the past I worked on and off to replace old-style packages with
corrected versions that actually contain *all* files that the texlive
tlpdb mentions, but I can no longer justify spending time on this kind
of work.)

-- 
Ricardo


  reply	other threads:[~2021-03-12 16:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12 14:55 Export PDFs in Emacs Org Phil
2021-03-12 15:57 ` Ricardo Wurmus [this message]
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

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87lfasnz4k.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=phil@beadling.co.uk \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).