Drop Box wrote: > I agree that rendering ERT obsolete is a worthy goal. However, there have > been several instances in which I was unable to do something within LyX > due > to poor math ERT support. Personally, I greatly prefer typing LyX math > instead of raw LaTeX, but I think lots of people are turned off by LyX's > inability to handle raw LaTeX in math.
Please give an example. LyX math _is_ raw LaTeX. There are very few things that get misparsed (such as some arguments to \xymatrix), but in general LyX math is equivalent to raw LaTeX. What happens is that known things are displayed nicely, and unknown things are displayed in red. > A simple way I propose to remedy this matter would be to create a math > mode "\rawtex" box that would behave similarly to \textrm, allowing users > to > enter TeX without LyX parsing it. This would be invaluable to anyone > trying to use advanced features such as commutative diagrams. That would not work, because LyX would still need to parse the contents of the \rawtex box in order to be able to detect its end. Far better would be to fix the remaining cases where LyX parses something not correctly. What could also be useful for people who want to have a look at the raw LaTeX would be a mode of the math editor where everything is displayed as raw LaTeX instead of using the known symbols. Then one could switch (either globally or per formula) the view from raw to nice. This feature would be orthogonal to the current parsing problems. It is simply not possible to implement it correctly without parsing the TeX code in some sense. If you want to help please file a bug report with a minimal example .tex file for each class of problems at http://bugzilla.lyx.org. The \xymatrix problem is already known (and not so easy to fix), but the others are probably simply not known to LyX developers. Georg PS: If you change your name from Drop Box to something usefuol you might get more responses.