[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Jade/RTF problem?



I don't think anyone replied.  I found that if I set sgml-indent-data to nil
and enter the element like this

<para>My text here, wrapped around to multiple lines</para>

then it formats properly for all output types.

Thanks.

On Aug  5, Adam Di Carlo (adam@onshore-devel.com) wrote:
 > "Neil L. Roeth" <neil@occamsrazor.net> writes:
 > 
 > > I have a question about DSSSL stylesheets.  It is the first one I've written,
 > > so there may be something obvious I am missing.
 > > 
 > > I created a document using psgml mode of Emacs, which nicely indents the
 > > character data in an element, like so:
 > > 
 > > <para>
 > >   My text here, wrapped
 > >   around to multiple
 > >   lines
 > > </para>
 > > 
 > > I produce TeX and RTF from it, using "jade -t tex" or "jade -t rtf".  The
 > > problem is that while the DVI produced by jadetex from the TeX looks fine, the
 > > RTF output has extra spaces, corresponding to the spaces at the beginning of
 > > the indented lines above.  The above example would look like this:
 > > 
 > >      My text here, wrapped   around to multiple   lines.
 > > 
 > > Note the extra spaces     ^^^                  ^^^
 > > 
 > > The extra spaces are in the TeX output also, so I guess the difference has to
 > > do with how TeX and jade treat spaces.  How are the rules defined for jade?
 > > It obviously has some default rules for handling white space, since it wraps
 > > lines, meaning it handles the newline.  Is this something I can set in my
 > > stylesheet for the "para" element so that it eats all white space and replaces
 > > it with a single space?
 > 
 > Neil, did anyone reply?
 > 
 > This is probably a good question to take to the DSSSL or jade/openjade
 > lists.  Also, that brings up, try it in openjade, which is (sorta)
 > being maintained, unlike jade.
 > 
 > -- 
 > ...Adam Di Carlo..<adam@onshore-devel.com>...<URL:http://www.onshored.com/>
 > 
 > 
 > -- 
 > To UNSUBSCRIBE, email to debian-sgml-request@lists.debian.org
 > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 > 

-- 
Neil L. Roeth



Reply to: