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: Re: Previewing chemfig
Date: Sun, 02 Nov 2014 21:09:48 +0100	[thread overview]
Message-ID: <586zjyzzzzzz.ofs.xxuns.g6.gal@galex-713.eu> (raw)
In-Reply-To: <877fzdidyj.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 02 Nov 2014 20:45:24 +0100")

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

Le 02/11/2014 à 20h45, Nicolas Goaziou a écrit :
> 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}

Yes. I think it doesn’t influence the preview system.

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

  reply	other threads:[~2014-11-02 20:10 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
2014-11-02 20:09   ` Garreau, Alexandre [this message]
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=586zjyzzzzzz.ofs.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).