-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
German quotes: csquotes: true in defaults file has no effect #10403
Comments
There is no |
This might be a misunderstanding. Actually I did put Regarding the documentation:
Which is not that clear IMHO. I would suggest putting it explicitly in the defaults file in the docs. This is another topic though. In any case. Thank you four you quick response. :) |
It can go in your defaults file but it must be under the
seems clear enough: it is saying that you need to set the |
Thank you for the clarification! :) Yet, I am afraid, for me it is still not working as expected. Case A: Working
Case B: Not working
It should work in case B too (which would be the more logical case), in my opinion . |
I see why it isn't working. https://github.com/jgm/pandoc/blob/main/src/Text/Pandoc/Writers/LaTeX.hs#L160-L164 Returns Nothing when the variable has a Boolean value, as it would get from a defaults file like this. I'll reopen this issue to fix this. |
The goal
I wanted to have German quotes:
„…“
instead of English quotes:“…”
when transpiling from markdown to PDF.The problem
When transpiling with pandoc and a defaults file from markdown to pdf,
csquotes: true
in the defaults has no effect. However if put it in the metadata file it works. The language settinglang: de-De
in the metadata file seems to have no effect. Thefrom: markdown+smart
extension has no effect.Expected behavior
Localized quotes and in this case German quotes should be controlled via the
lang:
variable in the metadata file (solely in the best case) and/or via thecsquotes:
or an alternative variable in the defaults file (if necessary). The variablecsquotes:
loads the corresponding LaTeX package and defines a specific property of the typography of the LaTeX file and resulting PDF and hence should not be managed as metadata.Pandoc version
pandoc 3.1.11.1
Features: +server +lua
Scripting engine: Lua 5.4
OS
Arch Linux
TeXLive: texlive-full Version: 1:2024.20240331-1
The text was updated successfully, but these errors were encountered: