When I launch it, or try to edit a real document with it, I get:
Warning: Document class not available
----------------------------------------
The selected document class
Hebrew Article
requires external files that are not available.
The document class can still be used, but the
document cannot be compiled until the following
prerequisites are installed:
article.cls
theorem.sty
See section 3.1.2.2 (Class Availability) of the
User's Guide for more information.
I tried running it with:
nix shell nixpkgs#texlive.combined.scheme-small -c $(nix-build -A lyx)/bin/lyx
But it won’t detect pdflatex
? Or it doesn’t use kpsewhich
? I tried setting TEXINPUTS
with:
env TEXINPUTS=$(nix-build -A texlive.combined.scheme-small)/share/texmf/tex/latex $(nix-build -A lyx)/bin/lyx
And other variants of that path but it didn’t work.