[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] includegraphics in non-master file
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] includegraphics in non-master file |
Date: |
Mon, 19 Jan 2015 09:08:26 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Marek Rudnicki <address@hidden> writes:
Hi Marek,
> I'm having a problem with `\includegraphics{}' macro NOT being present
> in a completion when editing a non-master file.
>
> I also have a LaTeX document that consists of a master file
> (parent.tex) and non-master file (child.tex). child.tex contains:
>
> %%% Locall Variables:
> %%% mode: latex
> %%% TeX-master: "parent"
> %%% End:
>
>
> and parent.tex includes:
>
> \usepackage{graphicx}
I can reproduce that with a parent.tex which contains the preamble and
the document environment that includes a child.tex which just contains,
e.g., a section.
I guess the right fix is to make non-master files run the master file's
style hook, no?
Bye,
Tassilo