From: Jambunathan K <kjambunathan@gmail.com>
To: tycho garen <garen@tychoish.com>
Cc: emacs-orgmode@gnu.org, Herbert Sitz <hesitz@gmail.com>
Subject: Re: Directional quotes in html
Date: Wed, 07 Dec 2011 03:25:37 +0530 [thread overview]
Message-ID: <817h299xgm.fsf@gmail.com> (raw)
In-Reply-To: <20111206211219.GM3199@arendt.tychoish.net> (tycho garen's message of "Tue, 6 Dec 2011 16:12:19 -0500")
tycho garen <garen@tychoish.com> writes:
> On Tue, Dec 06, 2011 at 06:25:09PM +0000, Herbert Sitz wrote:
>> In my exports to pdf standard double-quote and single-quote (apostrophe)
>> characters both get translated to corresponding pairs of opening and closing
>> quotes. But in export to html both double- and single-quotes seem to be same
>> in resulting html as they were in the org text, non-paired, non-directional.
>
> The directional quotes are processed by LaTeX and org have very little
> to do with this.
If one has
--8<---------------cut here---------------start------------->8---
(setq org-export-with-TeX-macros t)
--8<---------------cut here---------------end--------------->8---
then I believe something like
--8<---------------cut here---------------start------------->8---
\rdquo This is a quoted text \ldquo
--8<---------------cut here---------------end--------------->8---
will do the trick. FWIW, a dump of quotations section in
org-entities.el.
,----
| "** Quotations"
| ("quot" "\\textquotedbl{}" nil """ "\"" "\"" "\"")
| ("acute" "\\textasciiacute{}" nil "´" "'" "´" "´")
| ("ldquo" "\\textquotedblleft{}" nil "“" "\"" "\"" "“")
| ("rdquo" "\\textquotedblright{}" nil "”" "\"" "\"" "”")
| ("bdquo" "\\quotedblbase{}" nil "„" "\"" "\"" "„")
| ("lsquo" "\\textquoteleft{}" nil "‘" "`" "`" "‘")
| ("rsquo" "\\textquoteright{}" nil "’" "'" "'" "’")
| ("sbquo" "\\quotesinglbase{}" nil "‚" "," "," "‚")
| ("laquo" "\\guillemotleft{}" nil "«" "<<" "«" "«")
| ("raquo" "\\guillemotright{}" nil "»" ">>" "»" "»")
| ("lsaquo" "\\guilsinglleft{}" nil "‹" "<" "<" "‹")
| ("rsaquo" "\\guilsinglright{}" nil "›" ">" ">" "›")
`----
--
next prev parent reply other threads:[~2011-12-06 21:56 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
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 [this message]
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=817h299xgm.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=garen@tychoish.com \
--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.