[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] collab elements: not present in FO
Your workaround has no affect. Using the following markup: <authorgroup> <author> <firstname>Adam</firstname> <surname>Adams</surname> </author> <collab> <collabname>Jenny Jones</collabname> </collab> </authorgroup> Only the author element is present in the FO output. --- On Sun, 25/9/11, Bob Stayton <bobs@sagehill.net> wrote: > From: Bob Stayton <bobs@sagehill.net> > Subject: Re: [docbook-apps] collab elements: not present in FO > To: "michael mclaughlin" <m_mclaug@yahoo.co.uk>, docbook-apps@lists.oasis-open.org > Date: Sunday, 25 September, 2011, 20:43 > Hi, > Try adding this template to your customization layer for FO > output: > > <xsl:template match="collabname"> > <fo:block> > <xsl:apply-templates/> > </fo:block> > </xsl:template> > > > Bob Stayton > Sagehill Enterprises > bobs@sagehill.net > > > ----- Original Message ----- From: "michael mclaughlin" > <m_mclaug@yahoo.co.uk> > To: <docbook-apps@lists.oasis-open.org> > Sent: Sunday, September 25, 2011 9:47 AM > Subject: Re: [docbook-apps] collab elements: not present in > FO > > > We have been using collab and collabname in markup for the > authorgroup element. > Despite the authorgroup element being present in the FO > front page template, the collab and collabname elements do > not show up on the title page. > > Using FOP 1.0. No errors were generated when creating FO > output. But the collab elements are not present in the FO > file. > > --- On Fri, 23/9/11, Bob Stayton <bobs@sagehill.net> > wrote: > > > From: Bob Stayton <bobs@sagehill.net> > > Subject: Re: [docbook-apps] collab elements: not > present in FO > > To: "mike 675" <m_mclaug@yahoo.co.uk>, > docbook-apps@lists.oasis-open.org > > Date: Friday, 23 September, 2011, 22:16 > > Hi Mike, > > When you run the FO process, the error output should > have > > shown something like this: > > > > "Element collabname in namespace '' encountered in > collab, > > but no template matches." > > > > The error should also have shown up in red on the > title > > page because it seems the FO > > stylesheet does not have a template matching on > collabname, > > and that is a bug. It > > would be nice if you could report that bug to the > > DocBook SourceForge bug tracker. > > > > When you say collab is ignored, I'm wondering if you > are > > working with a customization > > that does something with collab or collabname. Have > > you tested it with the stock > > stylesheets? > > > > Bob Stayton > > Sagehill Enterprises > > bobs@sagehill.net > > > > > > ----- Original Message ----- From: "mike 675" <m_mclaug@yahoo.co.uk> > > To: <docbook-apps@lists.oasis-open.org> > > Sent: Tuesday, September 20, 2011 6:14 AM > > Subject: Re: [docbook-apps] collab elements: not > present in > > FO > > > > > > > > > > Using an alternative markup. > > > HTML output is OK. > > > Only <author> is present in FO. > <collab> > > entries are ignored. > > > > > > <authorgroup> > > > > > > <author><firstname>Andy</firstname><surname>Andrews</surname></author> > > > <collab> > > > <collabname>Peter > > Piper</collabname> > > > </collab> > > > <collab> > > > <collabname>Jenny > > Jones</collabname> > > > </collab> > > > </authorgroup> > > > > > > > > > mike 675 wrote: > > >> > > >> Using 1.76.1 stylesheets, exporting to FO. > > >> > > >> The <collab> elements in the following > > markup do not show up in the .fo > > >> file. > > >> > > >> <bookinfo> > > >> .... > > >> <authorgroup role="Primary"> > > >> <author> > > >> > > <firstname>Andy</firstname> > > >> > > <surname>Andrews</surname> > > >> </author> > > >> </authorgroup> > > >> <authorgroup > > role="Contributing"> > > >> <collab> > > >> > > <collabname>Jenny > > James</collabname> > > >> </collab> > > >> </authorgroup> > > >> <authorgroup > > role="Other"> > > >> <collab> > > >> > > <collabname>Mike > > Michaels</collabname> > > >> </collab> > > >> </authorgroup> > > >> </bookinfo> > > >> > > > > > > -- > View this message in context: > > > http://old.nabble.com/collab-elements%3A-not-present-in-FO-tp32471247p32501067.html > > > Sent from the docbook apps mailing list archive > at > > Nabble.com. > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > > > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > > > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]