emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* tables, positioning of `#+Plot:' lines
@ 2020-06-05 19:49 Mario Frasca
  2020-06-05 20:08 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Mario Frasca @ 2020-06-05 19:49 UTC (permalink / raw)
  To: emacs-orgmode

I was wondering about the position of the `#+plot:' lines.  we have a 
table, and if we want to have formulas, we put these in a `#+TBLFM:' 
line following the table.  the documentation of org-plot states that 
`#+PLOT:' lines are looked for: following, or preceding the table, but 
then only the "preceding" strategy is implemented.  I tried just out of 
curiosity, what happens if I put my `#+PLOT:' lines following the table 
but before the `#+TBLFM:' line.  in this case also the `#+TBLFM:' line 
is not found.

I see a couple of problems with this approach and in the current 

- only one single `#+TBLFM:' line is recognized, it must follow the 
table, there cannot be any other meta information in between the table 
and the `#+TBLFM:' line.

- other programs can't add meta information to the table, or must choose 
to stay after the `#+TBLFM:' line or before the `#+PLOT:' lines.

- you have meta information at the two ends of the table, instead of all 
on the same side.

I would like to implement the 'plot meta lines after the table', and 
some way to comment meta lines.

any thoughts?

my main doubt is that if we acknowledge meta lines at both ends, we end 
up with an unmanageable mess, where similar information can be very 
distant in the document.  I think it was a mistake to let PLOT 
directives be placed elsewhere than formulas, but I don't know if it's 
still worth changing this.

best regards, MF

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-06-05 21:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-05 19:49 tables, positioning of `#+Plot:' lines Mario Frasca
2020-06-05 20:08 ` Nicolas Goaziou
2020-06-05 20:16   ` Mario Frasca
2020-06-05 21:16     ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox


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).