"Fraga, Eric" <[email protected]> writes:
> However, it seems that simply adding \relax does not work if there
> is an \hline immediately following so the solution is not that
> straightforward.
Hmmm... but it should be solvable. Maybe something along the lines of
this (rough sketch, I have next to no experience with the org code
base):
#+begin_src emacs-lisp
(defun org-latex--table-newline (table-row info)
(let ((next-el (org-export-get-next-element table-row info)))
(concat "\\\\"
(when (and next-el
(not (eq (org-element-property :type next-el) 'rule)))
"\\relax")
"\n")))
#+end_src
--
Until the next mail...,
Stefan.