[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?
Hi Eric, Take a look at the monospace.verbatim.properties attribute set. I know you can set the font there. You may also be able to adjust the margins (I haven't tried that in this context). Generally, I always look for attribute sets first when doing a customization, because if you can get what you need done with the attribute set, it will save you having to customize templates. Best Regards, Dick Hamilton ------- XML Press XML for Technical Communicators http://xmlpress.net hamilton@xmlpress.net On Apr 5, 2013, at 5:35 PM, Eric Nordlund wrote: > Hi gang, I've had so much luck with this list this week. Thanks! > > I have some verbatim sections that I need to shrink the font size so the whole line fits on the page. I've modified the <xsl:template match="programlisting|screen|synopsis"> template in verbatim.xsl so that I can pass a width='1' attribute which sets the resulting fo:block to have 0pts indent left and right, which effectively opens my margins up. Another thing I need to do is pass a role="8pt" or role="7pt" attribute that will shrink the font size down on those elements for the really long ones. Is that something anyone has done before that could share a sample with me? > > Am I even on the right track, or am I making things harder than they need to be? > > Thanks in advance! > > Eric Nordlund > Customer Documentation and Training > Cray Inc. > 901 5th Ave > Seattle, WA 98164 > (206)701-2232 > > > > --------------------------------------------------------------------- > 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]