dquangsinh / fb2pdf

Automatically exported from code.google.com/p/fb2pdf
0 stars 0 forks source link

TeX failed on sagan_karl_kontakt.fb2 #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
2007-03-06 05:39:13,297 DEBUG    Downloading
'http://s3.amazonaws.com/fb2pdf/87392d992ee543c86709257636fb50c4.fb2' to
file 'sagan_karl_kontakt.fb2'.
2007-03-06 05:39:25,009 DEBUG    Converting to TeX
2007-03-06 05:39:26,274 DEBUG    Converting to PDF
2007-03-06 05:39:26,632 ERROR    Conversion Failed
Traceback (most recent call last):
  File "/sw/bin/fbdaemon", line 200, in processDocument
    tex2pdf.tex2pdf(texfilename, pdffilename)
  File "/sw/lib/python2.4/site-packages/fb2pdf/tex2pdf.py", line 24, in tex2pdf
    raise PersistentError("Execution of pdflatex failed with error code %d"
% rc)
PersistentError: Execution of pdflatex failed with error code 256

Original issue reported on code.google.com by kroko...@gmail.com on 6 Mar 2007 at 5:36

GoogleCodeExporter commented 8 years ago

! LaTeX Error: There's no line here to end.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.87    {}

Original comment by kroko...@gmail.com on 7 Mar 2007 at 1:00

GoogleCodeExporter commented 8 years ago
Here is the problem:

\begin{epigraphs}
\qitem{\begin{verse}

Так я ступаю по беспредельным высотам\\
И знаю, что есть надежда\\
Для тех, кого слепил Ты из пыли,\\
Чтобы утешить в вечности.\\
\end{verse}

 }%
    {Свитки Мертвого моря}
\end{epigraphs}

In this example quitem body conatins ONLY verse. closing quitem inserts \\ which
somehow does not count verse as valid line to terminate.

Adding some text, like this:

\begin{epigraphs}
\qitem{\begin{verse}

Так я ступаю по беспредельным высотам\\
И знаю, что есть надежда\\
Для тех, кого слепил Ты из пыли,\\
Чтобы утешить в вечности.\\
\end{verse} BLAH BLAH

 }%
    {Свитки Мертвого моря}
\end{epigraphs}

make this error dissapear.

Now we need to find a way to fix this.

Original comment by kroko...@gmail.com on 7 Mar 2007 at 2:07

GoogleCodeExporter commented 8 years ago
could you please take a look. It exceeds my TeX skills.

Original comment by kroko...@gmail.com on 9 Mar 2007 at 7:54

GoogleCodeExporter commented 8 years ago

Original comment by kroko...@gmail.com on 9 Mar 2007 at 5:50

GoogleCodeExporter commented 8 years ago
Duplicate of #37

Original comment by sudarkoff on 12 Mar 2007 at 2:46