Re: [O] Long table with NAME but no CAPTION

2014-11-19 Thread Nicolas Goaziou
presn...@member.fsf.org writes: > Nicolas Goaziou writes: > >> You can use a table filter to remove \label and \\ from longtables. See >> (info "(org) Advanced configuration") > > Thanks. Just to be clear, you are suggesting a filter that would remove > \label and \\ from longtables that have no

Re: [O] Long table with NAME but no CAPTION

2014-11-19 Thread presnell
Nicolas Goaziou writes: > You can use a table filter to remove \label and \\ from longtables. See > (info "(org) Advanced configuration") Thanks. Just to be clear, you are suggesting a filter that would remove \label and \\ from longtables that have no caption, but that would leave them in for

Re: [O] Long table with NAME but no CAPTION

2014-11-19 Thread Eric S Fraga
On Tuesday, 18 Nov 2014 at 22:28, Nicolas Goaziou wrote: > Hello, > > presn...@member.fsf.org writes: [...] >> One more minor comment: I notice that org-mode's latex export puts the >> \label{} inside the argument of the \caption{} command. This seems >> unusual to me. > > It isn't wrong, though

Re: [O] Long table with NAME but no CAPTION

2014-11-18 Thread Nicolas Goaziou
Hello, presn...@member.fsf.org writes: > So my sugggestion would be for org's latex export to produce no \label{} > (and hence no \\) when the table has no caption, or at least I would > prefer to have this as an option. Is there some way to achieve this? You can use a table filter to remove \l

[O] Long table with NAME but no CAPTION

2014-11-13 Thread presnell
If I export a table with #+ATTR_LATEX: :environment longtable #+NAME: mytable then the beginning of the longtable environment (in the exported latex file) has, e.g., \begin{longtable}{lrrl} \label{mytable} \\ \hline This is a problem, because of the extra space created by the \\. I tried to f