Paul A. Rubin wrote:
I'll skip over the forensic steps (and the "what was I drinking that made me even think of them" part) and cut to the chase scene. My layout file is coded (according to Notepad++) "ANSI as UTF-8". Yours is coded UTF-8. Turns out either ANSI or "ANSI as UTF-8" works fine, but LyX apparently can't read a non-ANSI UTF-8 layout file and keep a straight face. (Developers are free to weigh in here with corrections if I'm wrong.)
Dave's last reply came to me but not to the list (at least not yet). Just to finish the thread, he pointed the finger of suspicion at Notepad, which he used to hack the layout file. He cleaned it up using a different editor (Tinn-R) and the layout file works now.
/Paul