Context:
I was running into aligning issues when using header element, see #307. After reading the documentation I understood that in order to get the latest version of lyluatex I need to upgrade it manually.
How I really did it:
My environment is macOs and Tex Live installation. I installed TeX Live according the upstream instructions – which is downloading and installing provided package. After that I also run tlmger update --all command manually to get up-to-date packages. Sadly, this still keeps lyluatex package at version 1.1.3 (which is the latest as of now).
Manual update:
As of writing the general recommendation is to get both lyluatex.lua and lyluatex.sty file into $TEXMFHOME/tex/luatex/lyluatex. However, on my system the env variable $TEXMFHOME is not present (I do not know why, is that responsibility of Tex Live installer to do it?). I started looking for the location of something that should be representing $TEXMFHOME/tex/luatex and I found I need to copy each file into different location:
lyluatex.sty --> /usr/local/texlive/2025/texmf-dist/tex/luatex/lyluatex/
lyluatex.lua --> /usr/local/texlive/2025/texmf-dist/scripts/lyluatex/
The lyluatex.lua needs to be made executable as well, so do not forget to run sudo chmod a+x lyluatex.lua as well.
After I copied respective files into specific locations and made the lua script executable I enjoy all the fixes that were merged into the main branch of this great package. I just wanted to share my experience because it feels to me that the instructions about how to get the latest version may be too brief and missing some important details.
Context:
I was running into aligning issues when using
headerelement, see #307. After reading the documentation I understood that in order to get the latest version oflyluatexI need to upgrade it manually.How I really did it:
My environment is macOs and Tex Live installation. I installed TeX Live according the upstream instructions – which is downloading and installing provided package. After that I also run
tlmger update --allcommand manually to get up-to-date packages. Sadly, this still keepslyluatexpackage at version 1.1.3 (which is the latest as of now).Manual update:
As of writing the general recommendation is to get both
lyluatex.luaandlyluatex.styfile into$TEXMFHOME/tex/luatex/lyluatex. However, on my system the env variable$TEXMFHOMEis not present (I do not know why, is that responsibility of Tex Live installer to do it?). I started looking for the location of something that should be representing$TEXMFHOME/tex/luatexand I found I need to copy each file into different location:The
lyluatex.luaneeds to be made executable as well, so do not forget to runsudo chmod a+x lyluatex.luaas well.After I copied respective files into specific locations and made the lua script executable I enjoy all the fixes that were merged into the
mainbranch of this great package. I just wanted to share my experience because it feels to me that the instructions about how to get the latest version may be too brief and missing some important details.