[Top][All Lists]

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

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

From: David Kastrup
Subject: Re: [AUCTeX] TeX-parse-self and \input files
Date: Mon, 09 Sep 2013 10:35:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Mandar Mitra <address@hidden> writes:

> Mandar Mitra wrote (Mon, Sep 09, 2013 at 12:58:50PM +0530):
>> So the problem appears to be that macros.tex is not being properly
>> parsed. I'd be grateful for any pointers to what I might be doing wrong.
> I dug around a bit more and tried the following. I included
> \documentclass, \begin{document} and \end{document} lines
> in macros.tex and opened/saved the file. 
> This resulted in an updated macros.el that finally has
> TeX-add-symbols corresponding to my defined commands, and
> TeX-run-style-hooks for all the packages.
> So the missing \documentclass, \begin{document} and \end{document} 
> lines seem to cause the problem. But since macros.tex is meant to be
> used via \input in various .tex files, I can't really leave those lines
> in there.
> Can someone please suggest a workaround? Thanks,
> Mandar.

A workaround would be


That's what I can think of without thinking.

David Kastrup

reply via email to

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