auctex
[Top][All Lists]
Advanced

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

Re: Preview with luatex, preamble caching, and tikz


From: Ikumi Keita
Subject: Re: Preview with luatex, preamble caching, and tikz
Date: Mon, 13 Nov 2023 15:58:04 +0900

Hi Andreas,

>>>>> Andreas Matthias <andreas.matthias@gmail.com> writes:
> I am facing an issue with previewing which seems to be triggered if all of
> the following is true:
>    1) using luatex
>    2) preamble cache enabled
>    3) using tikz.sty

> Note that everything is fine if one of the above statements is false.

Unfortunately, as described in the document[1], preview-latex isn't
guaranteed to work under certain conditions when lualatex is used:
,----
| Note that support for preamble cache is limited for LaTeX variants. c.f. 
https://github.com/davidcarlisle/dpctex/issues/15
| 
| XeLaTeX cannot use preamble cache at all. The reason is intrinsic in XeLaTeX, 
so preview-latex can’t help.
| LuaLaTeX works with preamble cache only when the preamble is simple enough, 
i.e., when it doesn’t load opentype fonts and it doesn’t use lua codes in 
preamble.
`----
I suppose loading tikz.sty leads to loading opentype fonts.

[1] 
https://www.gnu.org/software/auctex/manual/preview-latex/Keys-and-lisp.html#Keys-and-lisp,

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopTheGenocide #CeasefireNOW



reply via email to

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