From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Wrong captialisation from a latex src block Date: Thu, 26 Sep 2013 22:57:58 -0400 Message-ID: <87eh8bgedl.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPOG3-0006OW-EX for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 22:58:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPOFw-0007JB-RB for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 22:58:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:45949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPOFw-0007J1-KR for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 22:58:12 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VPOFv-0006C7-IG for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 04:58:11 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Sep 2013 04:58:11 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Sep 2013 04:58:11 +0200 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 "Dieter Wilhelm, H." writes: > Sorry, I forgot to say that I'm using org-8.2. > > 2013/9/26 Dieter Wilhelm, H. : >> Dear (), >> >> when I'm trying to asign a variable in the following way: >> >> #+BEGIN_SRC latex :var Idir = (concat (org-attach-dir) "/PostImage") >> \animategraphics[autoplay,loop,width=10cm] >> {5}{Idir}{716}{728} >> #+END_SRC >> >> I'm getting a wrong capitalisation of Idir: >> >> #+RESULTS: >> #+BEGIN_LaTeX >> \animategraphics[autoplay,loop,width=10cm] >> {5}{/HOME/Uidg1626/Development/Report/Tz/Haeug0x8g0/PostImage}{716}{728} >> #+END_LaTeX >> >> instead of the following corrected output >> >> # #+RESULTS: >> #+BEGIN_LaTeX >> \animategraphics[autoplay,loop,width=10cm] >> {5}{/HOME/uidg1626/development/report/tz/haeug0x8g0/PostImage}{716}{728} >> #+END_LaTeX >> >> Am I doing something wrong? >> I don't think so: I can reproduce it. It seems to be caused by the mixed-case variable name. If I change "Idir" to "idir", it does not happen. Not sure how the replacement happens, but it seems suspiciously similar to the behavior of replace-match when the FIXEDCASE argument is nil (or absent perhaps?) -- Nick