Re: optional argument to "thanks" section in v1.5.4 broken?
G. Milde schrieb: 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.layout2008-03-13 16:21:21.0 +0100 +++ /tmp/elsart.layout 2008-04-18 09:35:12.0 +0200 @@ -195,6 +195,7 @@ LatexType Command LatexName thanks InTitle 1 + OptionalArgs 1 Font SizeSmall Family Typewriter I fixed this for the next LyX version LyX 1.5.7. Note that elsart.layout uses an Elsevier class that is obsolete since a month. I'll provide a new layout file for the new class for the next LyX version. regards Uwe
Re: optional argument to "thanks" section in v1.5.4 broken?
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.layout2008-03-13 16:21:21.0 +0100 +++ /tmp/elsart.layout 2008-04-18 09:35:12.0 +0200 @@ -195,6 +195,7 @@ LatexType Command LatexName thanks InTitle 1 + OptionalArgs 1 Font SizeSmall Family Typewriter Maybe this should be made clear in the abovementioned thread as well. Guenter
optional argument to "thanks" section in v1.5.4 broken?
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? - Fred -- View this message in context: http://www.nabble.com/optional-argument-to-%22thanks%22-section-in-v1.5.4-broken--tp16760157p16760157.html Sent from the LyX - Users mailing list archive at Nabble.com.