diff --git a/CLAUDE.md b/CLAUDE.md index 2ea1473..27ee196 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -62,14 +62,22 @@ written from. - **macOS**: none of the above applies; the repo should behave like a normal local git checkout. -- **LaTeX toolchain**: as of this writing, no LaTeX toolchain (`pdflatex`, - `latexmk`, `bibtex`) was found on the Windows PATH or inside WSL on the - machine this file was written from — `template.tex` couldn't be compiled - to verify output. Check for one (`which pdflatex`) before relying on - Claude Code to compile/check the PDF; if missing, install TeX Live - (`sudo apt install texlive-full` on WSL/Linux, `brew install --cask - mactex` or the smaller `basictex` on macOS) or compile via Overleaf - instead. +- **LaTeX toolchain**: on this WSL machine, TeX Live 2026 is installed at + `/usr/local/texlive/2026/bin/x86_64-linux/` (a full install — pdflatex, + latexmk, bibtex, etc.), with `PATH` set in `~/.zshrc` (the default shell + is zsh). That `PATH` export is only loaded for an *interactive* shell — + a plain `bash -lc "..."`/`zsh -lc "..."` from Windows (e.g. via + `wsl.exe --`) won't have it on `PATH` and `which pdflatex` will + (misleadingly) fail. To compile from outside WSL, use an interactive + shell explicitly, e.g. from PowerShell: + `wsl.exe -- zsh -ic "cd /home/nlab/MDPI && pdflatex -interaction=nonstopmode template.tex"`. + Verified working: compiling `template.tex` this way produces a 6-page + `template.pdf` (only harmless "undefined reference"/rerun warnings on + the first pass — normal for LaTeX before a second pass resolves + cross-references). On a machine without this TeX Live install (e.g. a + fresh macOS checkout), install one (`brew install --cask mactex` or the + smaller `basictex`, or `sudo apt install texlive-full` on Linux) or + compile via Overleaf instead. ## Writing conventions - Manuscript language is English (MDPI submission requirement), even