From: Carsten Dominik <carsten.dominik@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Seweryn <sewkokot@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Updating CONSTANTS in LaTeX mode
Date: Sat, 11 Dec 2010 18:07:24 +0100 [thread overview]
Message-ID: <7A1269C4-244F-4C24-815F-EB9EEB8B0C30@gmail.com> (raw)
In-Reply-To: <F3C1EB2F-1D6E-48A2-8A0F-7855CF412800@gmail.com>
On Dec 11, 2010, at 6:03 PM, Carsten Dominik wrote:
>
> On Dec 11, 2010, at 4:05 PM, Seweryn wrote:
>
>> Hello,
>>
>> Is it possible to have locally defined CONSTANTS in .tex buffer?
>> What is the
>> command to update the list of known CONSTANTS since $pi works but I
>> cannot
>> insert $x to the list of CONSTANTS. See example below
>>
>> \begin{comment}
>> #+CONSTANTS: x=458.0
>> #+ORGTBL: SEND test1 orgtbl-to-latex :splice t :lend ""
>> | 3.1415927 | #ERROR |
>> #+TBLFM: @1$1=$pi::@1$2=$x
>> % $
>> \end{comment}
>>
>> I would appreciate a hint.
>
> This works for me. Put you must do `C-c C-c' in the CONSTANTS line
> to make changes known to Org-mode. Or kill the buffer and revisit
> the file,
> that will also make CONSTANTS known.
>
I am sorry, I did not read this carefully. No, this is currently
not possible in tex and other non-org-mode files.
- Carsten
next prev parent reply other threads:[~2010-12-11 17:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-11 15:05 Updating CONSTANTS in LaTeX mode Seweryn
2010-12-11 17:03 ` Carsten Dominik
2010-12-11 17:07 ` Carsten Dominik [this message]
2010-12-11 22:06 ` Seweryn
2010-12-12 12:26 ` Carsten Dominik
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7A1269C4-244F-4C24-815F-EB9EEB8B0C30@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=sewkokot@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).