[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Discard leading/trailing whitespace in <title> elements?
Actually, I lied. There were line breaks in my source before and after the indexterm tags. But I have to admit, I'm confused: given the following sample, I get an extra space after Test1, but not after Test2 (which is identical to Test1) or Test3...using XEP 2.8 (I know, I really should upgrade) and heavily customized XSLs based on 1.60.1 (again, I should upgrade). <formalpara> <title>Test1</title> <para> <indexterm> <primary>blah</primary> </indexterm> Foo </para> </formalpara> <formalpara> <title>Test2</title> <para> <indexterm> <primary>blah</primary> </indexterm> Foo </para> </formalpara> <formalpara> <title>Test3</title> <para> Foo </para> </formalpara> In any case, I've updated our XMetaL customization's .ctm file so it will stop pretty printing indexterms. That solves the problem. Thanks, David > -----Original Message----- > From: Bob Stayton [mailto:bobs@sagehill.net] > Sent: Wednesday, March 30, 2005 11:04 AM > To: David Cramer (Tech Pubs); Sean Wheller; > docbook-apps@lists.oasis-open.org > Subject: Re: [docbook-apps] Discard leading/trailing > whitespace in <title> elements? > > Hi David, > Is this in PDF output? I can't seem to duplicate this > problem. I tested your formalpara both with and without the > indexterm, and the spacing is the same in both XEP and FOP. > I wonder where the extra space is coming from?
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]