>Date: Thu, 10 Apr 2025 21:55:53 +0700
>From: Max Nikulin <maniku...@gmail.com>
>To: emacs-orgmode@gnu.org
>Subject: Re: [DISCUSSION] Setting LuaLaTeX as default when exporting
>        to LaTeX/PDF
>Message-ID: <vt8m5t$dc9$1...@ciao.gmane.io>
>Content-Type: text/plain; charset=UTF-8; format=flowed
>
Answers inline
Max wrote:
>On 09/04/2025 05:03, Juergen Fenn wrote:
>> only luatex is capable of producing accessible pdf,
>[...]
>>  This is not only a ITF-8 issue. I'm surprised TeX
>> Live is said not to work properly out of the box on some Linux
>> distributions, hard to believe it's true.
>
>My conclusion from earlier discussions is that it is a challenge to
>configure fonts to a given user document. It may contain (besides
>latin-1) Greek, Cyrillic, CJK, emoji.

Actually the situation needs "more bits" to be captured completely.

My experience is that using lualatex in documents that combine
Cyrillic, German and Spanish is actually easy and does not get worse
with other character sets (like the box drawing characters).

\setmainfont{FreeSerif}
\setsansfont{FreeSans}
\setmonofont{FreeMono}

does quite a nice job. But then, using lualatex is out of question if you
want latex-preview.

[Side question: what is the situation with the preview package for LaTeX?
In their documentation they explicitly mention using lualatex in
conjunction with auctex.
I've never used auctex,  because I had my own "kitchen" when cooking my PhD
thesis
and then, I never really felt  the need to learn to use it.]

>While browsers and office tries
>hard to find some substitution if a requested font does not have a set
>of glyphs, for LaTeX it is necessary to explicitly configure fonts for
>every script. For PdfTeX it is even more tricky than for LuaTeX. In some
>cases fonts installed system-wide and ones available for TeX engines are
>not the same.

Could you please expand on this?

>Some Org users are not familiar with TeX, so configuring fonts is a
>really difficult task for them.

This is why we are (once again) trying to find a recipe that we can
build into org-mode.

>(On the other hand they do not need perfectly formatted document.)
What do you mean with this. (Humbly confused here...)

>I do not mind that accessibility is important, but a year or two ago its
>status in LaTeX was "in progress". Is it necessary to modify LaTeX
>markup generated by org-export? Can it cause issues with older TeXLive
>versions from stable/long time support Linux distributions?

No, that is exactly what we are trying to avoid. We would like a simple
way of configuring a default font set for those who don't want or haven't
yet not learnt to manage fonts in pdflatex/lualatex.

>P.S. In some cases it may be easier to get PDF from ODT or HTML
>intermediate format.
No please! I've gone that path and then you need to install loads of extra
and sometimes redundant software to get something decent.

My .2 cents, /PA

-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Sagen's Paradeiser, write BE!
Year 1 of the New Koprocracy

Reply via email to