[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc |
Date: |
Mon, 12 Oct 2015 13:02:49 +0200 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
Uwe Brauer <address@hidden> 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] amsmath, amsthm automatially insert thm, lemma etc, Uwe Brauer, 2015/10/09
- Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc, Tassilo Horn, 2015/10/12
- Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc, Arash Esbati, 2015/10/18
- Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc, Uwe Brauer, 2015/10/18
- Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc, MosÃ¨ Giordano, 2015/10/18
- Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc, Arash Esbati, 2015/10/20
- Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc, David Kastrup, 2015/10/20
- Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc, MosÃ¨ Giordano, 2015/10/20
- Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc, Uwe Brauer, 2015/10/20
- Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc, Arash Esbati, 2015/10/20
- Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc, Uwe Brauer, 2015/10/21
- Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc, Arash Esbati, 2015/10/21