From: Paul van Gelder <paul.vangelder@xs4all.nl>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: [FR] Please consider adding "none" as option for ':mode' table LaTeX attribute
Date: Mon, 11 Apr 2022 12:08:16 +0200 (CEST) [thread overview]
Message-ID: <1101729684.853407.1649671696561@kpc.webmail.kpnmail.nl> (raw)
[-- Attachment #1: Type: text/plain, Size: 1629 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 3525 bytes --]
next reply other threads:[~2022-04-11 10:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-11 10:08 Paul van Gelder [this message]
2022-04-11 11:06 ` [FR] Please consider adding "none" as option for ':mode' table LaTeX attribute Eric S Fraga
2022-04-11 14:02 ` Paul Van Gelder
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1101729684.853407.1649671696561@kpc.webmail.kpnmail.nl \
--to=paul.vangelder@xs4all.nl \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.