Re: LaTeX2rtf question doublespacing question
Scott Prahl <[email protected]> Fri, 14 Sep 2007 07:54:42 -0700
| Newsgroups | gmane.comp.tex.latex.latex2rtf.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Sep 13, 2007 at 05:25:53PM -0700, Scott Prahl wrote:
> Long term, I think that we should be using style sheets for this
> sort of thing.
At 14.09.2007 02:40, Tyler Smith wrote:
> I'll have to read up on style sheets, as that sounds like a safer
> approach.
On Sep 14, 2007, at 12:30 AM, Wilfried Hennings wrote:
> In principle, yes. And I tried it by manually changing the rtf file
> because it would be easy to implement in latex2rtf.
> But, as I already wrote:
> 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 the individual
> paragraphs. It requires
> - either to open the rtf file in Word, select all (or each para
> individually) and press Ctrl+q to "reset paragraph formatting to
> underlying paragraph style"
> - or to insert the spacing parameters in the rtf file into each
> individual paragraph, as already implemented.
- or having latex2rtf emit the proper style parameters before each
paragraph.
This should have been implemented, but I never got around to doing it.
> If changing the style for "Normal" breaks anything else, one could
> use a different style for ordinary text paragraphs. In my Word
> documents I use "Body Text" for this purpose, which is one of the
> builtin styles which are localized by Word.
We should decide on a default set of styles eventually. Let's use
'Body Text' as the style for normal text paragraphs. Others, like
'Figure Caption' or 'Table' can come later.
> Just having looked again into the styles section of a rtf file
> generated by latex2rtf, I saw that the heading styles are defined
> more than once, with different settings. Moreover, \s2 is defined
> as "heading 1", then \s1 is defined as "heading 1", then \s1 is
> defined as "part".
> I haven't yet invetigated by which part of latex2rtf these lines
> are output, and why more than once.
I think that is to accommodate style.cfg. I may be wrong, but
latex2rtf emits a default set of styles, and then the styles found in
style.cfg. The later ones take precedence.
I would like to release a new version before getting into the style
stuff. Completing the style stuff would be sufficient to warrant a
new release all by itself.
So what needs to be done before creating a new release? Just
documentating stuff?
Scott
Scott
Scott
-------------------------------------------------------------------------
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/