From: Christian Moe <mail@christianmoe.com>
To: Herbert Sitz <hesitz@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Directional quotes in html
Date: Tue, 06 Dec 2011 20:09:00 +0100 [thread overview]
Message-ID: <4EDE684C.7000801@christianmoe.com> (raw)
In-Reply-To: <loom.20111206T192103-670@post.gmane.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
next prev parent reply other threads:[~2011-12-06 19:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 18:25 Directional quotes in html Herbert Sitz
2011-12-06 19:09 ` Christian Moe [this message]
2011-12-06 20:37 ` Herbert Sitz
2011-12-06 22:55 ` Christian Moe
2011-12-07 9:44 ` Christer Boräng
2011-12-07 10:04 ` Christian Moe
2011-12-06 21:12 ` tycho garen
2011-12-06 21:45 ` Herbert Sitz
2011-12-06 21:55 ` Jambunathan K
2011-12-07 8:58 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EDE684C.7000801@christianmoe.com \
--to=mail@christianmoe.com \
--cc=emacs-orgmode@gnu.org \
--cc=hesitz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.