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: Jambunathan K
Subject: Re: [O] Directional quotes in html
Date: Wed, 07 Dec 2011 03:25:37 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (windows-nt)

tycho garen <address@hidden> 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;" ">" ">" "›")
`----
-- 



reply via email to

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