Re: Jade: How to get a "\tab" in the RTF output?

Subject: Re: Jade: How to get a "\tab" in the RTF output?
From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx>
Date: Wed, 29 Mar 2000 12:23:51 -0400 (EST)
At 28 Mar 2000 10:21 +0200, Holger Klawitter wrote:
 > baruchel wrote:
 > > 
 > > In a dsl file, if I have a:
 > > (literal "&#09;")
 > > and then compile it with jade -t rtf
 > > I get eight spaces in the RTF ouput instead of a \tab
 > > What shall I do?
 > 
 > Did you set the preserve sdata property?
 > 
 > (declare-characteristic
 > 	perserve-sdata?
 > 	"UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
 > 	#t
 > )
 > 
 > However, I am not sure whether this works with the rtf backend.

This won't do anything for you.  Firstly, the "&#09;" represents a
literal character, not an SDATA entity, and secondly, it's possible
that the preserve-sdata? characteristic only operates on SDATA
entities in the source document (I haven't tested whether it does or
not).

Try setting the expand-tabs? characteristic on your paragraphs to #f.

Regards,


Tony Graham
======================================================================
Tony Graham                            mailto:tgraham@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9632
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================



 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread