Re: LaTeX2rtf question double spacing question

Tyler Smith <[email protected]> Thu, 13 Sep 2007 10:03:58 -0300
Newsgroups gmane.comp.tex.latex.latex2rtf.devel
Message-ID <[email protected]>
On Sat, Sep 01, 2007 at 10:18:36AM +0200, Wilfried Hennings wrote:

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

I just received my copy of the RTF pocket guide, so that I might
actually understand both the input _and_ the output of latex2rtf.
Double spacing does indeed seem pretty straightforward, and I've added
a simple command that will recognize the \doublespacing command (in
the preamble at least) and modify the line spacing options to \pard
accordingly. I've tested it on a basic text file, and it seems to work
properly - without \doublespacing the document looks normal, and with
\doublespacing the only thing that changes is, thankfully, the line
spacing.

I'm not sure what this will do to things other than straight text, as
I haven't searched out all the possible routes that lead to the
CmdStartParagraph(int) function, so there may yet be surprises. Let me
know if you find anything that breaks with the changes (likely
suspects are tables, equations, captions etc.), or if there are more
sophisticated options you'd like added.

Cheers,

Tyler

-- 
"Primroses and landscapes have one great defect: they are gratuitous. A love 
of nature keeps no factories busy... We condition the masses to hate the 
country but simlutaneously we condition them to love all country sports. At 
the same time, we see to it that all country sports shall entail the use of 
elaborate apparatus. So that they consume manufactured articles as well as 
transport. Hence those electric shocks."
                                       --Brave New World, Aldous Huxley 1932

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/