I wonder whether it would be prudent to handle font changes by insets (just
for math, nothing to worry for the outside world - although this would
hit the outside world the day they decide to support macros as well)
The problem is as follows:
If there is a macro
\newcommand{\vec}[1]{\mathbf{#1}}
and the parser sees the mathbf, it switches to 'all chars are bold now'-mode.
Unfortunately, #1 is not a char, but an inset of its own, that cannot be
made 'bold'. So the \mathbf effectively gets ignored.
It would work if there was a 'font change inset'. The problem with that is
proper handling: If you are in a x-font in a y-font-inset and toggle
x-font, what shoul happen? Create a nested x-font inset, or break out of
both and start a new y-font inset? Or something else?
Alternately, I could give font information to every inset, too... So if the
"bold" #1 inset expands, it expands into bold text...
Any opinions?
Andre'
--
André Pönitz ............................................. [EMAIL PROTECTED]