emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Garreau\, Alexandre" <galex-713@galex-713.eu>
To: emacs-orgmode@gnu.org
Subject: Previewing chemfig
Date: Sun, 02 Nov 2014 20:17:15 +0100	[thread overview]
Message-ID: <13wl8xzzzzzz.3es.xxuns.g6.gal@galex-713.eu> (raw)

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

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.

Is there any way to do this? Otherwise, how could I fix it? Which part
of org-mode to hack? Could this be improved for next release?

[-- Attachment #2: Type: application/pgp-signature, Size: 948 bytes --]

             reply	other threads:[~2014-11-02 19:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-02 19:17 Garreau, Alexandre [this message]
2014-11-02 19:45 ` Previewing chemfig Nicolas Goaziou
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=13wl8xzzzzzz.3es.xxuns.g6.gal@galex-713.eu \
    --to=galex-713@galex-713.eu \
    --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).