>>> "AH" == Al Haji-Ali <[email protected]> writes:

> Hello Uwe,
> On 29/12/2025, Uwe Brauer wrote:
>> However if TeX-output-dir is set to "build"
>> 
>> Then the backend=biber works, but backend=bibtex gives the following error 
>> when running  bibtex
> Yes, indeed.

> The fix is easy: just add the output directory to BIBINPUTS and TEXINPUTS. 
> For example

> BIBINPUTS=build:.
> TEXINPUTS=build:.

Hm, although I am using the tcsh shell not the bash
I set 
setenv BIBINPUTS build:.
setenv TEXINPUTS build:.

Indeed source ~/.tcshrc
and then 

env | grep TEX
TEXINPUTS=build:.

env | grep BIB
BIBINPUTS=build:.

Then I shut down everything logout, login, restart emacs but then
when trying to run even latex on that file 

--8<---------------cut here---------------start------------->8---
Running `LaTeX' on `test-bib' with ``pdflatex  -file-line-error  
--output-directory="build/" --synctex=1 -interaction=nonstopmode test-bib.tex''
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Debian) 
(preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test-bib.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-01-22>

! LaTeX Error: File `amsart.cls' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)

Enter file name: 
./test-bib.tex:2: Emergency stop.
<read *> 
         
l.2 \usepackage
               [colorlinks,citecolor=blue]{hyperref}^^M
./test-bib.tex:2:  ==> Fatal error occurred, no output PDF file produced!
Transcript written on build//test-bib.log.

TeX Output exited abnormally with code 1 at Mon Dec 29 18:28:15
--8<---------------cut here---------------end--------------->8---

So all I will remove the texinputs, but I have a bad feeling

Uwe 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to