On Sat, Nov 02, 2024 at 04:27:14PM -0600, Karl Berry wrote: > You could also use the LaTeX output from texi2any with the --latex > option and then convert the output to PDF. > > Yes. Then it would hopefully work to add (for example; there are other > methods): > > \usepackage[T2A]{fontenc}
If @documentencoding is koi8-r or koi8-u, it is what texi2any uses when outputting LaTeX. If encoding is UTF-8, the fontenc argument will be T1, so it should be changed by postprocessing or maybe by setting CLASS_BEGIN_USEPACKAGE (though it may not be so practical). > \usepackage[russian,english]{babel} If there is a @documentlanguage, texi2any will load babel, set \babeladjust{ autoload.bcp47 = on, autoload.bcp47.options = import } and use selectlanguage to switch when encountering @documentlanguage, so the same as loading with usepackage should be achieved automatically. -- Pat