From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Quotes for LaTeX export Date: Wed, 05 Feb 2014 14:44:01 +0100 Message-ID: <87lhxpznby.fsf@gmx.us> References: <87eh3iftc7.fsf@gmx.us> <87ppn1zrkc.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB2ka-0001qu-Js for emacs-orgmode@gnu.org; Wed, 05 Feb 2014 08:42:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WB2kU-00012l-TE for emacs-orgmode@gnu.org; Wed, 05 Feb 2014 08:42:48 -0500 Received: from mout.gmx.net ([212.227.15.19]:64335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB2kU-00012U-It for emacs-orgmode@gnu.org; Wed, 05 Feb 2014 08:42:42 -0500 Received: from x200s ([109.201.152.25]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MfjJY-1VqBwS3qho-00NC3Y for ; Wed, 05 Feb 2014 14:42:41 +0100 In-Reply-To: (Laurens Van Houtven's message of "Wed, 5 Feb 2014 14:31:25 +0100") 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: _@lvh.io Cc: emacs-orgmode@gnu.org Hi Laurens, Laurens Van Houtven <_@lvh.io> writes: > On Wed, Feb 5, 2014 at 1:12 PM, Rasmus wrote: > >> This is exactly the reasons why I don't want to use csquotes: >> >> \enquote{something}. >> > > I'm not sure I understand. Are you suggesting the syntax is bad? I'm suggesting it makes adds noise that makes the source even harder to read than it is. With Emacs you could of course make it look pretty again. . . >> But check for instance org-latex-tables-booktabs, which makes optional >> support for booktabs. That kind of support for csquote is of course >> OK. One reason I'd not use this is that the quotes exported to HTML >> and LaTeX are no longer in sync. Which is why I'd rather see >> customization through a user smart quote alist. >> > Okay, that's a fair argument. It would require consistent configuration in > more than one place, unless (I think?) Org's LaTeX export automagically > use/configure Babel. To use Babel add ("AUTO" "babel" nil) to org-latex-packages-alist or -default-package-alist. AUTO is replaced with the correct language. >> Org already has semantic quote characters, namely '"' and "'". > > Right: I'm talking about TeX and not org-mode there. The semantic way to > say "this is quoted" is csquotes and \enquote. But this is the Org-ML. I assume you're interested in using Org for producing your tex files? > Are those code points U+0022 QUOTATION MARK and U+0027 APOSTROPHE? (I am > not an org-mode expert. I'm assuming org-mode does operate on code points, > not bytes?).=20=20 On my computer I produce the quotation with S-2. On most layouts these are the most straightforward quoting characters. If you use smartquotes they are exported according to your language. >> \documentclass{article} >> \usepackage{fontspec} >> \addfontfeatures{Mapping=3D} >> \addfontfeatures{Ligatures=3D} >> \begin{document} >> ``test'' >> \end{document} >> >> Could you share a snip that reproduces your problem? > That appears to compile correctly on my machine as well. Perhaps there is= a > discrepancy between how I'm building the tex file and how org is building > the intermediary tex file. I will investigate :) I was not able to produce non-working files via Org either. . . But I didn't test from emacs -q. =E2=80=93Rasmus --=20 C is for Cookie