[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Specify FO output font size in xml element?
That may be a quicker, easier way to do this. Certainly worth trying before you try my suggestion from a few minutes ago:-). Dick ------- XML Press XML for Technical Communicators http://xmlpress.net hamilton@xmlpress.net On Apr 5, 2013, at 6:06 PM, Stefan Seefeld wrote: > On 04/05/2013 08:57 PM, Eric Nordlund wrote: >> Thanks Richard. I have used the attribute sets for the entire document, but some of my examples are too long to fit on the page and I want to shrink the font size for only that instance so I can fit it without compromising the rest of the verbatim blocks. > > For such cases I have been using the "role" attribute: > > * Use something like <verbatim role="extra.small.text">...</verbatim> > > * Define a template like <xsl:template > match="verbatim[@role='extra.small.text']"> and reduce the font size to > your hear's content (for example by adding "<xsl:attribute > name="font-size">70%</xsl:attribute>" to your putput). > > Hope that helps, > > Stefan > > -- > > ...ich hab' noch einen Koffer in Berlin... > > > --------------------------------------------------------------------- > 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]