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