On 28/02/2024 20:15, Juan Manuel Macías wrote:
#+options: inline-special-block-aliases:(("latin" :lang "la" :color blue :prelatex "\\itshape " :html "style=\"font-style:italic;\""))This is an example of Latin text: &_[@latin@]{lorem ipsum dolor sit amet}.
It is more verbose than &la{lorem ipsum dolor sit amet}. My idea is to allow latex commands other than object type ("la" this case). Something like
#+options: custom-object(:type la :latex_element foreignlanguage :latex_pre "{latin}")