OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: DOCBOOK-APPS: bold as emphasis role

"Kunath, Marcel" wrote:

> I tried the stuff below in mystyle.dsl file and it wouldn't work. I ended up
> searching for help what the words "customization layer" mean. Regarding to
> this page:
> http://www.oasis-open.org/docbook/documentation/reference/html/ch05.html
> customization layer are the *.mod files. Am I suppose to edit those?

This chapter describes customizations of DocBook DTD. This is not your
case, as DTD customizations are used when you want to add or remove some
DocBook elements.

Another thing you can customize are stylesheets. They define how DocBook
elements are presented. This is your case.
>         (element emphasis
>           (if (equal? (attribute-string (normalize "role")) "bold")
>             ($bold-seq$)
>             ($italic-seq$)))
> which is slightly different from Jirka's suggestion and works(bolds, but
> does not italic) for me when put in mystyle.dsl file.

In fact it has same effect as my code. Compared expressions are just
present in different order.
If you want bold and italics at the same time, use $bold-italic-seq$
instead of $bold-seq$.

  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC