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:nil
might 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.


Reply via email to