On 12/6/11 7:25 PM, Herbert Sitz wrote:
What is best way to get directional pairs of open- and close-quotes in html
export?

-- Herb

Hi, Herb,

I keep this in my .emacs:

(setq org-export-html-special-string-regexps
      (cons
       '(" \"\\([^\"]+\\)\"" . " “\\1”")
       org-export-html-special-string-regexps))

There may be a better way to do it altogether, and I'm sure the very simple regexp could be improved on (in fact, I'm posting this in the hope someone will improve on it), but it mostly works.

Yours,
Christian



Reply via email to