-
-
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
Babel use is non-idiomatic, breaking hebrew, greek #7604
Labels
Comments
hseg
added a commit
to hseg/pandoc
that referenced
this issue
Oct 3, 2021
* Use `babel`'s bidi implementation * Remove global `lang` option -- it broke eg hebrew * Import babel languages individually instead of as package options -- was broken for greek, hebrew * Move `header-includes` to after `babel` setup Closes jgm#7604
jgm
pushed a commit
that referenced
this issue
Oct 4, 2021
* Use `babel`'s bidi implementation * Remove global `lang` option -- it broke eg hebrew * Import babel languages individually instead of as package options -- was broken for greek, hebrew * Move `header-includes` to after `babel` setup Closes #7604
lcreteig
added a commit
to lcreteig/amsterdown
that referenced
this issue
Feb 16, 2024
lcreteig
added a commit
to lcreteig/amsterdown
that referenced
this issue
Feb 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Explain the problem.
#7562's move to babel has forced me to confront its use in the default template
Several issues arise in using babel over polyglossia
provide=*
does not work well enough to just dump the entire used-language list in it. What works consistently for me is to use\babelprovide[langopts]{lang}
. Note that some of these (especially arabic, hebrew) might want to pass per-language options, cf end of the linked page and 1.23 in manual)lang: he-IL
doesn't work underlualatex
, complaining ofRight-to-Left Support Error: use TeX--XeT or e-TeX engine.
. If the global language setting (indocumentclass
) is removed, (andmain
passed to the main language's\babelprovide
), this is no longer a problem.babel
to be passed abidi
parameter, set todefault
underxelatex
andbasic
underlualatex
.pdflatex
isn't supported bybabel
here. Note this also means thebidi
package doesn't need to be invoked explicitly.header-includes
expansion in the default template occurs beforebabel
is imported, so a simple\babelfont
invocation cannot be added inheader-includes
. However, if a single font covers all uses, this can be mitigated by just settingmainfont
.Pandoc version?
Self-built 6742e77 (2.14.2)
The text was updated successfully, but these errors were encountered: