>>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 <lyx-users@lists.lyx.org> >> >>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, if this may be the reason of the problem. >> >>So you added the definition in the layout file *and* in the *.inc file which >>you included? This is wrong, just add it in one place.
You mean that creating mycharstyles.inc makes the charstyles available for all layouts ? That's great, thanks for pointing this out. -- Jean-Pierre