auctex
[Top][All Lists]
Advanced

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

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


From: Mandar Mitra
Subject: Re: [AUCTeX] TeX-parse-self and \input files
Date: Mon, 9 Sep 2013 20:26:05 +0530

David Kastrup wrote (Mon, Sep 09, 2013 at 10:35:14AM +0200):
> Mandar Mitra <address@hidden> writes:
> > 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
> 
> \iffalse
> \documentclass...
> \begin{document}
> \fi
> ...
> \iffalse
> \end{document}
> \fi
> 
> That's what I can think of without thinking.


Nice, thanks a lot! Works fine for me.

mandar.



reply via email to

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