Hi Uwe,

Uwe Brauer <[email protected]> writes:

> I tried to modify TeX-clean so that the bbl files are not deleted.
>
> I tried out either 
>
>
> (with-eval-after-load 'tex
>   (setq TeX-clean-default-intermediate-suffixes
>         (remove "\\.bbl"
>                 TeX-clean-default-intermediate-suffixes)))
>
> Or 
>
>
> (with-eval-after-load 'tex
>   (setq TeX-clean-default-intermediate-suffixes
>         (delete "\\.bbl"
>                 TeX-clean-default-intermediate-suffixes)))
>
> However when running TeX-clean the function still wants to delete the
> bbl file!

Try to tweak `LaTeX-clean-intermediate-suffixes':

(with-eval-after-load 'latex
  (setq LaTeX-clean-default-intermediate-suffixes
        (delete "\\.bbl"
                LaTeX-clean-default-intermediate-suffixes)))

Best, Arash

Reply via email to