Re: [PATCH] Making charstyle inset less prominent.

2007-09-30 Thread Jürgen Spitzmüller
Martin Vermeer wrote: > Even for charstyles? They used to use a different open/close mechanism > (now fixed in trunk) Yes, just checked again: all-insets-toggle works for charstyles in 1.5. Here's the change: http://www.lyx.org/trac/changeset/ Jürgen

Re: [PATCH] Making charstyle inset less prominent.

2007-09-30 Thread Martin Vermeer
On Sun, Sep 30, 2007 at 08:08:25PM +0200, Jürgen Spitzmüller wrote: > Martin Vermeer wrote: > > For trunk, yes. > > Even for branch, I think (I remember having implemented this some time ago). > > Jürgen Even for charstyles? They used to use a different open/close mechanism (now fixed in trunk)

Re: [PATCH] Making charstyle inset less prominent.

2007-09-30 Thread Jürgen Spitzmüller
Martin Vermeer wrote: > For trunk, yes. Even for branch, I think (I remember having implemented this some time ago). Jürgen

Re: [PATCH] Making charstyle inset less prominent.

2007-09-30 Thread Martin Vermeer
On Sun, Sep 30, 2007 at 06:54:13PM +0200, Jürgen Spitzmüller wrote: > Martin Vermeer wrote: > > > Another possibility is for the label to be toggleable (sp?). Much like > > > we have with---ERT? Then all you need is something in the layout file > > > that will tell whether to display the label by d

Re: [PATCH] Making charstyle inset less prominent.

2007-09-30 Thread Jürgen Spitzmüller
Martin Vermeer wrote: > > Another possibility is for the label to be toggleable (sp?). Much like > > we have with---ERT? Then all you need is something in the layout file > > that will tell whether to display the label by default. > We have this already... try the right mouse button. (Documentatio

Re: [PATCH] Making charstyle inset less prominent.

2007-09-30 Thread Martin Vermeer
On Sun, Sep 30, 2007 at 12:43:03PM -0400, Richard Heck wrote: > Jürgen Spitzmüller wrote: > >Bo Peng wrote: > > > >>>But the information what kind of char style this is ois still available > >>>somewhere? In the status line perhaps when the cursor is inside the > >>>style inset perhaps? > >>>

Re: [PATCH] Making charstyle inset less prominent.

2007-09-30 Thread Richard Heck
Jürgen Spitzmüller wrote: Bo Peng wrote: But the information what kind of char style this is ois still available somewhere? In the status line perhaps when the cursor is inside the style inset perhaps? I think the font used in such an inset is (almost) enough to tell us what kinds of

Re: [PATCH] Making charstyle inset less prominent.

2007-09-30 Thread Bo Peng
> Wrt 1.5, however, please wait with this a few days, until 1.5.2 is out. That was my plan too. Bo

Re: [PATCH] Making charstyle inset less prominent.

2007-09-30 Thread Jürgen Spitzmüller
Bo Peng wrote: > There be no way to reach a consensus here. I propose that > > 1. apply the patch for 1.5.x and 1.6.x > 2. add a 'ShowLabel' keyword to CharLayout definition. Because this > involves lyx2lyx, it can only be done for 1.6.x. (This will have low > priority, but I will do it before 1.6.

Re: [PATCH] Making charstyle inset less prominent.

2007-09-30 Thread Bo Peng
> Also for some other charstyles. Consider a "letterspaced" char style. Since we > cannot emulate letterspacing in the workarea, I'd prefer the label to be > shown initially. There be no way to reach a consensus here. I propose that 1. apply the patch for 1.5.x and 1.6.x 2. add a 'ShowLabel' keyw

Re: [PATCH] Making charstyle inset less prominent.

2007-09-30 Thread Jürgen Spitzmüller
Martin Vermeer wrote: > Yes, that has been my idea too. Should be done in a way that also works > in trunk. I believe that LaTeX document charstyles should start by not > displaying the label (which Bo's patch does), Probably yes. > but for 'elements' in docbook you want to see the label. Also

Re: [PATCH] Making charstyle inset less prominent.

2007-09-30 Thread Martin Vermeer
On Sun, Sep 30, 2007 at 09:38:51AM +0200, Jürgen Spitzmüller wrote: > Bo Peng wrote: > > > But the information what kind of char style this is ois still available > > > somewhere? In the status line perhaps when the cursor is inside the > > > style inset perhaps? > > > > I think the font used in su

Re: [PATCH] Making charstyle inset less prominent.

2007-09-30 Thread Jürgen Spitzmüller
Bo Peng wrote: > > But the information what kind of char style this is ois still available > > somewhere? In the status line perhaps when the cursor is inside the > > style inset perhaps? > > I think the font used in such an inset is (almost) enough to tell us > what kinds of charstyle it is. If so

Re: [PATCH] Making charstyle inset less prominent.

2007-09-29 Thread Bo Peng
> And maybe additional information on mouse hover? That leads to the attached patch (against 1.5.x). It displays CharStyle: type when this inset is enterred or hovered. Jose? Bo Index: src/insets/InsetCharStyle.h === --- src/insets/I

Re: [PATCH] Making charstyle inset less prominent.

2007-09-29 Thread Andre Poenitz
On Sat, Sep 29, 2007 at 03:32:34PM -0500, Bo Peng wrote: > > But the information what kind of char style this is ois still available > > somewhere? In the status line perhaps when the cursor is inside the > > style inset perhaps? > > I think the font used in such an inset is (almost) enough to tel

Re: [PATCH] Making charstyle inset less prominent.

2007-09-29 Thread Bo Peng
> But the information what kind of char style this is ois still available > somewhere? In the status line perhaps when the cursor is inside the > style inset perhaps? I think the font used in such an inset is (almost) enough to tell us what kinds of charstyle it is. If someone really wants to know

Re: [PATCH] Making charstyle inset less prominent.

2007-09-29 Thread Andre Poenitz
On Sat, Sep 29, 2007 at 03:15:27PM -0500, Bo Peng wrote: > Dear all, > > Do you like the attached patch? It stops InsetCharStyle from > displaying a initial label, and removes the additional spaces above > and below this inset. I have attached two screenshots to demonstrate > the effect. > > The