DescriptionHi, it seems I had a deep sleep between Quarto version 1.3 and 1.5... I have a shortcode that I used to print quantities in Latex with the siunitx package. It starts like: and would allow something like In Quarto 1.3 the printout of Now, in Quarto 1.4 and 1.5 the printout is: I used the additional information of "RawInline format:"tex"" to differentiate between normal text and Latex parts. Can somebody tell me, if this a PANDOC or a QUARTO change? Does anybody know where to find some documentation about this? I thought the new fourth argument "raw_args" could give me the old format back, but it is not... Thanks for any help! |
Replies: 3 comments 2 replies
|
I don't think the proper solution is to go backward, but to upgrade your shortcode LUA filter based on current Quarto/Pandoc API which is described in both tools documentation. We could help with that if you provide the code, without there is not much they can be done. |
|
OK, so I would like to find out, whether I deal with a latex raw string in It seems that now strings are transfered by argument and this information is gone. How do I get the same information in Quarto version >1.3 like "a[1].format"? Thank you! |
|
Hello, first of all a big thank you to @mcanouil for analyzing the situation! After looking deeper into my code I saw that the old format of the So I found a way to keep compatibility to older Quarto versions by applying conditionals like so and using the new argument format that came with Quarto version 1.4. |
Hello,
first of all a big thank you to @mcanouil for analyzing the situation!
After looking deeper into my code I saw that the old format of the
argsargument (until Quarto 1.3) was only used a few times in my shortcode code.So I found a way to keep compatibility to older Quarto versions by applying conditionals like so
and using the new argument format that came with Quarto version 1.4.