emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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 "&quot;" "\"" "\"" "\"")
|     ("acute" "\\textasciiacute{}" nil "&acute;" "'" "´" "´")
|     ("ldquo" "\\textquotedblleft{}" nil "&ldquo;" "\"" "\"" "“")
|     ("rdquo" "\\textquotedblright{}" nil "&rdquo;" "\"" "\"" "”")
|     ("bdquo" "\\quotedblbase{}" nil "&bdquo;" "\"" "\"" "„")
|     ("lsquo" "\\textquoteleft{}" nil "&lsquo;" "`" "`" "‘")
|     ("rsquo" "\\textquoteright{}" nil "&rsquo;" "'" "'" "’")
|     ("sbquo" "\\quotesinglbase{}" nil "&sbquo;" "," "," "‚")
|     ("laquo" "\\guillemotleft{}" nil "&laquo;" "<<" "«" "«")
|     ("raquo" "\\guillemotright{}" nil "&raquo;" ">>" "»" "»")
|     ("lsaquo" "\\guilsinglleft{}" nil "&lsaquo;" "<" "<" "‹")
|     ("rsaquo" "\\guilsinglright{}" nil "&rsaquo;" ">" ">" "›")
`----
-- 

  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

  List information: https://www.orgmode.org/

* 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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).