emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to replace \( by $$ and such when exporting to markdown


From: Rasmus
Subject: Re: [O] How to replace \( by $$ and such when exporting to markdown
Date: Mon, 27 Jan 2014 02:33:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Rafael <address@hidden> writes:

> Hi all,
>
> I'm trying to publish some beamer presentations with mathematical
> content as pages in octopress. I think I'm on my way to get a working
> setup, but I would like some help to achieve the following:
>
> With an up-to-date org (from git), define some functions that, when
> exporting to markdown with ox-md, automatically replace all instances of
> \(, \), \[ and \] with $$.
>
> Thanks in advance for any help.

You want to look into filters, probably
org-export-filter-latex-fragment-functions and
org-export-filter-latex-environment-functions.  They are listed in
ox.el.  It should be fairly easy to deal with in your case with
regexp.

–Rasmus

-- 
Together we'll stand, divided we'll fall




reply via email to

[Prev in Thread] Current Thread [Next in Thread]