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

> On 30/12/2025, Uwe Brauer wrote:
>> 
>> May I ask: did you try out out my 2 MWE with TeX-output-dir set to
>> "build"?

> Yes of course. Though I use auctex/build as my output directory
> (shouldn't make a difference).

Thanks.


> Running `BibTeX' on `mwe_od' with ``bibtex auctex/build/mwe_od.aux''
> This is BibTeX, Version 0.99d (TeX Live 2024)
> The top-level auxiliary file: auctex/build/mwe_od.aux
> The style file: biblatex.bst
> Database file #1: mwe_od-blx.bib
> Database file #2: test.bib
> Biblatex version: 3.19

> TeX Output finished at Tue Dec 30 15:25:36


>> Did it work out for you?
> Yes, but only with the environment variables as listed above.
> Have you tried the function advice I listed?

Here is what I did, step by step

    + I removed everything new concerning TEXINPUT and BIBINPUT from my tcshrc 
(bashrc) file

    + I logged out and in

    + I restarted emacs

    + I saved your code in a lisp file

    + I opened the MWE

    + I run
       (getenv "BIBINPUTS")
       (getenv "TEXINPUTS")
      The first returns nil, the second my private setting but not build.

    + I run (eval-last-sexp)
    (dolist (e '("BIBINPUTS" "TEXINPUTS") )
     (setenv e (concat TeX-output-dir ":" (getenv e)))) 

    + then 
      (getenv "BIBINPUTS")      returns "build:"
      (getenv "TEXINPUTS") returns
      
"build:.:/home/oub/tex/:/home/oub/ALLES/HGs/tex/bib:/home/oub/ALLES/HGs/tex/sty:"
    + then I run you advice code

    + I run latex (pdflatex) on the MWE (via C-c C-c select latex (pdf
      engine selected)

    + I run bibtex on the MWE (via C-c C-c select BibTeX)


And, hurray it works!!! Thanks very much, should your code somehow be
included? I personally need this only when submitting to the ArXiv since
they cannot deal with files generated by biber.













-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel.
Stop the war in Gaza, guarantee humanitarian aid, and bring the hostages back.
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

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

Reply via email to