2014-06-02 9:53 GMT+02:00 Jon Haitz Legarreta:

> Hi Stefano, Richard,
> thank you for your interest.
>
> I started a Lyx document with LNCS format from scratch several times, but
> I cannot even get the authors written.
>
> I also tried to reduce the *.tex example (*.dem file, renamed to *.tex
> -compiling fine in LaTeX-, and exported to LyX) to its minimum expression
> (please find attached the *.lyx file, and the subjidx.lyx, and llncs.cls
> files, just in case) in order to spot the source of the problem.
>
> There seems to be a problem when adding the authors: when deleting the
> following line the document is compiled correctly, but no authors are
> displayed (even if it seems that this just adds a list of subjects); if the
> line is kept there are a number of errors whose explanation seems not to be
> so easy:
>
> *\addtocmark[2]{Subject Index} % additional numbered TOC
> entry\markboth{Subject Index}{Subject Index}  \indexname=Subject Index
> Input: subjidx.lyx*
>
> So frankly speaking, I am at a loss at this stage.
>

There were several issues:

1. All brackets that belong to native LaTeX commands need to be put in ERT
(else, LyX outputs "[" protected as "{[}"). This concerns the two commands
at the end of the main document
2. The \markboth at the end of the main document needs to go on a new line.
Else, it is partially commented out due to the comment on the previous line
3. Likewise, the \begin{index} in the subdocument needs to go on is own
line (same reason).

Corrected files attached. These compile for me.

HTH
Jürgen

Attachment: LNCS_paper_v2.lyx
Description: application/lyx

Attachment: subjidx.lyx
Description: application/lyx

Reply via email to