minoki / cluttex

Process LaTeX documents without cluttering your working directory
GNU General Public License v3.0
45 stars 3 forks source link

Change LUAINPUTS env var to find lua files on dir change #11

Closed atticus-sullivan closed 1 year ago

atticus-sullivan commented 2 years ago

When changing directory, we already modify TEXINPUTS so that .tex files are found from the original directory. Since this doesn't work for .lua files we have to adjust another environment variable as well, LUAINPUTS. This is what this PR is for.

For Reference on the environment variables see kpsewhich --help-formats

atticus-sullivan commented 1 year ago

Just checking on this PR. Are there any problems with these changes?

minoki commented 1 year ago

Looks good. Thanks!