From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Adam Duck Newsgroups: gmane.emacs.help Subject: help with calc (TeX-language-mode) Date: Tue, 15 Feb 2005 02:38:52 +0100 Message-ID: <86u0oefvpv.fsf@oumu.localdomain> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1108438765 18176 80.91.229.2 (15 Feb 2005 03:39:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Feb 2005 03:39:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 15 04:39:25 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D0tYU-0004It-FB for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Feb 2005 04:39:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0to9-0000JF-CZ for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Feb 2005 22:55:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D0tlP-0006gG-IM for help-gnu-emacs@gnu.org; Mon, 14 Feb 2005 22:52:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D0tkX-0006JN-RR for help-gnu-emacs@gnu.org; Mon, 14 Feb 2005 22:51:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0tkP-00066X-UR for help-gnu-emacs@gnu.org; Mon, 14 Feb 2005 22:51:38 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D0tAe-0003CJ-Dd for help-gnu-emacs@gnu.org; Mon, 14 Feb 2005 22:14:40 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1D0t6k-0001uE-WB for help-gnu-emacs@gnu.org; Tue, 15 Feb 2005 04:10:40 +0100 Original-Received: from dsl-213-023-226-249.arcor-ip.net ([213.23.226.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Feb 2005 04:10:38 +0100 Original-Received: from duck by dsl-213-023-226-249.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Feb 2005 04:10:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl-213-023-226-249.arcor-ip.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 Cancel-Lock: sha1:PBa5mKkt5ktYQe6EyfcGAJxUAVw= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:24092 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24092 Hi all, I don't know where to ask, so I start here. In TeX I deffed an '\aidmatrix' which is essentially like '\matrix' but sets '\left(' and '\right)' around it. Anyways, to use it, I inserted the following code into `TeX-Mode Syntax Table': "\\aidmatrix{" # ")" := #1 But this doesn't work; it tells me: "Expected a number" and my cursor stops after "\a". So, what now? If I mark only the # - i.e. "\aidmatrix{ | 0.1 & 0.2 | }" between the two bars - everything works as expected. bye, Adam.