Hi Tassilo, >>>>> Tassilo Horn <t...@gnu.org> writes: > I worked upon your patch and committed that. Should work again. > TeX-file-fn is now gone and one should simply use `TeX-active-master' in > TeX-expand-list{,-builtin} where formally `file' (and then > `TeX-file-fn') has been used.
Works fine for normal typeset. However, it seems that the first run of preview-latex on any region fails. It must be my conceptual patch that is guilty for that. I haven't looked into the actual codes yet, but my impression is that some kind of initialization is required to fix this... >> I think that the second argument of TeX-command-expand is no longer >> necessary, thanks to the fine utility TeX-active-master. > Indeed. Here is an untested patch which does that (all tests still > pass). The attachment is empty:-) > Since it also affects preview-latex which I did not test, I haven't > committed it yet. If it works, preview.el.in could also be changed to > that preview-gs-file is no cons of (TeX-active-master . file) where > the car is unused anymore. Agreed. Regards, Ikumi Keita