emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Directional quotes in html


From: Christian Moe
Subject: Re: [O] Directional quotes in html
Date: Tue, 06 Dec 2011 20:09:00 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2

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

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