Re: \begin {document}

Wilfried Hennings <[email protected]> Wed, 10 Oct 2007 17:31:42 +0200
Newsgroups gmane.comp.tex.latex.latex2rtf.devel
Message-ID <[email protected]>
Hello,
- Peter: You'd need to subscribe to the mailing list before your 
submitted mail goes through. I accepted it manually. -

At 10.10.2007 00:06, Peter Lloyd wrote:
>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?

No (at least not me).
Thanks for pointing that out. (I can reproduce it.)


-- 
Wilfried Hennings c./o.
Forschungszentrum (Research Center) Juelich GmbH
INB-MUT
52425 Juelich, Germany
Tel. (+49) 2461 61 5570 ; Fax (+49) 2461 61 8254
email: [email protected]
PGP key available from key servers, e.g. from
     http://pgpkeys.pca.dfn.de/
work homepage: http://www.fz-juelich.de/mut/mut_home
All opinions mentioned are strictly my own, not my employer's



-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDirig'in Baerbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. 
Vorsitzender)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------
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/