[publican-list] Indexterm causes line throw in generated pdf.

Misty Stanley-Jones misty at redhat.com
Tue Jun 14 22:35:02 UTC 2011


The bug linked by Josh is marked as fixed and verified. Norm, can you please verify which version of Publican you are running? If you are running a newer version than the one the bug says is fixed, this could be a regression, and the bug needs to be reopened.

Thanks,
Misty

----- Original Message -----
> From: "Joshua Wulf" <jwulf at redhat.com>
> To: "Publican discussions" <publican-list at redhat.com>
> Sent: Wednesday, June 15, 2011 8:08:55 AM
> Subject: Re: [publican-list] Indexterm causes line throw in generated pdf.
> Google: indexterm site:www.redhat.com/archives/publican-list/
> 
> http://www.google.com.au/search?sourceid=chrome&ie=UTF-8&q=indexterm+site%3Awww.redhat.com%2Farchives%2Fpublican-list%2F
> 
> Nets me this: https://bugzilla.redhat.com/show_bug.cgi?id=592823
> 
> On 06/14/2011 10:46 PM, Norman Dunbar wrote:
> > Good morning,
> >
> > I'm getting used to publican and I have to thank and congratulate
> > everyone involved, it's brilliant!
> >
> > I've discovered a foible in a paragraph as follows:
> >
> > <para>Blah blah blah
> > publican<indexterm><primary>Publican</primary></indexterm> blah blah
> > blah...</para>
> >
> > When I generate pdf, there is always a line feed after publican, so
> > the
> > above would render as:
> >
> > Blah blah blah publican
> > blah blah blah...
> >
> > When rendered as HTML, all is fine.
> >
> > I would try and search the list archives, but there doesn't appear
> > to be
> > an option to do so. Sorry.
> >
> > I've had a look at the 'fo' temporary file and found the following
> > (My
> > formatting):
> >
> > <fo:block ...>
> > 	Blah blah blah publican
> > 	<fo:block ...>
> > 		<fo:wrapper id="id3189566">
> > 			<!--Publican-->
> > 		</fo:wrapper>
> > 	</fo:block>
> > 	blah blah blah...
> > </fo:block>
> >
> > So I can see why I'm getting a line feed - because of the fo:block
> > around the fo:wrapper.
> >
> > Looking into index.xsl, there seems to be a test (beginning at line
> > 292)
> > for fop1.extensions being non-zero and if so, make a call to a
> > template
> > called 'inline.or.block' (begins at line 469) but it's at that point
> > my
> > brain loses the thread!
> >
> > It *appears* to me that if my <indexterm> is within a <para>, then I
> > should get an in-line and not a block. But I'm not an xsl guru, so I
> > could be wrong.
> >
> >
> >
> > Cheers,
> > Norm.
> >
> 
> 
> --
> Give us your feedback on JBoss Enterprise Documentation, take the key
> survey:
> http://www.keysurvey.com/survey/361436/1065/
> 
> _______________________________________________
> publican-list mailing list
> publican-list at redhat.com
> https://www.redhat.com/mailman/listinfo/publican-list
> Wiki: https://fedorahosted.org/publican

-- 


Misty Stanley-Jones, RHCE 
Content Author, ECS Brisbane 
IRC: misty_wrk (Freenode) / Ph: +61 7 3514 8105 / Internal: 88105 




More information about the publican-list mailing list