On 01/12/2025 14:25, Pedro Andres Aranda Gutierrez wrote:
I have an document with Latin expressions like 'mutatis mutandis', which
my publisher wants to be typeset in Sans-Serif.
[...]
This is done easily in done in LaTeX (\textsf{mutatis mutandis})
First of all, I would consider logical markup and custom command, e.g.
\latintext{...} instead of explicit \textsf{}.
Let's find a way of expressing this natively in Org. It's an addition,
so taking a bit of care this would *not* break old documents.
See
Juan Manuel MacĂas. Experimental public branch for inline special
blocks. Fri, 01 Mar 2024 20:34:35 +0000.
<https://list.orgmode.org/[email protected]>
and related threads.
Ideas of workarounds:
- Perhaps you do not use _underlined_ text, so with custom ox backend
you may export it as sans serif.
- I am not sure if it would be successful, but would try some export
filter to replace specific LaTeX command with another object.
- As to Org macros, you need to be careful with commas: {{{latin(veni,
vidi, vici)}}}, they must be escaped by backslash.