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: Olinking support in FO stylesheets


On Wed, Nov 06, 2002 at 12:42:33PM +0300, Vitaly Ostanin wrote:
> On Thu, 24 Oct 2002 09:29:18 -0700
> Bob Stayton <bobs@caldera.com> wrote:
> 
> Hello!
> 
> Sorry for the long time delay!
> 
> > On Thu, Oct 24, 2002 at 03:41:51PM +0400, Vitaly Ostanin wrote:
> > > Hello, All!
> > > 
> > > We use modular documents and <olink> linking. 
> > > 
> > > For html output we can to collect targets into database and
> > > use it for links resolving.
> > > 
> > > It's possible to add support for <olink> to FO stylesheets ?
> >  
> > Can you be more specific?  The FO stylesheets currently do
> > support olink.  Olinks to targets within the current
> > document (set by $current.docid parameter) have
> > a fo:basic-link generated and the generated xref text
> > inserted.  Olinks to targets outside the current document just
> > get the generated xref text, and an optional title
> > appended if the $olink.doctitle parameter is set.
> > 
> > What more did you want?
> 
> I was thing what FO stylesheets doesn't support since I not found
> param 'collect.xref.targets' in the FO dir.
> 
> I found my error (and possible error in the docs ;):
> 
> For building FO output from documents with <olink>, I
> must to create target.db with HTML stylesheets, and after it I
> can to build output with FO stylesheets.
> 
> <skipped/>

Yes, that is kind of awkward.  I use the stylesheet
templates to generate the data for the database, and
the HTML templates gather more information (the href's,
for example) than the fo templates.  But I should
figure out a way to make that more automatic.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com


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