My apologies if this has been asked before, but I couldn't find anything directly relevant in the archives. I'm hitting a problem with IEEEtran and LyX; it would be great if anyone could help to work out whether it is a problem in what I'm doing, or perhaps a bug. I should add that I'm reasonably familiar with TeX/LaTeX, but new to LyX, so apologies if I'm missing something obvious. Versions: LyX 1.6.1 (linux and Mac OSX versions both show the problem) pdfTeX pi-1.40.9-2.2 (Web2C 7.5.7) from the TeXLive distribution IEEEtran bare_jrnl.tex V1.3 IEEEtran.cls V1.7a IEEEtran.layout - no version number that I can find, but the one included with LyX 1.6.1
I downloaded the most recent version of the IEEEtran template document from the IEEE website, imported it into LyX, and tried to typeset it (unchanged) using ps2pdf. Result: Error popup from LyX / LaTeX: Paragraph ended before \markboth was complete. An error also appears on standard error (I'm launching LyX from a terminal): Error in latexParagraphs: You should not mix title layouts with normal ones. On the other hand, typesetting bare_jrnl.tex with LaTeX works fine. I think the problem might lie in the importing. Once imported into LyX, only the first argument to \markboth shows as having markboth style (the second argument just shows as standard), but I'm not certain how the styles of a two-argument macro are normally treated in LyX. I realise there have been previously reported bugs relating IEEEtran, LyX and babel, but my understanding is that those were fixed in LyX 1.5. It's not an urgent problem for me (I just deleted the whole markboth section, since I'm just using it for a class demo, and markboth isn't relevant - this fixed the problem), but I thought I should report it. Thanks for any feedback. Bob