[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Breaking up long #+TBLFM line?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Breaking up long #+TBLFM line? |
Date: |
Tue, 26 Jan 2016 12:37:21 +0100 |
Hello,
"Loris Bennett" <address@hidden> writes:
> However, it seems a little inconsistent that some options, like
> '#+OPTIONS' or '#+LATEX_HEADER', are cumulative whereas others, like
> '#+TBLFM', are not.
Those are different things.
#+LATEX_HEADER is a global keyword, which affects the whole document.
Most are related to export. There is no rule for them as each back-end
can treat them in any way. You may check `org-export-options-alist' for
the standard behaviour of the generic ones. Those that are not export
related (e.g., #+STARTUP, or #+CATEGORY), are expected to appear only
once. If they appear more, usually, only the first occurrence is
considered, but this is really an implementation detail.
Now, there are also affiliated keyword, which are local to the element
they apply to. Ther are "#+CAPTION", "#+HEADER", "#+NAME", "#+PLOT",
"#+RESULTS" and any "#+ATTR_..." construct. Among them, only
"#+CAPTION", "#+HEADER" and "#+ATTR_..." can be repeated. This is
defined in Org's syntax.
Eventually, there is "#+TBLFM", which doesn't belong to any of the
previous categories. This is just part of the syntax of Org tables. As
such, it follows its own rule, which is that multiple lines are allowed,
but only the first one is "active" in the current table.
Regards,
--
Nicolas Goaziou
- [O] Breaking up long #+TBLFM line?, Loris Bennett, 2016/01/20
- Re: [O] Breaking up long #+TBLFM line?, Karl Voit, 2016/01/25
- Re: [O] Breaking up long #+TBLFM line?, Loris Bennett, 2016/01/25
- Re: [O] Breaking up long #+TBLFM line?, Loris Bennett, 2016/01/25
- Re: [O] Breaking up long #+TBLFM line?, Nick Dokos, 2016/01/25
- Re: [O] Breaking up long #+TBLFM line?, Samuel Wales, 2016/01/25
- [O] table editor is off screen (was: Breaking up long #+TBLFM line?), Karl Voit, 2016/01/26
- Re: [O] table editor is off screen, Nicolas Goaziou, 2016/01/26
- Re: [O] table editor is off screen, Samuel Wales, 2016/01/26
- Re: [O] Breaking up long #+TBLFM line?, Loris Bennett, 2016/01/26
- Re: [O] Breaking up long #+TBLFM line?,
Nicolas Goaziou <=