[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Wrong captialisation from a latex src block
From: |
Nick Dokos |
Subject: |
Re: [O] Wrong captialisation from a latex src block |
Date: |
Thu, 26 Sep 2013 22:57:58 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
"Dieter Wilhelm, H." <address@hidden> writes:
> Sorry, I forgot to say that I'm using org-8.2.
>
> 2013/9/26 Dieter Wilhelm, H. <address@hidden>:
>> 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