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. > Is this known ? I found nothing in bugzilla. Not AFAIK. If you didn't make the mistake above, send an example file (includin the layout and inc files). Jürgen