emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Quoting formula "cookies" in table?


From: Carsten Dominik
Subject: Re: [Orgmode] Quoting formula "cookies" in table?
Date: Tue, 5 Oct 2010 03:25:56 +0200

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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]