Re: ANNOUNCE: Modular DocBook Stylesheets version 1.08beta7

Subject: Re: ANNOUNCE: Modular DocBook Stylesheets version 1.08beta7
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: Tue, 12 May 1998 17:08:36 -0400
/ Lionel Mallet <l.mallet@xxxxxxxxxxxxx> was heard to say:
[...]
| apparently things are not getting better. Now I don't get
| anything unless my refentries in my reference document (either
| in html or rtf).
[...]
| BTW, here is my test file.
| <reference id=3D"bankTestTDD">
|   <docinfo>
|     <copyright>
|       <year>1998</year><holder>The Open Group</holder>
|     </copyright>
|     <author>
|       <firstname>Lionel</firstname><surname>Mallet</surname>
|     </author>
|     <date>March 1998</date>
|   </docinfo>
|   <title>tddclass bankTest</title>

The problem is in your test case.  A title page is only built
for a Reference if it has a title or a subtitle, and your
reference doesn't have a title.

For the purposes of making a title page, only the content of
the *info element is examined, so a <title> outside of the
<docinfo> doesn't count.

It's a little bit unfortunate that DocBook allows <title> in
both places.  But if it didn't, then you'd need a <docinfo>
wrapper around every title, which would be very tedious.

I'll try to make the stylesheets a little smarter...

--norm


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • ANNOUNCE: Modular DocBook Stylesheets version 1.08beta7
    • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA14709Fri, 8 May 1998 12:49:15 -0400 (EDT)
      • <Possible follow-ups>
      • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id RAA07714Tue, 12 May 1998 17:16:14 -0400 (EDT) <=
        • Lionel Mallet - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id DAA21425Wed, 13 May 1998 03:30:42 -0400 (EDT)
          • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA29043Wed, 13 May 1998 12:59:55 -0400 (EDT)