|
From: | Max Nikulin |
Subject: | Re: [PATCH] ox-latex.el: Unify in one single list Babel and Polyglossia languages alists |
Date: | Fri, 22 Jul 2022 19:16:44 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 21/07/2022 22:39, Juan Manuel Macías wrote:
Max Nikulin writes: I would vote for a custom variable, at the global level (I agree with the options you suggest) and at the document level, to economize, perhaps this would be enough to avoid the code of both babel and polyglossia: #+latex_header: NOLANG
Form my point of view it is unnecessary magic. Originally #+latex_header is intended for valid LaTeX code and "% \usepackage{babel} % disable" does not make code invalid (being a kind of magic though). If you consider such cast as too verbose then even
#+options: latex-l10n:nilmight be better. I am unsure if babel or polyglossia are parsed as strings or as symbols in such context. I am still against a DSL for "#+options:" to generate complex babel commands in favor of explicit "#+latex_header:".
On 18/07/2022 23:21, Juan Manuel Macías wrote:
\documentclass[11pt,draft,russian]{article} \usepackage{babel}
I have realized that it resembles \documentstyle[russian,epsfig,wrapfig,12pt]{article}from the previous century and LaTeX-2.09. Due to lack of support in babel, several alternatives to add Russian language existed and one of them required the \documentstyle option.
[Prev in Thread] | Current Thread | [Next in Thread] |