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]

bold as emphasis role


Hi,

I changed:

(element emphasis ($italic-seq$))

to:

(element emphasis
  (if (equal? (attribute-string "role") "bold")
      (make sequence
        font-weight: 'bold
        (process-children))
      (make sequence
        font-posture: 'italic
        (process-children))
  )
)

in html/dbinline.dsl but it will not italic or bold anything. It will be
upright instead. I also tried adding my own style sheet as
extension/override to docbook.dsl but the same result. db41, stylesheet
1.64, openjade

mk


Using TSO is like kicking a dead whale down the beach.
                   -- S. C. Johnson 

------------------------------------------------------------------
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]