Rafael <rvf0...@gmail.com> 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