emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Arne Babenhauserheide <arne_bab@web.de>
To: emacs-orgmode@gnu.org
Subject: Bug: Images with link break LaTeX export with centered images [9.3.6 (9.3.6-elpa @ /home/arne/.guix-profile/share/emacs/site-lisp/)]
Date: Sun, 10 May 2020 10:40:26 +0200	[thread overview]
Message-ID: <87v9l4npxh.fsf@web.de> (raw)

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See


Your bug report will be posted to the Org mailing list.

When I use the syntax for images with link, exporting to LaTeX fails,
because it uses \begin{center} inside the href:


I have a workaround to set

    # Local Variables:
    # org-latex-images-centered: nil
    # End:

but this is no proper fix.

To reproduce: use linked image syntax like this:


Then export to LaTeX.

Expected: Exports to LaTeX with centered images.

Actual: Export fails with

    [2] [3 <./covid-19-germany-infections-by-date.png>] [4] [5 <./covid-19-germany-
    infections-by-date-prognosen.png>] [6]
    ! pdfTeX error (ext1): \pdfendlink cannot be used in vertical mode.
    \close@pdflink ...\Hy@VerboseLinkStop \pdfendlink 
    l.135 \end{center}}
    !  ==> Fatal error occurred, no output PDF file produced!
    Transcript written on .//covid-19-naiver-blick.log.

Best wishes,

Emacs  : GNU Emacs 26.3 (build 1, x86_64-unknown-linux-gnu, GTK+ Version 3.24.14)
Package: Org mode version 9.3.6 (9.3.6-elpa @ /home/arne/.guix-profile/share/emacs/site-lisp/)
Unpolitisch sein
heißt politisch sein
ohne es zu merken

             reply	other threads:[~2020-05-10  8:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-10  8:40 Arne Babenhauserheide [this message]
2020-05-10 12:45 ` Nicolas Goaziou
2020-05-10 18:28   ` Arne Babenhauserheide

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:

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87v9l4npxh.fsf@web.de \
    --to=arne_bab@web.de \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Bug: Images with link break LaTeX export with centered images [9.3.6 (9.3.6-elpa @ /home/arne/.guix-profile/share/emacs/site-lisp/)]' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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