This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Using *small-caps*


Glyph substition tables aren't supported in teh TeX backend - only in
the RTF.


"glyph-subst-table:" can appear in the "character" flow object class.

so the easiest way to use that is with a style sheet...

(define my-text-style   ;; this is from default-text-style in
print/dbprint.dsl
  (style
   glyph-subst-table: *small-caps*
   font-size: %bf-size%
   font-weight: 'medium
   font-posture: 'upright
   font-family-name: %body-font-family%
   line-spacing: (* %bf-size% %line-spacing-factor%)))
 
( element application ( $my-charseq$ ))
 
(define ($my-charseq$ #!optional (sosofo (process-children)))
  (make sequence
   use: my-text-style
   sosofo ))

Anyway, you can only do it in the RTF backend....

(But it does work - even with star office 5.2!)

-----------------

Here is the original message about small-caps...

http://www.biglist.com/cgi-bin/wilma/wilma_hiliter/dssslist/199704/msg00096.html?line=31#hilite


Holger Rauch wrote:
> 
> Hi!
> 
> I'm using the DSSSL style sheets 1.70 and I'm trying to format
> <application>s in small caps. I included the following in my customization
> layer:
> 
> (element application (*small-caps*))
> 
> In case you're wondering where I got it from, I found *small-caps* in
> dbprint.dsl.
> The changed mentioned above, however, does NOT work. I get the following
> error message from openjade:
> 
> openjade:/usr/local/docbook/style/dsssl/1.70/holgi-both.dsl:103:21:E: call
> of non-function object "#<unknown object 151177120>"
> 
> What's the right way of using *small-caps*? (I was simply looking at the
> definitions in dbinline.dsl).
> 
> Thanks for any help!
> 
> Greetings,
> 
>         Holger
> 
> ------------------------------------------------------------------
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]