From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Dumbquotes in exported source listings Date: Sun, 01 May 2011 17:31:20 -0400 Message-ID: <13948.1304285480@alphaville.americas.hpqcorp.net> References: <871v0ji04p.fsf@benfinney.id.au> <11009.1304276930@alphaville.americas.hpqcorp.net> <80bozmkw0n.fsf@somewhere.org> Reply-To: nicholas.dokos@hp.com 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]:39084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGeEe-0006R5-AK for emacs-orgmode@gnu.org; Sun, 01 May 2011 17:31:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGeEd-0000n2-2R for emacs-orgmode@gnu.org; Sun, 01 May 2011 17:31:24 -0400 Received: from g1t0027.austin.hp.com ([15.216.28.34]:16781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGeEc-0000my-S2 for emacs-orgmode@gnu.org; Sun, 01 May 2011 17:31:23 -0400 In-Reply-To: Message from =?us-ascii?Q?=3D=3Futf-8=3FQ=3FS=3DC3=3DA9bastie?= =?us-ascii?Q?n=5FVauban=3F=3D?= of "Sun\, 01 May 2011 22\:26\:16 +0200." <80bozmkw0n.fsf@somewhere.org> 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: =?us-ascii?Q?=3D=3Futf-8=3FQ=3FS=3DC3=3DA9bastien=5FVauban=3F=3D?= Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org S=C3=A9bastien Vauban wrote: > > AFAIK, TeX works fine with UTF8, given the defaults that org-mode expor= t uses. > > What problems do you see? >=20 > UTF-8 is correctly handled in LaTeX documents, but not in every environme= nt: > Listings has problems, even if a Listings exist for UTF-8, and so for many > other environments. >=20 > So I would say that UTF-8 usage is still not yet fully supported in TeX. >=20 Yes, I misspoke: I should have said LaTeX, not TeX (but there are versions of TeX that work correctly with UTF-8 - XeTeX and Omega are two such I think, but I have never used them, so take with the appropriate grain of salt.) And I'm sure I was being very parochial in my thinking: inputenc/fontenc !=3D "works fine". And I'm also sure there are LaTeX packages that mishandle UTF-8, although I didn't realize that listings is one of them. What are the problems? But there are probably many pitfalls here that I've never even thought of. Can somebody refer me to a concise discussion of the problems (before *this* discussion becomes even more OT for this list)? I don't want to wade deep: just to understand what the main problems are. Thanks, Nick