all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phil Beadling <phil@beadling.co.uk>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Export PDFs in Emacs Org
Date: Fri, 12 Mar 2021 20:33:03 +0000	[thread overview]
Message-ID: <CAOvsyQt6PL1rg=b7+y5TZaqrb+md1ej8Hk1G0qYKh2DKd2ZNzQ@mail.gmail.com> (raw)
In-Reply-To: <87lfasnz4k.fsf@elephly.net>

On Fri, 12 Mar 2021 at 15:57, Ricardo Wurmus <rekado@elephly.net> wrote:

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

Thanks for the hint Ricardo - I've made a lot of headway off this - and I'm
close to having it working properly

I had to use `guix import` for the minted, fvextra, and lineno packages - I
couldn't see anything in Guix itself which would supply these?

The guix import for lineno built correctly but, pdflatex didn't pick it up
the lineno.sty. Finally xstring package couldn't be automatically imported.

So I ended up with the following files in the same directory as my emacs
org and generated tex file
lineno.sty
xstring.sty
xstring.tex

That plus the following in my profile:
   emacs                    27.1
   python                   3.8.2
   python-pygments          2.6.1
   subversion               1.14.0
   texlive-amsfonts         51265
   texlive-base             51265
   texlive-etoolbox         51265
   texlive-fonts-ec         51265
   texlive-generic-ulem     51265
   texlive-latex-capt-of    51265
   texlive-latex-fancyvrb   51265
   texlive-latex-float      51265
   texlive-latex-framed     51265
   texlive-latex-fvextra    1.4
   texlive-latex-hyperref   6.84a2
   texlive-latex-ifplatform 51265
   texlive-latex-lineno     4.41
   texlive-latex-minted     2.5
   texlive-latex-oberdiek   51265
   texlive-latex-upquote    51265
   texlive-latex-wrapfig    51265
   texlive-xcolor           51265

At this point emacs built a PDF, but "with errors", and would refuse to
display it (although Adobe Reader did display it and it looked OK).

Looking at the *Org PDF LaTeX Output* buffer in emacs I see the following
issues, which I assume is what emacs is complaining about:
! Math formula deleted: Insufficient symbol fonts.
! Math formula deleted: Insufficient extension fonts

At a rough guess I would have thought that the amsfonts package might have
convered this - but no TeX expert?

Any ideas on how to resolve this.

Also if anyone has seen the texllive-latext-lineno issue before any ideas
on why the sty file isn't picked after a successful install?


>
>

  reply	other threads:[~2021-03-12 20:33 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
2021-03-12 20:33   ` Phil Beadling [this message]
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

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

  git send-email \
    --in-reply-to='CAOvsyQt6PL1rg=b7+y5TZaqrb+md1ej8Hk1G0qYKh2DKd2ZNzQ@mail.gmail.com' \
    --to=phil@beadling.co.uk \
    --cc=help-guix@gnu.org \
    --cc=rekado@elephly.net \
    /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.