From lyx-devel Thu Apr 30 13:25:34 2009 From: Richard Heck Date: Thu, 30 Apr 2009 13:25:34 +0000 To: lyx-devel Subject: Re: Official submission of eLyXer for inclusion in LyX Message-Id: <49F9A6CE.8030308 () bobjweil ! com> X-MARC-Message: https://marc.info/?l=lyx-devel&m=124109796309705 Helge Hafting wrote: > rgheck wrote: >> Right now, it just outputs the raw LaTeX for anything it doesn't >> recognize. Fixing this is a matter of writing a LaTeX-->HTML entities >> converter, for some of it, or using some trick to generate little >> pictures, or maybe using MathML, who knows? But what about math macros? > > The correct way of handling math macros would be to resolve them, I > think. Macros are there to save work by having the computer do > substitutions, so let it happen. After the macros are processed, you > have a bigger but simpler set of math to convert into latex or MathML. > Yes, of course, and resolving the macros is not impossible. It's already done in plastex. But as Andre once said, there's a sense in which only TeX seems to know how to resolve macros. rh