Re: [Question] Custom parse tree filter

2021-05-17 Thread Juan Manuel Macías
Hi Nicolas, Thank you very much for your excelent explanation, which has helped me to learn new and valuable things. I chose `headline' instead of `section' because in the scenario where I want to apply those LaTeX groups I was looking for something like this: {level 1 - group 1 {level 2 gro

Re: [Question] Custom parse tree filter

2021-05-16 Thread Nicolas Goaziou
Hello, Juan Manuel Macías writes: > I am writing a custom parse tree filter that does the following (LaTeX > backend): if a heading has the ':font:' property, the content of that > heading is enclosed in a LaTeX group. If the property is ':fontfeature:', > then the content is enclosed in a diffe

[Question] Custom parse tree filter

2021-05-16 Thread Juan Manuel Macías
Hi all, I am writing a custom parse tree filter that does the following (LaTeX backend): if a heading has the ':font:' property, the content of that heading is enclosed in a LaTeX group. If the property is ':fontfeature:', then the content is enclosed in a different group. The filter works fine wh