aboutsummaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-02-04 22:21:06 -0800
committerJohn MacFarlane <[email protected]>2025-02-08 10:45:11 -0800
commit9be096332727ad62e9fcd50188980d376003f7fa (patch)
tree355858231834e343c79a03ea1bd78fdc09ac82f2 /MANUAL.txt
parent1a3ea44f4fc53deccd1896d9f21a07a19af54cac (diff)
LaTeX writer/template: Improve babel support.
Previously we used the `.ini` files for every language, but for European languages these tend to provide inferior results to the `.ldf` files used by classic Babel. Currently Babel documentation recommends using the classic system for European languages written in Latin and Cyrillic scripts and Vietnamese. So the LaTeX writer and template now follow this guidance. Main languages in the list of languages with good "classic" support are added to global documentclass options and will be automatically handled by Babel using the `.ldf` files. If the main language is not in this list, the `babeloptions` variable will be set to `provide=*`, which will cause support to be loaded from the `.ini` file rather than an `.ldf`. So, for example, setting `-V babeloptions=''` with a polytonic Greek document will cause the `.ldf` support to be used instead of the `.ini`. The default setting of this variable can be overwritten, but in most cases the default should give good results. Closes #8283.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 3dda9d6ba..658b25c3e 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -3043,6 +3043,13 @@ Pandoc uses these variables when [creating a PDF] with a LaTeX engine.
`csquotesoptions`
: options to use for `csquotes` package (repeat for multiple options).
+`babeloptions`
+: options to pass to the babel package (may be repeated for
+ multiple options). This defaults to `provide=*` if the main
+ language isn't a European language written with Latin or
+ Cyrillic script or Vietnamese. Most users will not need to
+ adjust the default setting.
+
#### Fonts
`fontenc`