-
Notifications
You must be signed in to change notification settings - Fork 102
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
Add localization controls to YAML template #9
base: master
Are you sure you want to change the base?
Conversation
question: this affects pandoc v1 and v2 ? Just to share my preferences I like the format |
The internal localization is of strings in pandoc is handled here and expects a BCP47 identifier behind the I use the non standard language tag to set the polyglossia language manually. Yet looking at pandoc source code setting the polyglossia language manually shouldn't be necessary as done internally already.
What do you mean by that? |
given here says proper date format
I mean that if I set my language format my date format is not going to behave as I want (iso 8601 YYYY-MM-DD) That's how I solved it in my own version https://gitlab.com/pedrolab/invoice-boilerplate/blob/master/template.tex#L97-99 -> the thing is: I don't know if I can handle this with pandoc more transparently |
With date format, the locale specific date format is meant eg. 11/25/18 is printed for en-US in contrast to 25.11.2018 for European locales (don't take theese examples too literally, I couldn't write a paper example in code atm) For date formatting the The language selection can also be changed I learned as pandoc provides converted language versions for polyglossia and babel |
the template now uses a |
Localization had to be done by editing the latex template and can now be done clearer and more efficiently via (optional) configuration keys
Note:
lang
was renamed tolanguage
as pandoc yelled at me how I dared to use lang with a value different from IETF style which isodate is not okay with..commasep
has become part of the localization objectI really like this tool, it came very handy recently