From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Wrong captialisation from a latex src block
Date: Thu, 26 Sep 2013 22:57:58 -0400 [thread overview]
Message-ID: <87eh8bgedl.fsf@gmail.com> (raw)
In-Reply-To: CAPM452ogciCWZROOWa+YpKMwf16YsVPMd0atDvWbSsPDinBmsQ@mail.gmail.com
"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
prev parent reply other threads:[~2013-09-27 2:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eh8bgedl.fsf@gmail.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.