\begin {document}

Peter Lloyd <[email protected]> Tue, 9 Oct 2007 23:06:20 +0100 (BST)
Newsgroups gmane.comp.tex.latex.latex2rtf.devel
Message-ID <[email protected]>
Hi,

I'm using latex2rtf-1.9.17a_dos. Thanks for creating a useful tool.
However, I've encountered what I think is a bug.

To reproduce, create a file eg min.tex, containing the following:

\documentclass{article}
\begin {document}
This is some text
\end{document}

Now run 'l2r min.tex'

I get the error:

{
(Not set):3 Mismatched '{' in RTF file, Conversion may cause problems.
(Not set):3 This is often caused by having environments that span
(Not set):3 \section{}s.  For example
(Not set):3    \begin{small} ... \section{A} ... \section{B} ... 
\end{small}
(Not set):3 will definitely fail.
(Not set):3 Try translating with 'latex2rtf -Z2 min.tex'

And there is nothing but header information in the resulting rtf file. 
(Using -Z2 doesn't make it work either)

I've tracked it down to the space between \begin and {document} -- 
removing this space makes everything work correctly.

LaTeX (MiKTeX 2.5) parses the input file just fine.

Were you aware of this?

Thanks,
Peter

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/