I have a very simple file
I want to use streaming instead of taking file as argument, and the following commands actually work:
cat hello.tex | pdflatex
cat hello.tex | TEXINPUTS= pdflatex
TEXINPUTS is not defined
pdflatex seems to use a default value.
I want to load some custom LaTeX environments and when I set
cat hello.tex | TEXINPUTS="./" pdflatex
I get an error as it can not load default LaTeX files:
LaTeX Error: File 'article.cls' not found.
Is there a way to add some custom paths to
TEXINPUTS without unsetting default paths, and to continue streaming in stdin?