Quoting Richard Heck: > On 12/19/2012 09:08 AM, Antonio Marcos López Alonso wrote: >> Hi: >> >> I'm rewriting the custom header/footerlines module to use fancyhead / >> fancyfoot in a more "printable" way but I cannot work it out as I >> expected to. >> >> If I for instance write: >> ..... >> LatexName fancyhead[RE] >> ...... >> >> or >> >> ........ >> LatexName fancyfoot[LO] >> ............... >> >> the module works OK. However if I do: >> >> ..... >> LatexName fancyhead[RE,LO] >> ..... >> >> LyX complains on: >> >> ............ >> LyX: Unknown layout tag `LO]' [around line 17 of file >> ~/.lyx/layouts/customHeadersFootersInnerOuter.module current token: 'LO]' >> context: ''] >> ../../src/TextClass.cpp(163): Error parsing style `Outer Header' >> Warning: Error de lectura >> .................... >> >> Seems that LyX does not like commas inside LatexName? > > Try quotes around it: > LatexName "fancyhead[RE,LO] " > But the better way to do it is: > LatexName fancyhead > LatexParam "[RE,LO]" > that makes it a bit more flexible. > > Richard >
Hi Richard: Sorry for the big delay: I was abroad and out of the Internet. It works! Well LatexParam seemed to have no effect but I bet it is just a matter of some missing bit. Perhaps it should be LatexParams instead? Have a happy new year! Antonio
