From: Diego Nicola Barbato <diego@GLaDOS.i-did-not-set--mail-host-address--so-tickle-me>
To: emacs-orgmode@gnu.org
Subject: Bug: startup latexpreview [9.0.5 (9.0.5-elpa @ /gnu/store/...-emacs-org-20170210/share/emacs/site-lisp/guix.d/org-20170210/)]
Date: Sun, 19 Mar 2017 22:52:47 +0100 [thread overview]
Message-ID: <87tw6p7x3k.fsf@GLaDOS.i-did-not-set--mail-host-address--so-tickle-me> (raw)
[-- Attachment #1: Type: text/plain, Size: 1184 bytes --]
Hello,
When opening an org-file in emacs which contains the in-buffer setting
"#+STARTUP: latexpreview"
the minibuffer displays
"Creating images for section...done"
instead of
"Creating images for buffer...done"
and the LaTeX fragments in the buffer are not converted to
images. However, if I type
"C-u C-u C-c C-x C-l"
or
"C-u C-u M-x org-toggle-latex-fragment RET"
Org behaves as expected, by converting all LaTeX fragments to images.
I believe this happens because in org.el on line 5682 the function
org-toggle-latex-fragment is called with no argument, which does only
create images for the current section. AFAICT org-toggle-latex-fragment
should be called with '(16) as argument.
The enclosed documents are a minimal setup for loading nothing but
orgmode (emacs -Q -l /path/to/minimal-org.el) and a simple test file
which produces the error I describe above.
Emacs : GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.6)
of 2017-03-04
Package: Org mode version 9.0.5 (9.0.5-elpa @ /gnu/store/ky6z4kg7lq5g5w2ylyq692sc4ypx9vmr-emacs-org-20170210/share/emacs/site-lisp/guix.d/org-20170210/)
I hope you'll find this bug-report helpful
Diego N. Barbato
[-- Attachment #2: minimal setup --]
[-- Type: application/emacs-lisp, Size: 338 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: test file --]
[-- Type: text/x-org, Size: 129 bytes --]
#+STARTUP: latexpreview
* Formula 1
** a
\[ \int\limits_a^b f(x) \, \mathrm{d}x \]
** b
\[ \int_a^b f(x) \, \mathrm{d}x \]
next reply other threads:[~2017-03-19 22:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-19 21:52 Diego Nicola Barbato [this message]
2017-03-30 10:49 ` Bug: startup latexpreview [9.0.5 (9.0.5-elpa @ /gnu/store/...-emacs-org-20170210/share/emacs/site-lisp/guix.d/org-20170210/)] Nicolas Goaziou
-- strict thread matches above, loose matches on Subject: below --
2017-03-19 22:00 Diego Nicola Barbato
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=87tw6p7x3k.fsf@GLaDOS.i-did-not-set--mail-host-address--so-tickle-me \
--to=diego@glados.i-did-not-set--mail-host-address--so-tickle-me \
--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).