Erwin Müller wrote:
Hi there,
Does anyone know if anything changed from version 1.4.2 to 1.5.x regarding the
layout file and especially with regard to the preamble section on such a
file? I have my one document class layout file (modification of article
class) with a preamble section at the start. This worked fine with all
versions of LyX until I upgraded to 1.5.1 - now it seems everything after the
start of the preamble section is ignored.
Any help would be greatly appreciated. I include a copy of my layout file as
an attachment.
Preambles still amble along. The problem is the copyright symbol in the
footer:
\cfoot{PROPRIETARY\\\vspace{2mm}Copyright © 2004 NECSA, CompuSim AB}
For whatever reason, LyX can't digest it. (In the shell window, you'll
see a message about an illegal byte sequence; unfortunately, it's hard
to tell which byte in the sequence is the offender. Since the copyright
symbol was the only oddball there, I guessed -- correctly -- that it was
the culprit.)
I don't begin to understand all the different encodings -- as far as I'm
concerned, if I don't see a symbol on my keyboard, it doesn't exist --
and I don't know what changed between 1.4.x and 1.5.x to make it
intolerant of that symbol, but the bottom line is that if you delete it,
the layout seems to work. My guess is that if you replace it with
\copyright, you should be fine.
/Paul