You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lua-uni-algos library uses the kpse global in two files: lua-uni-normalize.lua and lua-uni-parse.lua. This works out in a format such as LaTeX, where kpse has already been loaded. However, in ConTeXt MkIV and LMTX, kpse is a library stub that causes a fatal error when find_file and other methods are called.
Consider the following document example.tex with an MWE for ConTeXt MkIV:
Witiko
changed the title
Always explicitly load the kpse module
Only configure the KPathSea library if it has not been configured yet
Feb 19, 2023
Witiko
changed the title
Only configure the KPathSea library if it has not been configured yet
Only configure the Kpathsea library if it has not been configured yet
Feb 19, 2023
Witiko
changed the title
Only configure the Kpathsea library if it has not been configured yet
Always explicitly load the kpse module
Feb 19, 2023
The
lua-uni-algos
library uses thekpse
global in two files:lua-uni-normalize.lua
andlua-uni-parse.lua
. This works out in a format such as LaTeX, wherekpse
has already been loaded. However, in ConTeXt MkIV and LMTX,kpse
is a library stub that causes a fatal error whenfind_file
and other methods are called.Consider the following document
example.tex
with an MWE for ConTeXt MkIV:Typesetting the MWE with the
context example
command produces the following error:We can replace the stub library by explicitly loading the external
kpse
library:Running
context example
again will produce a PDF documentexample.pdf
with the expected output:The text was updated successfully, but these errors were encountered: