emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] (was: org table export to latex, longtable, code does not compi


From: Uwe Brauer
Subject: [SOLVED] (was: org table export to latex, longtable, code does not compile)
Date: Tue, 02 Jan 2024 18:58:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:

> Hi

> I am running emacs 29 and org mode 9.6.9

> I have set (setq org-latex-line-break-safe "\\\\")

> Nevertheless the following example 

This helped


(defun my-latex-insert-hline-always (row backend info)
  "Add a hline to every row when exporting to  LaTeX."
  (when (org-export-derived-backend-p backend 'latex)
    (replace-regexp-in-string "\\\\\\\\\\[0pt\\]\\|\\\\\\\\" "\\\\\\\\ 
\\\\hline" row)))

(add-to-list 'org-export-filter-table-row-functions 
'my-latex-insert-hline-always)

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]