all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Timothy <tecosaur@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: (Feature Request) customise LaTeX-preview regex
Date: Tue, 19 May 2020 12:45:45 +0100	[thread overview]
Message-ID: <874kscb11y.fsf@ucl.ac.uk> (raw)
In-Reply-To: <6D5F9F2B-7450-4D15-B069-213255C2EC0F@getmailspring.com> (Timothy's message of "Tue, 19 May 2020 15:49:26 +0800")

On Tuesday, 19 May 2020 at 15:49, Timothy wrote:
> #+LATEX_HEADER: \usepackage{mhchem}
> \ce{CO2} @@latex:\ce{CO2}@@

You probably need to add this to =org-latex-packages-alist= in your
emacs configuration:

  (add-to-list 'org-latex-packages-alist '("version=3" "mhchem"))

Also, you might be interested in using the org-fragtog MELPA package.

-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-640-g9bc0cc


  reply	other threads:[~2020-05-19 12:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-19  1:59 (Feature Request) customise LaTeX-preview regex Timothy
2020-05-19  7:26 ` Nicolas Goaziou
2020-05-19  7:49   ` Timothy
2020-05-19 11:45     ` Eric S Fraga [this message]
2020-05-19 14:27       ` Timothy
2020-06-14 13:53         ` TEC
2020-06-14 17:30           ` Nicolas Goaziou
2020-06-15  9:04           ` Eric S Fraga
  -- strict thread matches above, loose matches on Subject: below --
2020-05-18  7:10 Timothy

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874kscb11y.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=tecosaur@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.