Re: LaTeX2rtf question

Wilfried Hennings <[email protected]> Sat, 01 Sep 2007 10:18:36 +0200
Newsgroups gmane.comp.tex.latex.latex2rtf.devel
Message-ID <[email protected]>
Hello,
At 31.08.2007 21:19, Mick McQuaid <[email protected]> wrote:
>I'm trying to send a LaTeX file to a journal that requires
>submissions in .doc or .rtf format and also requires double
>spacing.  I obtained the most recent build of LaTeX2rtf
>yesterday via svn but it ignores my attempts at double
>spacing.
>
>For example
>   \usepackage{setspace}
>   \doublespacing
>is ignored, as is
>   \linespread{2.0}
>I tried adding the double spacing after creating the rtf,
>and examination of the rtf file showed that each paragraph
>now had two new tags,
>    \sl480\slmult1
>so I guessed that these were responsible.  I tried adding
>these tags to LaTeX2rtf's direct.cfg file as follows:
>    \rtfdoublespacing,\sl480\slmult1.
>then saying \rtfdoublespacing in my LaTeX file.  The result
>for this is that a tag
>    \pard
>which apparenly resets to paragraph defaults, is introduced
>immediately after the tags I've added.

Adding this command to direct.cfg causes the rtf command to be issued 
just once, in this specific place. Inserting \sl480\slmult1 changes 
the spacing for the current paragraph only. You would at least have 
to add the \rtfdoublespacing command at the beginning of each text 
paragraph, if this works at all.
One would expect that changing the definition of the style "Normal" 
would do the trick. The styles are defined in the header of the rtf 
file. The definition of "Normal" is
{\s0\fs20\snext0 Normal;}
Changing this to
{\s0\fs20\snext0\sl480\slmult1 Normal;}
changes the definition of the Normal style to doublespacing, but this 
change is not automatically taken over to all the individual 
paragraphs. It requires to insert the spacing parms in the rtf file 
into each individual paragraph.
With the current version of latex2rtf this is not possible, however 
it may be easy to implement (hello all, correct me if I'm wrong).

The best way currently is to open the rtf file in Word and manually 
adopt it to the requirements.

>In short, is there a way to introduce double spacing into a
>LaTeX source file that will be respected by LaTeX2rtf?
>
>--
>Michael McQuaid, Assistant Professor
>School of Information, School of Art & Design
>University of Michigan
>305B West Hall, 1085 South University Ave.
>Ann Arbor, MI 48109-1107
>734-647-9550 voice  734-764-2475 fax
>[email protected]       http://mickmcquaid.com
>
>--
>Michael McQuaid, Assistant Professor
>School of Information, School of Art & Design
>University of Michigan
>305B West Hall, 1085 South University Ave.
>Ann Arbor, MI 48109-1107
>734-647-9550 voice  734-764-2475 fax
>[email protected]       http://mickmcquaid.com

Regards,

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



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