Great work on the page-number-citiation front, Simon. I've just
test-generated the XSLT 1.0 specification using FOP Trunk and all the
page reference I've seen so far look good! Looks like this is a big step
forward for DocBook users.

On 06.10.2006 20:06:28 Simon Pepping wrote:
> I fixed a bug in the rendering of the resolved page number. I hope
> that solves your problem.
> 
> Regards, Simon
> 
> On Thu, Oct 05, 2006 at 07:17:08AM -0700, woolly wrote:
> > 
> > Thanks for the help. As a temporary nasty hack I have simply done the
> > following in UnresolvedPageNumber.resolveIDRef(String id, List pages):
> > 
> > ================================================
> > String pg = page.getPageNumberString(); // original code, nasty hack follows
> > 
> > // pad out the word in the text area to be 
> > final int ESTIMATED_RESERVE = "MMM".length();
> > for (int i = 0; i < ESTIMATED_RESERVE - pg.length(); i++)
> > {
> >    // adding a double space which hopefully is the same as the letter "M"
> >    addWord("  ",0);
> > }
> > 
> > addWord(pg, 0); // back to original code again
> > ================================================
> > 
> > 
> > In my particular use case, this works, but I'll be looking at the proper
> > solutions and trying to implement them as well. Although I get the feeling
> > I'm going to be knee deep in XSL-FO spec before I work it out. If I manage a
> > real solution I'll be certain to post back here.
> > -- 
> > View this message in context: 
> > http://www.nabble.com/Page-Number-Citation-Alignment-tf2387523.html#a6659459
> > Sent from the FOP - Dev mailing list archive at Nabble.com.
> > 
> 
> -- 
> Simon Pepping
> home page: http://www.leverkruid.eu



Jeremias Maerki

Reply via email to