On 2025-08-26 19:34, Karthik Chikmagalur wrote:
(ii) I use org-log-into-drawer, and exclude the :LOGBOOK: drawer when exporting to LaTeX.
It is strange to have, in general, something that it is just for a particular exporter.
At some point, It would be better that the latex exporter, handles in its code the "\\" when needed, and when the affected drawer is exported.
The direction that I saw in this patch [1], looks in a good direction. Put the "\\" as as suffix in a variable with the known default value, but allow to modify it
[1] email Subject: (PATCH) lisp/org.el: Make the suffix when adding a log note optional (was: How to prevent \\ from being added, at the end of first line, with org-add-note?); From: Samuel Loury; Date: 2025-08-26 10:26:03 (UTC)