From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Garreau, Alexandre" <galex-713@galex-713.eu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Previewing chemfig
Date: Sun, 02 Nov 2014 20:45:24 +0100 [thread overview]
Message-ID: <877fzdidyj.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <13wl8xzzzzzz.3es.xxuns.g6.gal@galex-713.eu> (Alexandre Garreau's message of "Sun, 02 Nov 2014 20:17:15 +0100")
Hello,
"Garreau, Alexandre" <galex-713@galex-713.eu> writes:
> Hello, I’d like to being able to preview chemfig, like lines beginning
> with \chemfig{.
>
> But (a) they’re not detected as LaTeX fragments by the previewer (and it
> seems only some matchers are accepted by default, I can’t say, for
> instance, “^{\\[a-zA-Z]*[a-zA-Z0-9 ].*}$”), and (b) when previewing I
> don’t see any way to include packages, like “\usepackage{chemfig}”, so
> that even “\begin{flushleft}<\n>\chemfig{O=O}<\n>\end{flushleft}”, for
> instance, doesn’t work.
Have you tried
#+LATEX_HEADER: \usepackage{chemfig}
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2014-11-02 19:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-02 19:17 Previewing chemfig Garreau, Alexandre
2014-11-02 19:45 ` Nicolas Goaziou [this message]
2014-11-02 20:09 ` Garreau, Alexandre
2014-11-02 21:32 ` Nicolas Goaziou
2014-11-02 21:48 ` John Kitchin
2014-11-02 23:57 ` g Garreau, Alexandre
2014-11-03 0:23 ` Rasmus
2014-11-03 1:23 ` Garreau, Alexandre
2014-11-03 21:09 ` John Kitchin
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=877fzdidyj.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=galex-713@galex-713.eu \
/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).