From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Updating CONSTANTS in LaTeX mode Date: Sat, 11 Dec 2010 18:07:24 +0100 Message-ID: <7A1269C4-244F-4C24-815F-EB9EEB8B0C30@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=54385 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRSv2-0001Tf-26 for emacs-orgmode@gnu.org; Sat, 11 Dec 2010 12:07:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRSuu-0001Tp-HB for emacs-orgmode@gnu.org; Sat, 11 Dec 2010 12:07:35 -0500 Received: from mail-ey0-f177.google.com ([209.85.215.177]:35107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRSuu-0001TY-Ah for emacs-orgmode@gnu.org; Sat, 11 Dec 2010 12:07:28 -0500 Received: by eyd9 with SMTP id 9so4071035eyd.36 for ; Sat, 11 Dec 2010 09:07:27 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Seweryn , emacs-orgmode@gnu.org 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