[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] dbfo keep-together for informal objects?
Sorry about that. I'll blame my laptop (Compaq Evo N800w) keyboard's poor design and mail client's (Outlook) keybindings on that premature posting. Somehow while trying to do CTRL+V, I managed to hit a magic keycombo that sent the message. As I was saying... FWIW, I have very general keep-* pis that I use for this purpose. The only trick is that in a few contexts they aren't matched, but within paras they generally work fine: <xsl:template match="*[processing-instruction('bjfo') = 'keep-together']"> <fo:block keep-together.within-column="always"> <xsl:apply-imports/> </fo:block> </xsl:template> <xsl:template match="*[./processing-instruction('bjfo') = 'keep-with-next']"> <fo:block keep-together.within-column="always" keep-with-next.within-column="always"> <xsl:apply-imports/> </fo:block> </xsl:template> <xsl:template match="*[./processing-instruction('bjfo') = 'keep-with-previous']"> <fo:block keep-together.within-column="always" keep-with-previous.within-column="always"> <xsl:apply-imports/> </fo:block> </xsl:template> David > -----Original Message----- > From: David Cramer (Tech Pubs) > Sent: Thursday, October 20, 2005 9:05 PM > To: Bob Stayton; Gerd v. Egidy; docbook-apps@lists.oasis-open.org > Subject: RE: [docbook-apps] dbfo keep-together for informal objects? > > FWIW, I > > > > -----Original Message----- > > From: Bob Stayton [mailto:bobs@sagehill.net] > > Sent: Thursday, October 20, 2005 1:27 PM > > To: Gerd v. Egidy; docbook-apps@lists.oasis-open.org > > Subject: Re: [docbook-apps] dbfo keep-together for informal objects? > > > > I don't think there is a reason. It would seem that the keep-together > PI > > should also be made to work in informal objects such as > informalexample. > > You can file a bug report on the DocBook SourceForge site about this. > > > > > http://sourceforge.net/docman/display_doc.php?docid=27830&group_id=21935 > > > > Bob Stayton > > Sagehill Enterprises > > DocBook Consulting > > bobs@sagehill.net > > > > > > ----- Original Message ----- > > From: "Gerd v. Egidy" <lists@egidy.de> > > To: <docbook-apps@lists.oasis-open.org> > > Sent: Thursday, October 20, 2005 10:08 AM > > Subject: [docbook-apps] dbfo keep-together for informal objects? > > > > > > > Hi, > > > > > > I want to make sure that some special <para>s are kept together on > one > > page > > > for print output. > > > > > > I've seen that the dbfo keep-together PI is used for that. It works > well > > if > > > you put a formal object like <example> around the paras. But because > I > > just > > > want to group those paras and not add a title and an example number > in > > front > > > of it I can not use it. > > > > > > It seems like keep-together is just supported for formal objects, > not > > for > > > informal ones. Is there any reason behind this? > > > > > > How can I keep my paras together without using hacks like hard page > > breaks? > > > > > > Kind regards, > > > > > > Gerd > > > > > > > --------------------------------------------------------------------- > > > 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 > > > > > > --------------------------------------------------------------------- > 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]