[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-users
Subject:    [LYX] Trouble using the LNCS class/style
From:       Jon Haitz Legarreta <jhlegarreta () vicomtech ! org>
Date:       2014-05-26 11:32:56
Message-ID: CAAKhGh8KnguJTDXrLqx=R+0UzwTAd6xKeTmTMn1CtEOMYLNmGg () mail ! gmail ! com
[Download RAW message or body]

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:

















*]! Too many }'s.l.829 Index}          {Subject Index}
\global\long\def\indexname{Subject Index}You've closed more groups than you
opened.Such booboos are generally harmless, so keep going.! LaTeX Error:
Lonely \item--perhaps a missing list environment.See the LaTeX manual or
LaTeX Companion for explanation.Type  H <return>  for immediate
help. ...
                                                  l.3 \item A
bsorption\idxquad 327Try typing  <return>  to proceed.If that doesn't work,
type  X <return>  to quit.*


I cannot make head or tails of the error: there are not too mant }'s, nor
lonely items. Besides, the LaTeX compilation works fine (0 errores, 0
warnings, 3 bad boxes).

I am using LyX 2.1.0 and MiKTeX 2.9 under Windows 7.

I did not find any useful solution after some googling.

Has any of you had similar problems with the lncs style in the past? Can
someone point some useful directions?

Thank you,
JON HAITZ


[1] ftp://ftp.springer.de/pub/tex/latex/llncs/latex2e/llncs2e.zip
[2] http://nkush.blogspot.com.es/2012/07/how-to-install-springer-lncs
-class-for.html


P.S.: I am having difficulties sending mails with attached documents to the
list, so I cannot attach the error log, lncs style sheet/template, the
subjidx.tex file nor my own lyx document.

[Attachment #3 (text/html)]

<div dir="ltr"><div>Hi there,<br>I am having quite a few difficulties while trying to \
use the <span class="">LNCS</span> style [1] in a LyX document.<br><br>My aim to use \
the <span class="">LNCS</span> style in a LyX document, and then export it to a \
PDF.<br>

<br>Apparently, I have succesfully installed the <span class="">LNCS</span> style for \
MiKTeX  (following some instructions I found [2]): I pasted the <span \
class="">lncs</span>.cls and  llncsdoc.sty files under \MiKTeX 2.9\tex\latex\<span \
class="">lncs</span>, executed texhash,  refreshed FNDB and updated formats in MiKTeX \
and reconfigured LyX.<br> <br>The <span class="">LNCS</span> style is now available \
under the &quot;Document&quot; &quot;Configure&quot; menu entry in LyX.<br><br><div>I \
import the input llncs.dem file (or the very same file with the *.tex  extension) \
provided in the materials [1] using the &quot;Import&quot; &quot;Simple  LaTeX&quot; \
option in Lyx.<br> <br></div>When trying to export the attached document (which is
 the very llncs.dem example provided by <span class="">LNCS</span> authors) to a PDF \
(via  either LuaTeX or pdflatex), LyX is unable to export the document. \
<br><br></div><div>Some of the errors are:<br><br><font><i><span \
style="font-family:courier new,monospace">]<br>! Too many }&#39;s.<br>l.829 \
Index}<br>                   {Subject Index} \global\long\def\indexname{Subject \
Index}<br> You&#39;ve closed more groups than you opened.<br>Such booboos are \
generally harmless, so keep going.<br><br>! LaTeX Error: Lonely \item--perhaps a \
missing list environment.<br><br>See the LaTeX manual or LaTeX Companion for \
explanation.<br> Type   H &lt;return&gt;   for immediate help.<br>  ...               \
<br>                                                                                  \
<br>l.3 \item A<br>                 bsorption\idxquad 327<br>Try typing   \
&lt;return&gt;   to proceed.<br> If that doesn&#39;t work, type   X &lt;return&gt;   \
to quit.</span></i></font><br><br></div><div> <br>I cannot make head or tails of the \
error: there are not too mant }&#39;s, nor lonely items. Besides, the LaTeX \
compilation works fine (0 errores, 0 warnings, 3 bad boxes).<br><br>I am using LyX \
2.1.0 and MiKTeX 2.9 under Windows 7.<br>  <div><br>
</div><div>I did not find any useful solution after some \
googling.<br><br></div><div>Has any of you had similar problems with the lncs style \
in the past? Can someone point some useful directions?<br></div><br>Thank you,<br> \
JON HAITZ<br><br></div><div><br>[1] <a \
href="ftp://ftp.springer.de/pub/tex/latex/llncs/latex2e/llncs2e.zip" \
target="_blank">ftp://ftp.springer.de/pub/tex/latex/llncs/latex2e/llncs2e.zip</a><br>

[2] <a href="http://nkush.blogspot.com.es/2012/07/how-to-install-springer-lncs-class-for.html" \
target="_blank">http://nkush.blogspot.com.es/2012/07/how-to-install-springer-<span \
class="">lncs</span>-class-for.html</a><br> <br><br></div>P.S.: I am having \
difficulties sending mails with attached documents to the list, so I cannot attach \
the error log, lncs style sheet/template, the subjidx.tex file nor my own lyx \
document.<br><div><br><br><br> <br><br><div><div dir="ltr"><table align="center" \
border="0" cellpadding="0" \
cellspacing="0"><tbody><tr><td><br></td></tr><tr><td><table align="center" border="0" \
cellpadding="0"><tbody><tr><td><span \
style="font-size:10px;color:gray;font-family:Verdana,Arial,Helvetica,sans-serif"></span><br>
 </td></tr></tbody></table></td></tr></tbody></table></div></div>
</div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic