On 17.04.08, nooj wrote:

> In v1.3, Elsevier articles could have their thanks references made through an
> optional argument, as seen in this post:
> http://article.gmane.org/gmane.editors.lyx.general/21473/match=OptArg

> But when I copy that lyx code into a file and open it with lyx 1.5.4, the
> optional argument shows up on the screen, but not in the tex code.  Is it a
> bug in lyx 1.5.4 that optional arguments are ignored?

You need to amend the Elsevier article's elsart.layout file so it recognizes
optional arguments for the Thanks style:

--- /usr/share/lyx/layouts/elsart.layout        2008-03-13 16:21:21.000000000 
+0100
+++ /tmp/elsart.layout  2008-04-18 09:35:12.000000000 +0200
@@ -195,6 +195,7 @@
        LatexType             Command
        LatexName             thanks
        InTitle               1
+       OptionalArgs          1
        Font
          Size                Small
          Family              Typewriter


Maybe this should be made clear in the abovementioned thread as well.

Guenter

Reply via email to