-
DescriptionHello, When I search for abbreviated text (German "d. h." -> English "i.e." ) elements in my LUA filter, I wouldn't find, because there sits invisible "non-breaking space" in the string after stringify'ing and LUA's s:match and s:find cannot find "d. h." in it. It is also annoying, because in normal mode we would have I want to disable the abbreviation substitution, one option is to provide commandline option "--abbreviations=FILE" with an empty file. But how to tell Quarto to use that commandline option? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Without a reproducible example I can't test now. |
Beta Was this translation helpful? Give feedback.
-
It is solved... But the example is:
leads to tex:
But having
we get in tex:
Of course, those NBSP make usually sense, but if you want handle things yourself, the Pandoc AST is different than expected without disabling the abbreviations. |
Beta Was this translation helpful? Give feedback.
Without a reproducible example I can't test now.
Quarto offers
abbreviations
YAML key which take a file, see https://quarto.org/docs/reference/formats/html.html#rendering.Also you can use Pandoc commandline args in Quarto, it should work:
quarto render --abbreviations=FILE