>>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 <lyx-users@lists.lyx.org> >> >>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.
That's what I'd done in the first place. I think I've tracked down the problem to layout2layout conversion: I did not include a Format 2 command in mycharstyles.inc, so that I see a conversion on the fly with lyx-dbg tclass, and I get twice the charstyle, both in the Insert menu (did I mention this ?) and in the latex export. If either I plug the charstyle code in the class, or as a Format 2 mycharstyles.inc, all is OK. I guess this deserves an entry in bugzilla ? -- Jean-Pierre