Hi Mandar, if your current document isn't in ~/latex you have to help AUCTeX to find the style file belonging to macros.tex. Customize the variable `TeX-auto-private' or `TeX-style-private', see https://www.gnu.org/software/auctex/manual/auctex.html#Automatic-Private
Bye, Mosè 2013/9/8 Mandar Mitra <[email protected]>: > Hi, > > I have a ~/latex/macros.tex file with a number of \usepackage commands > (e.g. \usepackage{tabularx}) and custom macros that I frequently use. > > Auctex does not load tabularx.el if I have \input{macros.tex} in a file, > but if I have a direct \usepackage{tabularx}, then auctex behaves as > expected (I have TeX-parse-self set to t). > > Looking at TeX-auto-full-regexp-list, TeX-auto-file seems to be the > function that handles an \input-ed file. Is there some way I can get it > to load the style files for used packages? > > Thanks! > > (I'm using auctex-11.86.) > > _______________________________________________ > auctex mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/auctex _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
