* Wrong captialisation from a latex src block
@ 2013-09-26 15:22 Dieter Wilhelm, H.
2013-09-26 15:24 ` Dieter Wilhelm, H.
0 siblings, 1 reply; 3+ messages in thread
From: Dieter Wilhelm, H. @ 2013-09-26 15:22 UTC (permalink / raw)
To: Emacs-orgmode@gnu.org
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?
Thanks
Dieter
--
Best wishes
H. Dieter Wilhelm
Darmstadt
Germany
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Wrong captialisation from a latex src block
2013-09-26 15:22 Wrong captialisation from a latex src block Dieter Wilhelm, H.
@ 2013-09-26 15:24 ` Dieter Wilhelm, H.
2013-09-27 2:57 ` Nick Dokos
0 siblings, 1 reply; 3+ messages in thread
From: Dieter Wilhelm, H. @ 2013-09-26 15:24 UTC (permalink / raw)
To: Emacs-orgmode@gnu.org
Sorry, I forgot to say that I'm using org-8.2.
2013/9/26 Dieter Wilhelm, H. <dieter@duenenhof-wilhelm.de>:
> 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?
>
> Thanks
> Dieter
> --
> Best wishes
>
> H. Dieter Wilhelm
>
> Darmstadt
> Germany
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Wrong captialisation from a latex src block
2013-09-26 15:24 ` Dieter Wilhelm, H.
@ 2013-09-27 2:57 ` Nick Dokos
0 siblings, 0 replies; 3+ messages in thread
From: Nick Dokos @ 2013-09-27 2:57 UTC (permalink / raw)
To: emacs-orgmode
"Dieter Wilhelm, H." <dieter@duenenhof-wilhelm.de> writes:
> Sorry, I forgot to say that I'm using org-8.2.
>
> 2013/9/26 Dieter Wilhelm, H. <dieter@duenenhof-wilhelm.de>:
>> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-09-27 2:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-26 15:22 Wrong captialisation from a latex src block Dieter Wilhelm, H.
2013-09-26 15:24 ` Dieter Wilhelm, H.
2013-09-27 2:57 ` Nick Dokos
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.