From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: Directional quotes in html Date: Tue, 06 Dec 2011 20:09:00 +0100 Message-ID: <4EDE684C.7000801@christianmoe.com> References: Reply-To: mail@christianmoe.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RY0JO-0004GK-Ml for emacs-orgmode@gnu.org; Tue, 06 Dec 2011 14:04:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RY0JI-0004AS-VJ for emacs-orgmode@gnu.org; Tue, 06 Dec 2011 14:04:18 -0500 Received: from b1.hitrost.net ([91.185.211.67]:41005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RY0JI-0003uP-QF for emacs-orgmode@gnu.org; Tue, 06 Dec 2011 14:04:12 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Herbert Sitz Cc: emacs-orgmode@gnu.org 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