This is a streamlined version of my previous question (LuaLaTeX 64 bit does not finish compilation).

My setup: Windows 10 (or 11), current TeXStudio, TeXLive 2021.

I attempt to use the 64bit binaries for my compilation. I was able to do that before, around TeXLive 2019, I suppose. As far as I remember, it involved only:

  1. Downloading the files from https://ctan.org/tex-archive/systems/win32/w32tex/TLW64/

  2. Creating a win64 folder in C:\texlive\YEAR\bin

  3. Adding this C:\texlive\2021\bin\win64 to PATH before the 32bit version.

I remeber being able to handle my problems with files not compiling otherwise this way.

Now when I try to compile in TeXStudio (putting, for instance, "C:\texlive\2021\bin\win64\lualatex.exe" -synctex=1 -interaction=nonstopmode %.tex as the command for LuaLaTeX in TeXStudio settings), the files do not compile in LuaLaTeX (the log is stuck in an infinite cycle), pdfLaTeX does not even start, but 64bit XeLaTeX runs without a hitch.

As far as I understand, the 64bit binaries were not even supposed to run out of the box without some additional preparations. Hence, my question: as a user, what procedures should I implement after installing all of these files in order to make LuaLaTeX and pdfLaTeX in their 64bit versions compile without problems in TeXStudio?

Bonus question: how can I keep them side by side? Is there a way to setup them in a way that I could compile with whichever version I want just by tweaking '32' and '64' in the path string for the file I am compiling with?

Mostly interested in LuaLaTeX, as I use Lua-specific packages heavily and sometimes cannot handle the result with the 32bit version.

  • 1
    Try if it works after you recreated the format fmtutil-sys --byfmt=lualatex Feb 26 at 13:18
  • It started (64bit started working, 32bit stopped), once again reset to 32bit after today's updates from ctan, recreating once again made it work again. Feb 27 at 11:53
  • as I wrote in a comment to your previous question I separate the texmf-var for the two sets. I have a small texmf.cnf in the 64bin folder with TEXMFSYSVAR = $TEXMFROOT/texmf-var-64 and then their format (and other var stuff) goes in that tree. Feb 27 at 11:57


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.