"Dieter Wilhelm, H." <[email protected]> writes:

> Sorry, I forgot to say that I'm using org-8.2.
>
> 2013/9/26 Dieter Wilhelm, H. <[email protected]>:
>> 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


Reply via email to