Re: How to actually use the LyX 1.4 Character Style Feature

2006-11-06 Thread Georg Baum
Juergen Spitzmueller wrote: > Jean-Pierre Chretien wrote: >> I guess this deserves an entry in bugzilla ? > > I don't know if the Format 2 is mandatory in inc files. Georg? Yes, if they are in the new format. If the file is in the old dormat it must not have the Format entry. LyX does not treat

Re: How to actually use the LyX 1.4 Character Style Feature

2006-11-06 Thread Juergen Spitzmueller
Jean-Pierre Chretien wrote: > I guess this deserves an entry in bugzilla ? I don't know if the Format 2 is mandatory in inc files. Georg? Jürgen

Re: How to actually use the LyX 1.4 Character Style Feature

2006-11-06 Thread Jean-Pierre Chretien
>>From: Juergen Spitzmueller <[EMAIL PROTECTED]> >>To: Jean-Pierre Chretien <[EMAIL PROTECTED]> >>Subject: Re: How to actually use the LyX 1.4 Character Style Feature >>Date: Mon, 6 Nov 2006 09:09:02 +0100 >>Cc: LyX User >> >>

Re: How to actually use the LyX 1.4 Character Style Feature

2006-11-06 Thread Juergen Spitzmueller
Jean-Pierre Chretien wrote: > You mean that creating mycharstyles.inc makes the charstyles available for > all layouts ? That's great, thanks for pointing this out. Yes, but only if you do Input mycharstyles.inc in the layout files. Jürgen

Re: How to actually use the LyX 1.4 Character Style Feature

2006-11-05 Thread Jean-Pierre Chretien
>>From: Juergen Spitzmueller <[EMAIL PROTECTED]> >>To: Jean-Pierre Chretien <[EMAIL PROTECTED]> >>Subject: Re: How to actually use the LyX 1.4 Character Style Feature >>Date: Sat, 4 Nov 2006 15:27:54 +0100 >>Cc: LyX User >> >>Jean-Pierre Chre

Re: How to actually use the LyX 1.4 Character Style Feature

2006-11-04 Thread Juergen Spitzmueller
Jean-Pierre Chretien wrote: > Tried this example on 1.4.3-qt/Solaris, but I got twice the command in the > exported latex file, so I had to change \newcommand to \providecommand to > make it work. > > I created the .inc file and modified the class layout in the site location > /usr/local/share/lyx,

Re: How to actually use the LyX 1.4 Character Style Feature

2006-11-03 Thread Jean-Pierre Chretien
>>From: Juergen Spitzmueller <[EMAIL PROTECTED]> >>To: lyx-users@lists.lyx.org >>Subject: Re: How to actually use the LyX 1.4 Character Style Feature >>Date: Mon, 2 Oct 2006 08:17:55 +0200 >> >>Daniel Lohmann wrote: >>> 1) I would like to use

Re: How to actually use the LyX 1.4 Character Style Feature

2006-10-03 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > I do not really see why it would be better than just displaying the > contents (without markers) when the cursor is outside of the inset. I > do not think that we should use preview here. This only works for very simple character styles. I'm thinking of using charact

Re: How to actually use the LyX 1.4 Character Style Feature

2006-10-03 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: >> That would be cool! It would be even more cool, if it was >> optionally possible to represent the character class *only* via the >> preview-latex setting and leave out the indicator line and label. >> That is, to define somethi

Re: How to actually use the LyX 1.4 Character Style Feature

2006-10-03 Thread Helge Hafting
Juergen Spitzmueller wrote: I'd prefer to have a charstyle combo (similar to the paragraph style combo) in the long term that displays the current charstyle (only the one the cursor is in, though). That'd be nice. And with charstyles being the preferred way, it should definitely be right th

Re: How to actually use the LyX 1.4 Character Style Feature

2006-10-03 Thread Juergen Spitzmueller
Helge Hafting wrote: > Some ideas: > *  Where the charstyle is defined, let the implementor specify wheter >     it should have a label or not. That way, we can do away with labels >     for styles with obvious visual appearance like "large bold red". Probably (would be easy to implement, since I

Re: How to actually use the LyX 1.4 Character Style Feature

2006-10-03 Thread Helge Hafting
Juergen Spitzmueller wrote: You can hide the label by right-clicking in the character style. Unfortunately, this is not saved, and you have to do it for any single charstyle again. For 1.5, I'm just working on a patch that lets you hide all labels at once and probably also saves the settings

Re: How to actually use the LyX 1.4 Character Style Feature

2006-10-03 Thread Juergen Spitzmueller
Daniel Lohmann wrote: > > For 1.5, I'm just working on a patch that lets you hide all labels at > > once and > > probably also saves the settings (whether the labels are shown or not). > > The former might even go into some future version of 1.4 (the latter not, > > because > > it entails a file fo

Re: How to actually use the LyX 1.4 Character Style Feature

2006-10-02 Thread Daniel Lohmann
For 1.5, I'm just working on a patch that lets you hide all labels at once and probably also saves the settings (whether the labels are shown or not). The former might even go into some future version of 1.4 (the latter not, because it entails a file format change). Yeah, however it is not just

Re: How to actually use the LyX 1.4 Character Style Feature

2006-10-02 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > What about not showing the label when cursor is outside of the inset > (like mathed does)? Would that be too confusing? I think so. There are not too much distinguishable colors, after all. I have a patch that improves the situation quite a bit. Jürgen

Re: How to actually use the LyX 1.4 Character Style Feature

2006-10-02 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> For 1.5, I'm just working on a patch that lets you hide all Juergen> labels at once and probably also saves the settings (whether Juergen> the labels are shown or not). The former might even go into Juergen> some future v

Re: How to actually use the LyX 1.4 Character Style Feature

2006-10-02 Thread Juergen Spitzmueller
Daniel Lohmann wrote: > I am a bit surprised about the way character styles are represented in the > GUI (with this kind of inset and the name below). I had expected it to be > more like "Emphasis" and the other text styles so that one can defines, how > the text *itself* does appear - and not the

Re: How to actually use the LyX 1.4 Character Style Feature

2006-10-02 Thread Daniel Lohmann
Thank you very much, Jürgen - works like a charm! I am a bit surprised about the way character styles are represented in the GUI (with this kind of inset and the name below). I had expected it to be more like "Emphasis" and the other text styles so that one can defines, how the text *itself* d

Re: How to actually use the LyX 1.4 Character Style Feature

2006-10-01 Thread Juergen Spitzmueller
Daniel Lohmann wrote: > 1) I would like to use character styles in my documents. In our papers, we > frequently have to refer to identifiers from C++ listings that should be > set in "typewriter" and either "small" or "smaller" and I would like to > define a character style for that. Currently, ch

How to actually use the LyX 1.4 Character Style Feature

2006-10-01 Thread Daniel Lohmann
Lyx 1.4.3svn Win32 Hi, Even though I have been using Lyx for quite a couple of years, I am new on this list - so please forgive me, if this already has been discussed. (Yes, I did a quick check the archives :-) ) 1) I would like to use character styles in my documents. In our papers, we fre