From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: plus <ctre@users.sourceforge.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Latex fragments: snippet-flag in packages alist ignored in 9.0.4
Date: Sat, 11 Feb 2017 02:36:37 +0100 [thread overview]
Message-ID: <87inohqziy.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <vrivinojw3wt.fsf@users.sourceforge.net> (plus's message of "Thu, 09 Feb 2017 21:38:26 +0200")
Hello,
plus <ctre@users.sourceforge.net> writes:
> Steps to reproduce:
> 1. emacs -Q
> 2. load org 9.0.4
> 3. (add-to-list 'org-latex-packages-alist '("" "polyglossia" nil))
> 4. switch to org-mode and attempt to render any fragment, e.g. $test$
> 5. error
>
> If you look at the tex file produced, polyglossia has been included in
> the preamble even though snippet-flag is nil. Additionally longtable,
> wrapfig, rotating, capt-of, hyperref are all included in the preamble
> despite the fact their snippet-flag is nil. (These are packages in
> org-latex-default-packages-alist).
>
> The relevant function that has been changed in 9.0.4 is
> `org-create-formula-image'. It looks like the function used to generate
> latex-header, `org-create-formula--latex-header', has been replaced with
> `org-latex-make-preamble' (defined in ox-latex.el).
>
> Restoring org-create-formula--latex-header from 9.0.3 and redefining
> org-create-formula-image again restores the old behaviour for me. Of
> course I don’t know what the problem actually is with the new
> function.
Fixed. Thank you.
Regards,
--
Nicolas Goaziou
prev parent reply other threads:[~2017-02-11 1:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 19:38 Bug: Latex fragments: snippet-flag in packages alist ignored in 9.0.4 plus
2017-02-11 1:36 ` Nicolas Goaziou [this message]
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://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87inohqziy.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=ctre@users.sourceforge.net \
--cc=emacs-orgmode@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).