Re: Stylesheets. (fwd)

Subject: Re: Stylesheets. (fwd)
From: Oisin McGuinness <oisin@xxxxxxxx>
Date: Thu, 26 Aug 99 11:53:05 -0400
The question was about not getting correct charsets in the
RTF backend for jade: (referred to the DSSSL list by N Walsh):

/ Paul Romanchenko <paul@xxxxxxxxx> was heard to say:
| I'm using you stylesheets for converting docbook into rtf (thank you!).
| I have a small problem -- stylesheet creates rtf with
| \fcharset0 setted for all fonts. Because I use native language (Cyrillic),
| I have to change \fcharset0 to \fcharset240.
| Where I may change this behavoir in stylesheets?
| 
| (I'm ready to hack sources :))

If one sets the inherited characteristic language to the appropriate
2 letter language code, e.g.
(make simple-page-sequence
	language: 'RU
 .......)

then the RTF backend will setup the language and charsets for you, taking the
Russian support from "codepage 1251".
(For more general combinations, e.g., different versions of Spanish or French, or
English, one probably should set country also.)

Note that the more desirable way to do this might be to use
(declare-default-language 'RU)
except that the jade web page explicitly says this is not supported.

As regards DocBook, the last version I have locally, 1.29, does not appear
to use the language characteristic in the style sheets, which is something I might
have expected the internationalization layers to do. Is this fixed in the more
recent docbook stylesheets?

Oisin McGuinness
Sumitomo Bank Capital Markets
277 Park Avenue
New York NY 10172
USA


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


Current Thread