emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New try at multi-lingual export to latex/pdf using pdflatex and babe


From: Pedro A. Aranda
Subject: Re: New try at multi-lingual export to latex/pdf using pdflatex and babel
Date: Thu, 25 Jan 2024 08:25:29 +0100
User-agent: Mozilla Thunderbird

Hi again

As stated, this was only a PoC. If you find it useful, I would give it a go in the free window. I'm also playing with org-latex-default-packages-alist, refining it to use fontspec in lualatex and xetex and restricting inputenc and fontenc to pdflatex only.

Best, /PA

On 24/1/24 17:25, Ihor Radchenko wrote:
Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

Attached is a _proof of concept_ for supporting AUTO in
\usepackage{fontenc}. Just an idea of how things could evolve.
This only uses a variable you can define as directory or file local to
control what is generated in the LaTeX file.
Could be expanded in the future to check #+language:
Thanks!

+(defcustom org-latex-fontenc "T1"
+  "The fontenc for the file. Customise to LGR,T1 when including
+Greek, etc."
+  :group 'org-export-latex
+  :type 'string
+  :safe #'stringp)
Is there a list of available values somewhere?
https://latexref.xyz/fontenc-package.html only lists OT1, OMS, OML, T1,
and TS1. However, many more are clearly available.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]