Re: \begin {document}

Wilfried Hennings <[email protected]> Thu, 11 Oct 2007 09:26:49 +0200
Newsgroups gmane.comp.tex.latex.latex2rtf.devel
Message-ID <[email protected]>
Hello,
just for information:
I posted a question in the German TeX newsgroup whether blanks 
between \begin and { are principally allowed or not.
Although MikTeX accepts it with a blank in between, this is the first 
LaTeX input file I have seen with a blank in this place.

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