Re: [proof of concept] inline-special-block

2024-02-22 Thread Juan Manuel Macías
Juan Manuel Macías writes: > Regarding the "optional parameters", there is nothing defined, although > I think they should be adapted to each backend. A possible use that > occurs to me: > > &foo[prelatex: [lorem] postlatex: {ipsum} html: style="color:red;"]{blah blah} > > This should produce in L

Re: [proof of concept] inline-special-block

2024-02-21 Thread Juan Manuel Macías
Juan Manuel Macías writes: > Syntax: > > &[optional parameters]{contents} Correction: &type[optional parameters]{contents}

[proof of concept] inline-special-block (was: [proof of concept] inline language blocks)

2024-02-21 Thread Juan Manuel Macías
I am attaching a patch in case anyone wants to try this proposal. A function for ox-latex is included. Syntax: &[optional parameters]{contents} With this patch, something like &foo{lorem ipsum dolor} is exported to LaTeX as \foo{lorem ipsum dolor}. Blocks can be nested, e.g.: &foo{lorem ipsum &