From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Salome \=\?iso-8859-1\?Q\?S\=F6dergran"?= Subject: Re: exporting quotes Date: Wed, 6 Aug 2014 11:09:51 +0200 Message-ID: <21473.61663.989801.804681@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XExER-00030M-Fg for emacs-orgmode@gnu.org; Wed, 06 Aug 2014 05:10:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XExEL-00017Y-EH for emacs-orgmode@gnu.org; Wed, 06 Aug 2014 05:10:03 -0400 Received: from zhhdzmsp-smta16.bluewin.ch ([195.186.227.132]:35980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XExEL-00016x-7j for emacs-orgmode@gnu.org; Wed, 06 Aug 2014 05:09:57 -0400 Received: from athen (178.196.93.52) by zhbdzmsp-smta13.bluewin.ch (8.5.142) (authenticated as jogi@bluewin.ch) id 51DDDBBD1C9D8DE6 for emacs-orgmode@gnu.org; Wed, 6 Aug 2014 09:09:52 +0000 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 > "Salome "S?dergran\"" writes: > > >> "Salome "S?dergran\"" wrote: > >> > I'm looking for a way to make orgmode export quote signs to LaTeX's \enquote{}. > >> > On stackoverflow.com (1) I found a solution that uses > >> > (setq org-export-with-smart-quotes t) > >> > (add-to-list 'org-export-smart-quotes-alist .....) > >> > but on my system I find neither the variable org-export-with-smart-quotes nor > >> > org-export-smartcodes-alist. > >> > > >> > Am I missing something or has the procedure been changed in the meanwhile? > >> > >> You don't use Org mode 8, don't you? Well, that'd explain... > >> > >> Best regards, > >> Seb > >> > >> -- > >> Sebastien Vauban > > > > With M-x org-version I get: > > Org-mode version 8.2.7b (8.2.7b-2-g798733-elpaplus @ /home/salome/.emacs.d/elpa/org-plus-contrib-20140721/) > > > > So the version ought to be ok. What else could be the reason for the missing variables? > > > > The variable is defined in ox.el. Try > > M-x locate-library RET ox RET > > and if that shows the right provenance, try > > M-x load-library RET ox-le RET > > and see if the variable is defined. But note that you *should not have* > to do this: it should work right off the bat. > > If the problem persists (even after you restart emacs), I would suspect > a "mixed installation" (search the list for this). > > Nick Indeed! I find an older org-version (7.x) in /usr/share/emacs. I have now changed the order in the load-path-list to load the local installations first. After reading the things on the list an on worg on "mixed installations" I'm not sure if I might delete the org-subdirectory in /usr/share/emacs. So I leave it untouched and hope that the changed order of the load paths will do the trick. At any rate, I've now been able to set the org-export-with-smart-quotes variable and to adjust org-export-smart-quotes-alist. The latter didn't work at first, only after putting it into (eval-after-load 'ox ...). Now everything seems to be working fine. Thanks for the help! Salome