Re: Macro: exporting roman numerals formatted as small-caps

2022-12-09 Thread Christian Moe
Max Nikulin writes: > On 08/12/2022 19:38, Carlos Martínez wrote: >> #+MACRO: sc (eval (if (org-export-derived-backend-p >> org-export-current-backend 'latex) (concat "@@latex:\\textsc{@@" $1 >> "@@latex:}@@") (concat "@@odt:> text:style-name=\"T1\">@@"$1"@@odt:@@"))) > >

Re: Macro: exporting roman numerals formatted as small-caps

2022-12-08 Thread Max Nikulin
On 08/12/2022 19:38, Carlos Martínez wrote: #+MACRO: sc (eval (if (org-export-derived-backend-p org-export-current-backend 'latex) (concat "@@latex:\\textsc{@@" $1 "@@latex:}@@") (concat "@@odt:@@"$1"@@odt:@@"))) ^ ^ Your missed spaces around $1, but it is unlikely

Macro: exporting roman numerals formatted as small-caps

2022-12-08 Thread Carlos Martínez
Hello everyone!, I am working in a paper written in org mode. There are lots of roman numerals referring to centuries. In Spanish, those are written in roman numerals and small caps. I want to export my paper both to odt and to LaTeX. I found a macro by Juan Manuel Macías which helped me to export