Hello all,
This is my first time mailing to the orgmode mailing list; I've read the mailing list entry at orgmode.org and I've searched for an answer online, but please accept my apologies if this mail doesn't comply with the list etiquette after all.
I am trying to export tables from orgmode to LaTex/PDF. I am using the following:\
#+ATTR_LATEX: :environment xltabular :width \textwidth :align |l|X|X|X| :placement [H]
(Note that there is a lowercase "l" between the the first two pipes "|" after :align)
When I export a (long) table that doesn't fit on the page, the table just runs off the PDF page.
After some online searching, I found a work-around:
First, to manually delete the following three lines from the .tex file:
\begin{table}[H]
\centering
\end{table}
Second, to move the \caption{} (which used to be above the now deleted \end{table} above \end{xltabular}.
Then the table formats correctly over multiple pages. It is no problem at all for me to do this manually, but I thought it may be convenient to have a 'none' or 'nil' option for ':mode' that wouldn't input the \table environment in the first place?
Perhaps I am doing it all wrong, and my feature request doesn't make any sense. In that case, I'd be delighted how to properly output an xltabular table that spans multiple pages - without having to manually edit the .text file.
I will try and figure out if I can edit some relevant Elisp code (and propose that as feature solution), but that may take a long time since I've never done that in the past.
Anyhow, thanks for this amazing mode and wish you all a good day.
Kind regards,
Paul