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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] Customisation of title page not working in DocBookSGML


Neil Roeth wrote:
> On Nov 17, Jeremy Malcolm (Jeremy@Malcolm.id.au) wrote:
>  > I am trying to customise a book title page, and my driver file contains
>  > this:
...snip...
>  > The title page does not include my bibliomisc element, though (other
>  > changes made in the same file do work though, so I know it's being
>  > processed).  What am I missing?
> 
> I haven't read the list for a while; did you resolve this?

Yes sorry for not summarizing to the list, Mauritz Jeanson solved it on 
the docbook-apps list.  In dbttlpg.dsl, bibliomisc is defined as an 
element that may appear on a title page. But it is also "expanded" 
(bibliomisc itself is not processed, only its children), which makes 
things a little more complicated.

I needed to add the following to my driver:

;; Do not expand bibliomisc: the '(normalize "bibliomisc")' line is
commented out.
;; Bookbiblio is an obsolete element, btw.
(define (titlepage-nodelist elements nodelist)
   ;; We expand BOOKBIBLIO, BIBLIOMISC, and BIBLIOSET in the element
   ;; list because that level of wrapper usually isn't significant.
   (let ((exp-nodelist (expand-children nodelist (list (normalize
"bookbiblio")
						      ;(normalize
"bibliomisc")
						      (normalize
"biblioset")))))
     (if %titlepage-in-info-order%
	(titlepage-gi-list-by-nodelist elements exp-nodelist)
  	(titlepage-gi-list-by-elements elements exp-nodelist))))

The only other remaining problem I have is that when I define two-side 
in my driver, to format my document as double-sided, the page numbers in 
the table of contents are no longer defined in my output (via openjade). 
  Has anyone else had that problem?

TIA

-- 
JEREMY MALCOLM <Jeremy@Malcolm.id.au> - lawyer, IT consultant and actor.
Internet and Open Source specialist. Web site: http://www.malcolm.id.au.
Disclaimer: http://www.terminus.net.au/disclaimer.html. GPG key: finger.

S/MIME Cryptographic Signature



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