[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Getting macro completions in large, multi-file projects.
From: |
Mosè Giordano |
Subject: |
Re: [AUCTeX] Getting macro completions in large, multi-file projects. |
Date: |
Sun, 10 May 2015 22:34:55 +0200 |
Hi Chase,
2015-05-10 22:29 GMT+02:00 Chase Dwelle <address@hidden>:
> I have a project that has multiple sub-folders and sub files to organize the
> writing.
>
> I have a file main.tex which reads in all the necessary files using \input{}
> commands, this includes my preamble and files in each sub folder. Some of
> these subfolder files are also reading in other files using \input{}.
>
>
> I have a problem that anything that is outside of main.tex does not have the
> macros associated with the packages loaded through preamble.tex.
>
> I'm assuming there's a simple fix to this, but haven't been able to find it
> yet. Any help would be appreciated.
Did you specify the master file to each included file? If not, visit
every included file and issue C-c _ (or M-x TeX-master-file-ask RET)
in order to set the master file. In addition, you should add to your
init file the line
(setq-default TeX-master nil)
This will make AUCTeX ask you for the master file every time you
create a new *TeX file. This is also suggested in the very first
lines of the AUCTeX manual.
Bye,
Mosè
- [AUCTeX] Getting macro completions in large, multi-file projects., Chase Dwelle, 2015/05/10
- Re: [AUCTeX] Getting macro completions in large, multi-file projects.,
Mosè Giordano <=
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Chase Dwelle, 2015/05/10
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Chase Dwelle, 2015/05/11
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Mosè Giordano, 2015/05/11
- Message not available
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Mosè Giordano, 2015/05/13
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Chase Dwelle, 2015/05/20
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Mosè Giordano, 2015/05/20
- Message not available
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Mosè Giordano, 2015/05/20
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Chase Dwelle, 2015/05/20
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Tassilo Horn, 2015/05/20