auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] TeX-parse-self and \input files


From: Mosè Giordano
Subject: Re: [AUCTeX] TeX-parse-self and \input files
Date: Mon, 9 Sep 2013 00:20:15 +0200

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 <address@hidden>:
> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/auctex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]