From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Strey Subject: Re: Quotes for LaTeX export Date: Thu, 06 Feb 2014 12:31:40 +0100 Message-ID: <87vbwszdcz.fsf@strey.biz> References: <871tzh1qwf.fsf@strey.biz> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBNBi-0000i2-1q for Emacs-orgmode@gnu.org; Thu, 06 Feb 2014 06:32:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBNBc-0002xk-Lk for Emacs-orgmode@gnu.org; Thu, 06 Feb 2014 06:32:09 -0500 Received: from mx2.supremebox.com ([198.23.53.42]:42627 helo=mx1.supremebox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBNBc-0002sS-Hg for Emacs-orgmode@gnu.org; Thu, 06 Feb 2014 06:32:04 -0500 Received: from [77.179.8.211] (helo=localhost) by mx1.supremebox.com with esmtpa (Exim 4.80) (envelope-from ) id 1WBNBP-0004FG-7V for Emacs-orgmode@gnu.org; Thu, 06 Feb 2014 11:31:58 +0000 In-reply-to: <871tzh1qwf.fsf@strey.biz> 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: Emacs-orgmode@gnu.org Hi Laurens, _@lvh.io writes: [...] > The preferred way to do that these days is, in the preamble: > > \usepackage{csquotes} > > ... and then later: > > \enquote{something} > > I think it would make sense to support this for org, and perhaps eventually > make it default behavior. FWIW: I had no idea about this until it bit me > when my LaTeX document suddenly had bogus quotes in it. IMHO, it would be nice to have a customizable org-export-user-smart-quote-alist as already mentioned by Rasmus. This would give the maximal flexibility to comply with this wish and similar wishes. BUT in this concrete case, the problem can be tackled from the LaTeX side as well. Section 10.8 of the documentation of the csquote package shows a way for documents with only one language: \documentclass{...} \usepackage[german]{babel} \usepackage[babel=once]{csquotes} \defineshorthand{"`}{\openautoquote} \defineshorthand{"'}{\closeautoquote} Best regards -- Michael Strey http://www.strey.biz