From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Directional quotes in html Date: Wed, 07 Dec 2011 03:25:37 +0530 Message-ID: <817h299xgm.fsf@gmail.com> References: <20111206211219.GM3199@arendt.tychoish.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RY2zX-0007b1-L7 for emacs-orgmode@gnu.org; Tue, 06 Dec 2011 16:56:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RY2zW-0002EW-8q for emacs-orgmode@gnu.org; Tue, 06 Dec 2011 16:55:59 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:38722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RY2zW-0002ES-5f for emacs-orgmode@gnu.org; Tue, 06 Dec 2011 16:55:58 -0500 Received: by iapp10 with SMTP id p10so9373907iap.0 for ; Tue, 06 Dec 2011 13:55:57 -0800 (PST) In-Reply-To: <20111206211219.GM3199@arendt.tychoish.net> (tycho garen's message of "Tue, 6 Dec 2011 16:12:19 -0500") 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: tycho garen Cc: emacs-orgmode@gnu.org, Herbert Sitz tycho garen 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 clo= sing >> 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-directio= nal. > > The directional quotes are processed by LaTeX and org have very little > to do with this. If one has=20 --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=20 --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 "´" "'" "=C2=B4" "=C2=B4") | ("ldquo" "\\textquotedblleft{}" nil "“" "\"" "\"" "=E2=80=9C") | ("rdquo" "\\textquotedblright{}" nil "”" "\"" "\"" "=E2=80=9D") | ("bdquo" "\\quotedblbase{}" nil "„" "\"" "\"" "=E2=80=9E") | ("lsquo" "\\textquoteleft{}" nil "‘" "`" "`" "=E2=80=98") | ("rsquo" "\\textquoteright{}" nil "’" "'" "'" "=E2=80=99") | ("sbquo" "\\quotesinglbase{}" nil "‚" "," "," "=E2=80=9A") | ("laquo" "\\guillemotleft{}" nil "«" "<<" "=C2=AB" "=C2=AB") | ("raquo" "\\guillemotright{}" nil "»" ">>" "=C2=BB" "=C2=BB") | ("lsaquo" "\\guilsinglleft{}" nil "‹" "<" "<" "=E2=80=B9") | ("rsaquo" "\\guilsinglright{}" nil "›" ">" ">" "=E2=80=BA") `---- --=20