Bug 260063 - LaTEX file export unusable
Summary: LaTEX file export unusable
Status: REPORTED
Alias: None
Product: calligrawords
Classification: Applications
Component: filters (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR wishlist
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-30 16:41 UTC by John Culleton
Modified: 2007-07-30 16:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Faure 2010-12-16 00:29:44 UTC


---- Reported by john@wexfordpress.com 2007-07-30 16:41:09 ----

Version:            (using KDE KDE 3.5.7)
Installed from:    Slackware Packages
Compiler:          gcc 
OS:                Linux

When I export a file as Latex the file will not compile using a recent pdflatex. It contains unnecessary references that cause errors. And it does not handle page dimensions correctly e.g., by using the geometry.sty package. 
Examples:
\ocp\TexUTF=inutf8
\InputTranslation currentfile \TexUTF

These cause errors.
\usepackage{omega}

This is unnecessary and may cause errors :
\fancyhead{\begin{minipage}{432pt}
\begin{flushleft}

\end{flushleft}
\end{minipage}

The overall page width  is 432pt, but a minipage is not needed. There is a blank line in the above which causes the following error message:
----------------------------------------------------------------
Runaway argument?
{\begin {minipage}{432pt} \begin {flushleft}
! Paragraph ended before \f@ncyhf was complete.
<to be read again>
                   \par
-------------------------------------------------------------------
...and so on.  The whole routine is so badly prepared that it needs to be redone from scratch, and tested on real world examples.  I can save the same file as rtf and then use the old program rtf2latex2e  and get usable, if imperfect results. Taht program might be a place to start for the rewrite.  

FYI I use the latest texlive distribution of TeX. The older tetex distribution is no longer updated. 

John Culleton



--- Bug imported by faure@kde.org 2010-12-16 00:30  ---

This bug was previously known as bug 148362.