Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-04 Thread Jürgen Spitzmüller
2014-06-03 13:54 GMT+02:00 Jon Haitz Legarreta jhlegarr...@vicomtech.org:

 Just to (hopefully) conclude with the issue, and even if I guess that we
 will usually not encounter the case, the document fails to successfully
 render two titles (the LNCS demo *.tex does have two just as an example).

 However, if the second title (with its authors and institutions) are added
 by means with an ERT, the title is displayed and added to the TOC correctly.

 I wonder whether having two tieles is a feature that is not allowed in
 LyX, or whether it requires some deeper and more complex explanation, may
 be linked to the LNCS template.


Are the two titles subsequent (without any body text)? If so, it should
work. If they are not subsequent, adding \maketitle in ERT just below the
second title should help.

Jürgen




 Thanks,
 JON HAITZ




 On 2 June 2014 17:28, Jürgen Spitzmüller sp...@lyx.org wrote:

 2014-06-02 17:22 GMT+02:00 Jon Haitz Legarreta:

  It seems to me that it may be related to the paragraph styles created
 when the import is done, such as the Running Title or the Author Running.


 Yes, this is certainly something where the tex2lyx converter could do
 better. But as soon as a lot of comments are in the source, things get
 nontrivial (for the importer).

 Jürgen





Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-04 Thread Jon Haitz Legarreta
Dear Jürgen,
thank you.

The two titles are not subsequent, they have body text in between.

Although the error yielded by LyX [1] persists, adding \maketitle in ERT
actually renders the title correctly. So the issue can be considered as
solved if the error can be considered as normal for this situation.

Thanks Jürgen,
JON HAITZ





[1]  Error in latexParagraphs: You should not mix title layouts with normal
ones.
..\..\src\output_latex.cpp (1112): Error in latexParagraphs: You should not
mix title layouts with normal ones.


On 4 June 2014 09:23, Jürgen Spitzmüller sp...@lyx.org wrote:

 2014-06-03 13:54 GMT+02:00 Jon Haitz Legarreta jhlegarr...@vicomtech.org
 :

 Just to (hopefully) conclude with the issue, and even if I guess that we
 will usually not encounter the case, the document fails to successfully
 render two titles (the LNCS demo *.tex does have two just as an example).

 However, if the second title (with its authors and institutions) are
 added by means with an ERT, the title is displayed and added to the TOC
 correctly.

 I wonder whether having two tieles is a feature that is not allowed in
 LyX, or whether it requires some deeper and more complex explanation, may
 be linked to the LNCS template.


 Are the two titles subsequent (without any body text)? If so, it should
 work. If they are not subsequent, adding \maketitle in ERT just below the
 second title should help.

 Jürgen




 Thanks,
 JON HAITZ




 On 2 June 2014 17:28, Jürgen Spitzmüller sp...@lyx.org wrote:

 2014-06-02 17:22 GMT+02:00 Jon Haitz Legarreta:

  It seems to me that it may be related to the paragraph styles created
 when the import is done, such as the Running Title or the Author Running.


 Yes, this is certainly something where the tex2lyx converter could do
 better. But as soon as a lot of comments are in the source, things get
 nontrivial (for the importer).

 Jürgen






Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-04 Thread Jürgen Spitzmüller
2014-06-03 13:54 GMT+02:00 Jon Haitz Legarreta jhlegarr...@vicomtech.org:

 Just to (hopefully) conclude with the issue, and even if I guess that we
 will usually not encounter the case, the document fails to successfully
 render two titles (the LNCS demo *.tex does have two just as an example).

 However, if the second title (with its authors and institutions) are added
 by means with an ERT, the title is displayed and added to the TOC correctly.

 I wonder whether having two tieles is a feature that is not allowed in
 LyX, or whether it requires some deeper and more complex explanation, may
 be linked to the LNCS template.


Are the two titles subsequent (without any body text)? If so, it should
work. If they are not subsequent, adding \maketitle in ERT just below the
second title should help.

Jürgen




 Thanks,
 JON HAITZ




 On 2 June 2014 17:28, Jürgen Spitzmüller sp...@lyx.org wrote:

 2014-06-02 17:22 GMT+02:00 Jon Haitz Legarreta:

  It seems to me that it may be related to the paragraph styles created
 when the import is done, such as the Running Title or the Author Running.


 Yes, this is certainly something where the tex2lyx converter could do
 better. But as soon as a lot of comments are in the source, things get
 nontrivial (for the importer).

 Jürgen





Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-04 Thread Jon Haitz Legarreta
Dear Jürgen,
thank you.

The two titles are not subsequent, they have body text in between.

Although the error yielded by LyX [1] persists, adding \maketitle in ERT
actually renders the title correctly. So the issue can be considered as
solved if the error can be considered as normal for this situation.

Thanks Jürgen,
JON HAITZ





[1]  Error in latexParagraphs: You should not mix title layouts with normal
ones.
..\..\src\output_latex.cpp (1112): Error in latexParagraphs: You should not
mix title layouts with normal ones.


On 4 June 2014 09:23, Jürgen Spitzmüller sp...@lyx.org wrote:

 2014-06-03 13:54 GMT+02:00 Jon Haitz Legarreta jhlegarr...@vicomtech.org
 :

 Just to (hopefully) conclude with the issue, and even if I guess that we
 will usually not encounter the case, the document fails to successfully
 render two titles (the LNCS demo *.tex does have two just as an example).

 However, if the second title (with its authors and institutions) are
 added by means with an ERT, the title is displayed and added to the TOC
 correctly.

 I wonder whether having two tieles is a feature that is not allowed in
 LyX, or whether it requires some deeper and more complex explanation, may
 be linked to the LNCS template.


 Are the two titles subsequent (without any body text)? If so, it should
 work. If they are not subsequent, adding \maketitle in ERT just below the
 second title should help.

 Jürgen




 Thanks,
 JON HAITZ




 On 2 June 2014 17:28, Jürgen Spitzmüller sp...@lyx.org wrote:

 2014-06-02 17:22 GMT+02:00 Jon Haitz Legarreta:

  It seems to me that it may be related to the paragraph styles created
 when the import is done, such as the Running Title or the Author Running.


 Yes, this is certainly something where the tex2lyx converter could do
 better. But as soon as a lot of comments are in the source, things get
 nontrivial (for the importer).

 Jürgen






Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-04 Thread Jürgen Spitzmüller
2014-06-03 13:54 GMT+02:00 Jon Haitz Legarreta :

> Just to (hopefully) conclude with the issue, and even if I guess that we
> will usually not encounter the case, the document fails to successfully
> render two titles (the LNCS demo *.tex does have two just as an example).
>
> However, if the second title (with its authors and institutions) are added
> by means with an ERT, the title is displayed and added to the TOC correctly.
>
> I wonder whether having two tieles is a feature that is not allowed in
> LyX, or whether it requires some deeper and more complex explanation, may
> be linked to the LNCS template.
>

Are the two titles subsequent (without any body text)? If so, it should
work. If they are not subsequent, adding \maketitle in ERT just below the
second title should help.

Jürgen



>
> Thanks,
> JON HAITZ
>
>
>
>
> On 2 June 2014 17:28, Jürgen Spitzmüller  wrote:
>
>> 2014-06-02 17:22 GMT+02:00 Jon Haitz Legarreta:
>>
>>  It seems to me that it may be related to the paragraph styles created
>>> when the import is done, such as the Running Title or the Author Running.
>>>
>>
>> Yes, this is certainly something where the tex2lyx converter could do
>> better. But as soon as a lot of comments are in the source, things get
>> nontrivial (for the importer).
>>
>> Jürgen
>>
>>
>


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-04 Thread Jon Haitz Legarreta
Dear Jürgen,
thank you.

The two titles are not subsequent, they have body text in between.

Although the error yielded by LyX [1] persists, adding \maketitle in ERT
actually renders the title correctly. So the issue can be considered as
solved if the error can be considered as "normal" for this situation.

Thanks Jürgen,
JON HAITZ





[1]  Error in latexParagraphs: You should not mix title layouts with normal
ones.
..\..\src\output_latex.cpp (1112): Error in latexParagraphs: You should not
mix title layouts with normal ones.


On 4 June 2014 09:23, Jürgen Spitzmüller  wrote:

> 2014-06-03 13:54 GMT+02:00 Jon Haitz Legarreta 
> :
>
> Just to (hopefully) conclude with the issue, and even if I guess that we
>> will usually not encounter the case, the document fails to successfully
>> render two titles (the LNCS demo *.tex does have two just as an example).
>>
>> However, if the second title (with its authors and institutions) are
>> added by means with an ERT, the title is displayed and added to the TOC
>> correctly.
>>
>> I wonder whether having two tieles is a feature that is not allowed in
>> LyX, or whether it requires some deeper and more complex explanation, may
>> be linked to the LNCS template.
>>
>
> Are the two titles subsequent (without any body text)? If so, it should
> work. If they are not subsequent, adding \maketitle in ERT just below the
> second title should help.
>
> Jürgen
>
>
>
>>
>> Thanks,
>> JON HAITZ
>>
>>
>>
>>
>> On 2 June 2014 17:28, Jürgen Spitzmüller  wrote:
>>
>>> 2014-06-02 17:22 GMT+02:00 Jon Haitz Legarreta:
>>>
>>>  It seems to me that it may be related to the paragraph styles created
 when the import is done, such as the Running Title or the Author Running.

>>>
>>> Yes, this is certainly something where the tex2lyx converter could do
>>> better. But as soon as a lot of comments are in the source, things get
>>> nontrivial (for the importer).
>>>
>>> Jürgen
>>>
>>>
>>
>


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-03 Thread Jon Haitz Legarreta
Just to (hopefully) conclude with the issue, and even if I guess that we
will usually not encounter the case, the document fails to successfully
render two titles (the LNCS demo *.tex does have two just as an example).

However, if the second title (with its authors and institutions) are added
by means with an ERT, the title is displayed and added to the TOC correctly.

I wonder whether having two tieles is a feature that is not allowed in LyX,
or whether it requires some deeper and more complex explanation, may be
linked to the LNCS template.

Thanks,
JON HAITZ




On 2 June 2014 17:28, Jürgen Spitzmüller sp...@lyx.org wrote:

 2014-06-02 17:22 GMT+02:00 Jon Haitz Legarreta:

 It seems to me that it may be related to the paragraph styles created when
 the import is done, such as the Running Title or the Author Running.


 Yes, this is certainly something where the tex2lyx converter could do
 better. But as soon as a lot of comments are in the source, things get
 nontrivial (for the importer).

 Jürgen




Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-03 Thread Jon Haitz Legarreta
Just to (hopefully) conclude with the issue, and even if I guess that we
will usually not encounter the case, the document fails to successfully
render two titles (the LNCS demo *.tex does have two just as an example).

However, if the second title (with its authors and institutions) are added
by means with an ERT, the title is displayed and added to the TOC correctly.

I wonder whether having two tieles is a feature that is not allowed in LyX,
or whether it requires some deeper and more complex explanation, may be
linked to the LNCS template.

Thanks,
JON HAITZ




On 2 June 2014 17:28, Jürgen Spitzmüller sp...@lyx.org wrote:

 2014-06-02 17:22 GMT+02:00 Jon Haitz Legarreta:

 It seems to me that it may be related to the paragraph styles created when
 the import is done, such as the Running Title or the Author Running.


 Yes, this is certainly something where the tex2lyx converter could do
 better. But as soon as a lot of comments are in the source, things get
 nontrivial (for the importer).

 Jürgen




Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-03 Thread Jon Haitz Legarreta
Just to (hopefully) conclude with the issue, and even if I guess that we
will usually not encounter the case, the document fails to successfully
render two titles (the LNCS demo *.tex does have two just as an example).

However, if the second title (with its authors and institutions) are added
by means with an ERT, the title is displayed and added to the TOC correctly.

I wonder whether having two tieles is a feature that is not allowed in LyX,
or whether it requires some deeper and more complex explanation, may be
linked to the LNCS template.

Thanks,
JON HAITZ




On 2 June 2014 17:28, Jürgen Spitzmüller  wrote:

> 2014-06-02 17:22 GMT+02:00 Jon Haitz Legarreta:
>
> It seems to me that it may be related to the paragraph styles created when
>> the import is done, such as the Running Title or the Author Running.
>>
>
> Yes, this is certainly something where the tex2lyx converter could do
> better. But as soon as a lot of comments are in the source, things get
> nontrivial (for the importer).
>
> Jürgen
>
>


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
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


LNCS_paper_v2.lyx
Description: application/lyx


subjidx.lyx
Description: application/lyx


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
2014-06-02 12:24 GMT+02:00 Jürgen Spitzmüller sp...@lyx.org:

 Corrected files attached. These compile for me.


I forgot to save one file before attaching. Here is the correct version.

Jürgen



 HTH
 Jürgen



subjidx.lyx
Description: application/lyx


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jon Haitz Legarreta
Dear Jürgen,
thanks for having devoted some time to it and for having helped cast some
light on it.

Even if the document yields no errors now, I am still getting No Authors
Given No Institute Given in the rendered PDF.

Is there anything else to be fixed?

Thanks,
JON HAITZ



On 2 June 2014 12:26, Jürgen Spitzmüller sp...@lyx.org wrote:

 2014-06-02 12:24 GMT+02:00 Jürgen Spitzmüller sp...@lyx.org:

 Corrected files attached. These compile for me.


 I forgot to save one file before attaching. Here is the correct version.

 Jürgen



 HTH
 Jürgen





Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
2014-06-02 16:53 GMT+02:00 Jon Haitz Legarreta:

 Dear Jürgen,
 thanks for having devoted some time to it and for having helped cast some
 light on it.

 Even if the document yields no errors now, I am still getting No Authors
 Given No Institute Given in the rendered PDF.

 Is there anything else to be fixed?


Below the paper title, insert the Author and select Author from the
paragraph style combo. Likewise, inset the Institute in a separate
paragraph following the Author and select Institute from the combo.

HTH
Jürgen



 Thanks,
 JON HAITZ



Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
2014-06-02 16:56 GMT+02:00 Jürgen Spitzmüller:

 Below the paper title, insert the Author and select Author from the
 paragraph style combo. Likewise, inset the Institute in a separate
 paragraph following the Author and select Institute from the combo.


I see now that your paper has these infos, but the titling information is
interrupted by Standard paragraphs (the ERT comments), which makes LyX
terminate the Titling block (i.e, output \maketitle). Remove these
comments, and the titling will be correct. See attached.

Jürgen



 HTH
 Jürgen



 Thanks,
 JON HAITZ





LNCS_paper_v2.lyx
Description: application/lyx


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jon Haitz Legarreta
Dear Jürgen,
thanks.

I had to delete the Email: field to make it work properly. Otherwise, the
actual email was displayed in an additional blank page.

It seems to me that it may be related to the paragraph styles created when
the import is done, such as the Running Title or the Author Running.

Kind regards,

JON HAITZ




On 2 June 2014 17:01, Jürgen Spitzmüller sp...@lyx.org wrote:

 2014-06-02 16:56 GMT+02:00 Jürgen Spitzmüller:

 Below the paper title, insert the Author and select Author from the
 paragraph style combo. Likewise, inset the Institute in a separate
 paragraph following the Author and select Institute from the combo.


 I see now that your paper has these infos, but the titling information is
 interrupted by Standard paragraphs (the ERT comments), which makes LyX
 terminate the Titling block (i.e, output \maketitle). Remove these
 comments, and the titling will be correct. See attached.

 Jürgen



 HTH
 Jürgen



 Thanks,
 JON HAITZ






Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
2014-06-02 17:22 GMT+02:00 Jon Haitz Legarreta:

 It seems to me that it may be related to the paragraph styles created when
 the import is done, such as the Running Title or the Author Running.


Yes, this is certainly something where the tex2lyx converter could do
better. But as soon as a lot of comments are in the source, things get
nontrivial (for the importer).

Jürgen


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
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


LNCS_paper_v2.lyx
Description: application/lyx


subjidx.lyx
Description: application/lyx


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
2014-06-02 12:24 GMT+02:00 Jürgen Spitzmüller sp...@lyx.org:

 Corrected files attached. These compile for me.


I forgot to save one file before attaching. Here is the correct version.

Jürgen



 HTH
 Jürgen



subjidx.lyx
Description: application/lyx


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jon Haitz Legarreta
Dear Jürgen,
thanks for having devoted some time to it and for having helped cast some
light on it.

Even if the document yields no errors now, I am still getting No Authors
Given No Institute Given in the rendered PDF.

Is there anything else to be fixed?

Thanks,
JON HAITZ



On 2 June 2014 12:26, Jürgen Spitzmüller sp...@lyx.org wrote:

 2014-06-02 12:24 GMT+02:00 Jürgen Spitzmüller sp...@lyx.org:

 Corrected files attached. These compile for me.


 I forgot to save one file before attaching. Here is the correct version.

 Jürgen



 HTH
 Jürgen





Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
2014-06-02 16:53 GMT+02:00 Jon Haitz Legarreta:

 Dear Jürgen,
 thanks for having devoted some time to it and for having helped cast some
 light on it.

 Even if the document yields no errors now, I am still getting No Authors
 Given No Institute Given in the rendered PDF.

 Is there anything else to be fixed?


Below the paper title, insert the Author and select Author from the
paragraph style combo. Likewise, inset the Institute in a separate
paragraph following the Author and select Institute from the combo.

HTH
Jürgen



 Thanks,
 JON HAITZ



Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
2014-06-02 16:56 GMT+02:00 Jürgen Spitzmüller:

 Below the paper title, insert the Author and select Author from the
 paragraph style combo. Likewise, inset the Institute in a separate
 paragraph following the Author and select Institute from the combo.


I see now that your paper has these infos, but the titling information is
interrupted by Standard paragraphs (the ERT comments), which makes LyX
terminate the Titling block (i.e, output \maketitle). Remove these
comments, and the titling will be correct. See attached.

Jürgen



 HTH
 Jürgen



 Thanks,
 JON HAITZ





LNCS_paper_v2.lyx
Description: application/lyx


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jon Haitz Legarreta
Dear Jürgen,
thanks.

I had to delete the Email: field to make it work properly. Otherwise, the
actual email was displayed in an additional blank page.

It seems to me that it may be related to the paragraph styles created when
the import is done, such as the Running Title or the Author Running.

Kind regards,

JON HAITZ




On 2 June 2014 17:01, Jürgen Spitzmüller sp...@lyx.org wrote:

 2014-06-02 16:56 GMT+02:00 Jürgen Spitzmüller:

 Below the paper title, insert the Author and select Author from the
 paragraph style combo. Likewise, inset the Institute in a separate
 paragraph following the Author and select Institute from the combo.


 I see now that your paper has these infos, but the titling information is
 interrupted by Standard paragraphs (the ERT comments), which makes LyX
 terminate the Titling block (i.e, output \maketitle). Remove these
 comments, and the titling will be correct. See attached.

 Jürgen



 HTH
 Jürgen



 Thanks,
 JON HAITZ






Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
2014-06-02 17:22 GMT+02:00 Jon Haitz Legarreta:

 It seems to me that it may be related to the paragraph styles created when
 the import is done, such as the Running Title or the Author Running.


Yes, this is certainly something where the tex2lyx converter could do
better. But as soon as a lot of comments are in the source, things get
nontrivial (for the importer).

Jürgen


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
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


LNCS_paper_v2.lyx
Description: application/lyx


subjidx.lyx
Description: application/lyx


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
2014-06-02 12:24 GMT+02:00 Jürgen Spitzmüller :

> Corrected files attached. These compile for me.
>

I forgot to save one file before attaching. Here is the correct version.

Jürgen


>
> HTH
> Jürgen
>


subjidx.lyx
Description: application/lyx


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jon Haitz Legarreta
Dear Jürgen,
thanks for having devoted some time to it and for having helped cast some
light on it.

Even if the document yields no errors now, I am still getting "No Authors
Given" "No Institute Given" in the rendered PDF.

Is there anything else to be fixed?

Thanks,
JON HAITZ



On 2 June 2014 12:26, Jürgen Spitzmüller  wrote:

> 2014-06-02 12:24 GMT+02:00 Jürgen Spitzmüller :
>
> Corrected files attached. These compile for me.
>>
>
> I forgot to save one file before attaching. Here is the correct version.
>
> Jürgen
>
>
>>
>> HTH
>> Jürgen
>>
>
>


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
2014-06-02 16:53 GMT+02:00 Jon Haitz Legarreta:

> Dear Jürgen,
> thanks for having devoted some time to it and for having helped cast some
> light on it.
>
> Even if the document yields no errors now, I am still getting "No Authors
> Given" "No Institute Given" in the rendered PDF.
>
> Is there anything else to be fixed?
>

Below the paper title, insert the Author and select "Author" from the
paragraph style combo. Likewise, inset the Institute in a separate
paragraph following the Author and select "Institute" from the combo.

HTH
Jürgen


>
> Thanks,
> JON HAITZ
>


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
2014-06-02 16:56 GMT+02:00 Jürgen Spitzmüller:

> Below the paper title, insert the Author and select "Author" from the
> paragraph style combo. Likewise, inset the Institute in a separate
> paragraph following the Author and select "Institute" from the combo.
>

I see now that your paper has these infos, but the titling information is
interrupted by Standard paragraphs (the ERT comments), which makes LyX
terminate the Titling block (i.e, output \maketitle). Remove these
comments, and the titling will be correct. See attached.

Jürgen


>
> HTH
> Jürgen
>
>
>>
>> Thanks,
>> JON HAITZ
>>
>
>


LNCS_paper_v2.lyx
Description: application/lyx


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jon Haitz Legarreta
Dear Jürgen,
thanks.

I had to delete the Email: field to make it work properly. Otherwise, the
actual email was displayed in an additional blank page.

It seems to me that it may be related to the paragraph styles created when
the import is done, such as the Running Title or the Author Running.

Kind regards,

JON HAITZ




On 2 June 2014 17:01, Jürgen Spitzmüller  wrote:

> 2014-06-02 16:56 GMT+02:00 Jürgen Spitzmüller:
>
> Below the paper title, insert the Author and select "Author" from the
>> paragraph style combo. Likewise, inset the Institute in a separate
>> paragraph following the Author and select "Institute" from the combo.
>>
>
> I see now that your paper has these infos, but the titling information is
> interrupted by Standard paragraphs (the ERT comments), which makes LyX
> terminate the Titling block (i.e, output \maketitle). Remove these
> comments, and the titling will be correct. See attached.
>
> Jürgen
>
>
>>
>> HTH
>> Jürgen
>>
>>
>>>
>>> Thanks,
>>> JON HAITZ
>>>
>>
>>
>


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-02 Thread Jürgen Spitzmüller
2014-06-02 17:22 GMT+02:00 Jon Haitz Legarreta:

> It seems to me that it may be related to the paragraph styles created when
> the import is done, such as the Running Title or the Author Running.
>

Yes, this is certainly something where the tex2lyx converter could do
better. But as soon as a lot of comments are in the source, things get
nontrivial (for the importer).

Jürgen


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-05-30 Thread Richard Heck

On 05/30/2014 05:38 AM, Jon Haitz Legarreta wrote:

Hi,
can anybody give some advice on this, please?


I take it the problem is that no one here is using this class. But I'll try.


Hi there,
I am having quite a few difficulties while trying to use the LNCS 
style [1] in a LyX document.


My aim to use the LNCS style in a LyX document, and then export it to 
a PDF.


Apparently, I have succesfully installed the LNCS style for MiKTeX 
(following some instructions I found [2]): I pasted the lncs.cls and 
llncsdoc.sty files under \MiKTeX 2.9\tex\latex\lncs, executed texhash, 
refreshed FNDB and updated formats in MiKTeX and reconfigured LyX.


The LNCS style is now available under the Document Configure menu 
entry in LyX.


I import the input llncs.dem file (or the very same file with the 
*.tex extension) provided in the materials [1] using the Import 
Simple LaTeX option in Lyx.


When trying to export the attached document (which is the very 
llncs.dem example provided by LNCS authors) to a PDF (via either 
LuaTeX or pdflatex), LyX is unable to export the document.


Some of the errors are: [snip]


The way to debug this is to start deleting material from the document 
until you get something that will compile. Then start adding stuff back 
until you find what's causing the problem.


You should check the document preamble, as well as the body. There could 
be errors there.


Richard



Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-05-30 Thread stefano franchi
 On 05/30/2014 05:38 AM, Jon Haitz Legarreta wrote:

 Hi,
 can anybody give some advice on this, please?



Jon,

you may have the wrong approach. Instead of importing the .dem file into
LyX, which may produce errors (LyX's LaTeX import is not 100% correct), why
don't you start a new LNCS document and work on that? I did exactly that
recently, and it worked fine. I just looked at the LNCS docs for examples.


Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-05-30 Thread Richard Heck

On 05/30/2014 05:38 AM, Jon Haitz Legarreta wrote:

Hi,
can anybody give some advice on this, please?


I take it the problem is that no one here is using this class. But I'll try.


Hi there,
I am having quite a few difficulties while trying to use the LNCS 
style [1] in a LyX document.


My aim to use the LNCS style in a LyX document, and then export it to 
a PDF.


Apparently, I have succesfully installed the LNCS style for MiKTeX 
(following some instructions I found [2]): I pasted the lncs.cls and 
llncsdoc.sty files under \MiKTeX 2.9\tex\latex\lncs, executed texhash, 
refreshed FNDB and updated formats in MiKTeX and reconfigured LyX.


The LNCS style is now available under the Document Configure menu 
entry in LyX.


I import the input llncs.dem file (or the very same file with the 
*.tex extension) provided in the materials [1] using the Import 
Simple LaTeX option in Lyx.


When trying to export the attached document (which is the very 
llncs.dem example provided by LNCS authors) to a PDF (via either 
LuaTeX or pdflatex), LyX is unable to export the document.


Some of the errors are: [snip]


The way to debug this is to start deleting material from the document 
until you get something that will compile. Then start adding stuff back 
until you find what's causing the problem.


You should check the document preamble, as well as the body. There could 
be errors there.


Richard



Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-05-30 Thread stefano franchi
 On 05/30/2014 05:38 AM, Jon Haitz Legarreta wrote:

 Hi,
 can anybody give some advice on this, please?



Jon,

you may have the wrong approach. Instead of importing the .dem file into
LyX, which may produce errors (LyX's LaTeX import is not 100% correct), why
don't you start a new LNCS document and work on that? I did exactly that
recently, and it worked fine. I just looked at the LNCS docs for examples.


Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-05-30 Thread Richard Heck

On 05/30/2014 05:38 AM, Jon Haitz Legarreta wrote:

Hi,
can anybody give some advice on this, please?


I take it the problem is that no one here is using this class. But I'll try.


Hi there,
I am having quite a few difficulties while trying to use the LNCS 
style [1] in a LyX document.


My aim to use the LNCS style in a LyX document, and then export it to 
a PDF.


Apparently, I have succesfully installed the LNCS style for MiKTeX 
(following some instructions I found [2]): I pasted the lncs.cls and 
llncsdoc.sty files under \MiKTeX 2.9\tex\latex\lncs, executed texhash, 
refreshed FNDB and updated formats in MiKTeX and reconfigured LyX.


The LNCS style is now available under the "Document" "Configure" menu 
entry in LyX.


I import the input llncs.dem file (or the very same file with the 
*.tex extension) provided in the materials [1] using the "Import" 
"Simple LaTeX" option in Lyx.


When trying to export the attached document (which is the very 
llncs.dem example provided by LNCS authors) to a PDF (via either 
LuaTeX or pdflatex), LyX is unable to export the document.


Some of the errors are: [snip]


The way to debug this is to start deleting material from the document 
until you get something that will compile. Then start adding stuff back 
until you find what's causing the problem.


You should check the document preamble, as well as the body. There could 
be errors there.


Richard



Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-05-30 Thread stefano franchi
> On 05/30/2014 05:38 AM, Jon Haitz Legarreta wrote:
>
>> Hi,
>> can anybody give some advice on this, please?
>>
>

Jon,

you may have the wrong approach. Instead of importing the .dem file into
LyX, which may produce errors (LyX's LaTeX import is not 100% correct), why
don't you start a new LNCS document and work on that? I did exactly that
recently, and it worked fine. I just looked at the LNCS docs for examples.


Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org