emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Achim Gratz <Stromeko@nexgo.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Quoting formula "cookies" in table?
Date: Tue, 5 Oct 2010 03:25:56 +0200	[thread overview]
Message-ID: <3A667AF5-F639-4A57-BFAA-6843BBC67882@gmail.com> (raw)
In-Reply-To: <87ocb96ebn.fsf@Rainer.invalid>

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

  reply	other threads:[~2010-10-05  1:26 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-04 17:46 Quoting formula "cookies" in table? Achim Gratz
2010-10-05  1:25 ` Carsten Dominik [this message]
2010-10-05 17:10   ` Achim Gratz
2010-10-05 17:24     ` Carsten Dominik
2010-10-06 17:37       ` Achim Gratz
2010-10-05 17:54 ` [Feature Request] Cross headings in tables Achim Gratz
2011-01-16 18:44   ` Achim Gratz
2011-02-02 12:30     ` Lawrence Mitchell
2011-02-02 20:49       ` Achim Gratz
2011-02-08 21:52         ` Achim Gratz
2011-03-20  9:16           ` Achim Gratz
2011-05-29 18:18           ` [Orgmode] " Carsten Dominik
2011-05-30 21:02             ` Achim Gratz
2011-05-31  7:21               ` Carsten Dominik
2011-05-31  8:07                 ` Lawrence Mitchell
2011-05-31 18:01                 ` Achim Gratz
2011-05-31 18:44                   ` Jambunathan K
2011-06-02 16:12                   ` Carsten Dominik
2011-06-07 19:42                 ` Achim Gratz
2013-02-16 19:21                   ` Achim Gratz
2013-02-17  8:35                     ` Nicolas Goaziou
2013-02-17 19:41                       ` Achim Gratz
2013-02-17 21:06                         ` Achim Gratz
2013-02-22 12:31                       ` Carsten Dominik
2013-02-22 20:33                         ` Achim Gratz
2013-02-22 20:59                           ` Carsten Dominik
2013-02-23  8:10                           ` Bastien
2013-02-23 12:26                       ` Achim Gratz

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=3A667AF5-F639-4A57-BFAA-6843BBC67882@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=Stromeko@nexgo.de \
    --cc=emacs-orgmode@gnu.org \
    /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).