On Tue, Jul 02, 2002 at 11:05:45AM +0100, Angus Leeming wrote: > > As I said, local defines would break that scheme. But I think we currently > > don't have the infrastructure to work around this problem. > > Because math-macros are dumped into the LaTeX file after the begin{document}.
Not just that. The user can have arbitrary code in ERT insets... > Why is that? Why the math macros come after \begin{document}? Ask Alejandro. My guess is that the main LyX canvas is currently the only place where things like that can be drawn properly for decent editing. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)