Bug 260063

Summary: LaTEX file export unusable
Product: [Applications] calligrawords Reporter: John Culleton <john>
Component: filtersAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:

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.