Re: [patch] support the commands \fbox and \mbox

2012-07-09 Thread Jean-Marc Lasgouttes
Le 08/07/2012 21:09, Uwe Stöhr a écrit : The attached patch adds support for \fbox and \mbox. I have there used a hack where I code the case of no option to the length -999col%. This works but I am not happy with this. There must be a way to omit specifying a length but I can't figure out how.

Re: [patch] support the commands \fbox and \mbox

2012-07-09 Thread Pavel Sanda
Uwe Stöhr wrote: I have there used a hack where I code the case of no option to the length -999col%. This works but I am not happy with this. There must be a way to It is indeed very ugly. In case you can't find better solution at least define some constant sensible_name=-999col% and use this

Re: [patch] support the commands \fbox and \mbox

2012-07-09 Thread Jean-Marc Lasgouttes
Le 08/07/2012 21:09, Uwe Stöhr a écrit : The attached patch adds support for \fbox and \mbox. I have there used a hack where I code the case of no option to the length "-999col%". This works but I am not happy with this. There must be a way to omit specifying a length but I can't figure out how.

Re: [patch] support the commands \fbox and \mbox

2012-07-09 Thread Pavel Sanda
Uwe Stöhr wrote: > I have there used a hack where I code the case of no option to the length > "-999col%". This works but I am not happy with this. There must be a way to It is indeed very ugly. In case you can't find better solution at least define some constant sensible_name=-999col% and use

[patch] support the commands \fbox and \mbox

2012-07-08 Thread Uwe Stöhr
For an unknown reason LyX supports \framebox and \makebox only _with_ command options. \framebox{} and \makebox{} (which is the same as \fbox{} and \mbox{}) are not supported. Support for them would be very useful because one often has the case that one wants to simply draw a box around a

[patch] support the commands \fbox and \mbox

2012-07-08 Thread Uwe Stöhr
For an unknown reason LyX supports \framebox and \makebox only _with_ command options. \framebox{} and \makebox{} (which is the same as \fbox{} and \mbox{}) are not supported. Support for them would be very useful because one often has the case that one wants to simply draw a box around a