On Mon, Apr 17, 2006 at 08:57:54PM +0200, Georg Baum wrote:

> Am Montag, 17. April 2006 18:24 schrieb Enrico Forestieri:

> > It would also be nice having a report in the status line about the
> > size of the delimiter when the cursor is next to it.
> 
> That is not possible with this approach, since the status line info is 
> only obtained if the cursor is inside an inset.

Ok, I think one can live with that.

> > However, even converting it to 1.4, I don't obtain correct results
> > loading it in 1.5. I also attach here a test file test-1.4.lyx and
> > the results I obtain with 1.4 (test-1.4.png) and 1.5 (test-1.5.png).
> 
> The reason was a stupid mistake I made. Please try the attached, updated 
> patch. I intend to commit this unless I get objections regarding the 
> general approach.

This patch works with both 1.4 and 1.5. However, there is a problem
with brackets. Bigger "{" and "}" can be created on screen but the
generated latex is wrong. For example one obtains "\Bigl {" and
"\Bigr }" instead of the correct "\Bigl\{" and "\Bigr\}".
Conversely, when loading a file containing "\Bigl\{", this is not
rendered on screen.

Please, try the attached LyX document. I created the first two
brackets with an unpatched version of LyX and added the second couple
with a patched one.

Other constructs such as \bigl\Vert seem to work.

Thank you for your efforts Georg, I wish I could be more helpful here.

-- 
Enrico

Reply via email to