From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Quoting formula "cookies" in table? Date: Tue, 5 Oct 2010 03:25:56 +0200 Message-ID: <3A667AF5-F639-4A57-BFAA-6843BBC67882@gmail.com> References: <87ocb96ebn.fsf@Rainer.invalid> 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=46952 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2wI5-0001H5-8k for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 21:26:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2wI3-0005fv-UH for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 21:26:01 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:58840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2wI3-0005fn-Og for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 21:25:59 -0400 Received: by eyh5 with SMTP id 5so2925998eyh.0 for ; Mon, 04 Oct 2010 18:25:58 -0700 (PDT) In-Reply-To: <87ocb96ebn.fsf@Rainer.invalid> 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: Achim Gratz Cc: emacs-orgmode@gnu.org Hi Achim, On Oct 4, 2010, at 7:46 PM, Achim Gratz wrote: > > I seem to have hit a snag with tables: I didn't find a way to quote > any > of the special characters that are recognized to make formulas. > Tabbing > through such cells will create a malformed #+TBLFM: line at the end of > the table. I can clean this up no problem, but on export the > "formulas" > produce interesting results again. Depending on the content of other > cells some lines will be moved out in front of the table. Try HTML > subtree export on this test: > > * Table Test > > |-------------+----| > | unrelated 1 | >= | > | Test1 | = | > | unrelated 2 | <= | > | Test2 | == | > | unrelated 3 | -= | > | Test3 | := | > | unrelated 4 | >= | > | Test4 | = | > | unrelated 5 | <= | > | Test5 | == | > | unrelated 6 | -= | > | Test6 | := | > |-------------+----| The best way to deal with this is: * Table Test |-------------+------| | unrelated 1 | ~>=~ | | Test1 | ~=~ | | unrelated 2 | ~<=~ | | Test2 | ~==~ | | unrelated 3 | ~-=~ | | Test3 | ~:=~ | | unrelated 4 | ~>=~ | | Test4 | ~=~ | | unrelated 5 | ~<=~ | | Test5 | ~==~ | | unrelated 6 | ~-=~ | | Test6 | ~:=~ | |-------------+------| etc HTH - Carsten > > |-------------+----| > | unrelated 1 | >= | > | Test1 | = | > | unrelated 2 | <= | > | Test2 | == | > | unrelated 4 | >= | > | Test4 | = | > | unrelated 5 | <= | > | Test5 | == | > | unrelated 6 | -= | > |-------------+----| > > |-------------+----| > | unrelated 1 | XX | > | Test1 | = | > | unrelated 2 | XX | > | Test2 | == | > | unrelated 3 | >= | > | Test3 | := | > | unrelated 4 | XX | > | Test4 | = | > | unrelated 5 | XX | > | Test5 | == | > | unrelated 6 | XX | > | Test6 | := | > |-------------+----| > > So is there a way to quote these special chars in an unobtrusive way > that cleanly exports to all backends? If not I'd suggest to have a > special table form for "text-only" tables where these characters > aren't > special (no, I don't have an idea off-hand what to use - @ in place of > the first | maybe? > > > Achim. > -- > +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ > > SD adaptations for KORG EX-800 and Poly-800MkII V0.9: > http://Synth.Stromeko.net/Downloads.html#KorgSDada > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode