Uwe Brauer <[email protected]> writes:
> > amsmath or amsthm do not provide a thm environment, at least not
> > in the version v2.20.2 which is provided by TeXLive 2015.
>
> This is correct, however I use the subfiles packages and all the cool
> theorems are defined in a master file main.tex. But I cannot use the
> usual way of setting a master file for this package auctex turns
> crazy. So auctex does not know about these theorems.
I don't understand your original question. You already seem to know
that your theorems don't show up because some problem with subfiles. So
what are you asking for: a workaround for getting completions for the
theorems/macros/environments defined in main.tex anyway?
> Explanation
>
> If I set
>
> ,----
> | \documentclass[main.tex]{subfiles}
> | \begin{document}
> |
> | \subsection{The nonlinear estimate}
> | \label{sec:nonlinear-estimate}
> |
> |
> | \end{document}
> |
> | %%% Local Variables:
> | %%% mode: latex
> | %%% TeX-master: "main"
> | %%% End:
> `----
>
> Then running latex on that file leads to unexpected results, but maybe
> that is more a question of subfiles than of auctex.
I don't know but if you provide a MWE and tell us what you expect and
get instead, we could check if there is some problem with AUCTeX and
the subfiles package.
Bye,
Tassilo
_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel