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]

Re: [docbook-apps] Re: Current date?


On Sun, Apr 06, 2003 at 05:37:09PM +0100, Dave Pawson wrote:
> At 15:24 06/04/2003 +0200, Jirka Kosek wrote:
> 
> 
> >So what about
> >
> ><?dbtimestamp format="..."?>
> >
> >for inserting current date. And
> >
> ><?dbtimestamp format="..." cvsdate="$Date: ....$"?>
> >
> >for inserting date taken from CVS tag?
> 
> Yes to the first one (assuming the wg came to that decision).
> No to the second one.
> 
> That's up to me how I use it?
> Norm says he uses it for CVS dates, so that may be how
> he uses it (I guess that implies that's how he gets it too?)
> but please don't tell me how it *must* be used Jirka?
> 
> Today, if I want to use docbook styling, I use the latest version (or not).
> If I don't like it I override it with a specialisation.
> 
> I guess that's what I'm asking for.
> Here is the 'standard' way to say 'insert the date'.
> If I don't want it I dont use it.
> If I want it but want to mess with it, then I override the general
> with my own customisation.

One customization I've used is the <date> element
with a special role attribute value. I pass a date
as a stylesheet parameter on the command line,
and the date template uses that if it has the
right role value.  That way I can use a CVS
date, a future release date, or whatever.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs at sco dot com

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


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