emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Regression in latex export of tables?
Date: Fri, 3 Nov 2023 09:30:48 +0700	[thread overview]
Message-ID: <ui1m0r$mvr$1@ciao.gmane.io> (raw)
In-Reply-To: <742-65444580-9-52b68800@44597412>

On 03/11/2023 07:58, Vikas Rawal wrote:
> Earlier version gives me this:
> \begin{center}
> \begin{tabular}{ll}
> (a,b) & open interval\\\empty
> [0,1] & closed interval\\\empty

It was changed to avoid your inconvenience:
https://list.orgmode.org/874jw2conh.fsf@posteo.net/T/#u
Juan Manuel Macías. Re: Line breaks and brackets in LaTeX export. Mon, 
17 Oct 2022 18:04:34 +0000

That moment there was no hope that tabularray would support \empty out 
of the box. Perhaps some stable Linux distribution still have its 
version unaware of \empty.

> (defun org-export-midrule-filter-latex (row backend info)
>    (replace-regexp-in-string 
> "\\(<mid>\\([[:blank:]]+\\&\\)+\\)[[:blank:]]\\\\\\\\" "\\\\midrule" row))
> 
> Now my \midrule becomes \midrule[0pt].

Sorry, but your have to adjust the pattern and the replacement string to 
allow either optional \empty or [0pt].

I still do not see a better solution that does not require substantional 
changes of the org-export framework.



  reply	other threads:[~2023-11-03  2:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-01  3:43 Regression in latex export of tables? Vikas Rawal
2023-11-01  7:32 ` Vikas Rawal
2023-11-01 16:41 ` Max Nikulin
2023-11-01 23:04   ` Vikas Rawal
2023-11-02  9:29     ` Fraga, Eric
2023-11-03  0:58       ` Vikas Rawal
2023-11-03  2:30         ` Max Nikulin [this message]
2023-11-03  3:01           ` Vikas Rawal

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ui1m0r$mvr$1@ciao.gmane.io' \
    --to=manikulin@gmail.com \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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