zauguin / luametalatex

18 stars 2 forks source link

`\formatname` and `tex.formatname` are empty #6

Closed gucci-on-fleek closed 1 year ago

gucci-on-fleek commented 1 year ago

\formatname and tex.formatname are always empty. Example:

\message{\formatname}
\directlua{print(tex.formatname)}
\end

According to the LuaMetaTeX manual, both of these commands have been removed from the engine, but that doesn't actually seem to be the case since \formatname is defined but empty and tex.formatname is an empty string instead of nil.

Both \formatname and tex.formatname work in ConTeXt LMTX, although I couldn't figure out how they're set.

zauguin commented 1 year ago

It's a question of engine versions. formatname works again in the updated LuaMetaTeX version, but that version breaks accent placement in LaTeX, so updating requires a bit more thought.

zauguin commented 1 year ago

Hopefully fixed, but requires an updated engine (so rerunning the installer).

gucci-on-fleek commented 1 year ago

Yep, it's fixed. Thanks!