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]
Other format: [Raw text]

[docbook-apps] dsssl custom page numbers; cant get font upright


hi. apologies if this question has already been answered, but i have
looked hard and cant seem to find help.

i am using docbook sgml/openjade on macos 10.3.2 to generate an rtf; all
docbook utilities are installed with fink: openjade 1.3.2, docbook-dtd
4.2.0, docbook-dssl-nwalsh 1.77. everything works fine.

i need my page numbers to be centered, and i would like them to be upright
and _not_ italicized, which seems to be the default. i have turned off
page numbers on the first page.


the important part of my dsl file is below. what is strange is that
changes to the font size work right, changes to the font family work
right; but no matter what i do, the page number is still italicized.
any help is much appreciated.


(define ($custom-footer-center$) (make sequence font-family-name: "Garamond" font-size: 9pt font-posture: 'upright ($page-number-header-footer$)))

(define (first-page-inner-footer gi)
        (empty-sosofo))
(define (first-page-center-footer gi)
        (empty-sosofo))
(define (first-page-outer-footer gi)
        (empty-sosofo))

(define (page-inner-footer gi)
  (empty-sosofo))
(define (page-center-footer gi)
  ($custom-footer-center$))
(define (page-outer-footer gi)
  (empty-sosofo))


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.



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