From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Previewing chemfig Date: Sun, 02 Nov 2014 20:45:24 +0100 Message-ID: <877fzdidyj.fsf@nicolasgoaziou.fr> References: <13wl8xzzzzzz.3es.xxuns.g6.gal@galex-713.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xl14t-0007Sh-PU for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 14:44:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xl14m-0006DU-1S for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 14:44:43 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:50320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xl14l-0006DK-Re for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 14:44:35 -0500 In-Reply-To: <13wl8xzzzzzz.3es.xxuns.g6.gal@galex-713.eu> (Alexandre Garreau's message of "Sun, 02 Nov 2014 20:17:15 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Garreau, Alexandre" Cc: emacs-orgmode@gnu.org Hello, "Garreau, Alexandre" writes: > Hello, I=E2=80=99d like to being able to preview chemfig, like lines begi= nning > with \chemfig{. > > But (a) they=E2=80=99re not detected as LaTeX fragments by the previewer = (and it > seems only some matchers are accepted by default, I can=E2=80=99t say, for > instance, =E2=80=9C^{\\[a-zA-Z]*[a-zA-Z0-9 ].*}$=E2=80=9D), and (b) when = previewing I > don=E2=80=99t see any way to include packages, like =E2=80=9C\usepackage{= chemfig}=E2=80=9D, so > that even =E2=80=9C\begin{flushleft}<\n>\chemfig{O=3DO}<\n>\end{flushleft= }=E2=80=9D, for > instance, doesn=E2=80=99t work. Have you tried #+LATEX_HEADER: \usepackage{chemfig} Regards, --=20 Nicolas Goaziou