Re: Table of Contents problem
Jon, Jon Steeves wrote: Clay: This actually results in the same problem: the endofdoc reference does force the TOC number of the previous item to be printed, but its own page number is then omitted. The solution I came up with is to -- as you suggested -- output this "endofdoc" reference as the last block in TOC, but to make the font color="white". By doing this, the previous TOC item was printed in full and the last TOC dummy item, though incomplete, is output as invisible text. Thanks for the help Jon Glad I could "help" :-) I suspect that, in the long run, this isn't really a "solution" anyway, for those who've got as their last TOC item something that doesn't happen to be on the last page. I guess this is one of those strange bugs... :-p -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Table of Contents problem
Clay: This actually results in the same problem: the endofdoc reference does force the TOC number of the previous item to be printed, but its own page number is then omitted. The solution I came up with is to -- as you suggested -- output this "endofdoc" reference as the last block in TOC, but to make the font color="white". By doing this, the previous TOC item was printed in full and the last TOC dummy item, though incomplete, is output as invisible text. Thanks for the help Jon -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Friday, January 24, 2003 7:33 AM To: [EMAIL PROTECTED] Subject: Re: Table of Contents problem Jon, Can you merely use for the last item (and put at the last item)? Web Maestro Clay Jon Steeves wrote: > I'm not using multi-column layout or keeps, or lists, and the block IS an > immediate child of the flow. > > -Original Message- > From: J.Pietschmann [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 23, 2003 2:48 PM > To: [EMAIL PROTECTED] > Subject: Re: Table of Contents problem > > > Jon Steeves wrote: > >>I'm trying to generate a TOC. The following code works up to a point - all >>the TOC items output correctly except for the last one, which won't print the >>page number at the end of the leader pattern. >> >>Does anyone know how to get that last page number to print? > > > Looks like one of these elusive "deleted Id" bugs. Are you > using a multi-column layout or keeps, or lists? > An id referred to should be on a fo:block which is not nested > in a list or table, and for best results on a block which is > an immediate child of the flow. > > > >> (Also, does >>anyone know how to get the leader pattern to output evenly?) > > There is currently no way to make it perfect, but you can improve > it a bit with a table > > > > > > > Text leader-pattern="dots"/> > > > > > > > > > > > Note: there must be a space before the leader in the first cell, and there > must not be a space between the leader in the second cell and the page number > citation. > The leader form the second cell will probably overlap the other leader. You > might need to adjust the cell width a bit so that the dots match exactly. > > J.Pietschmann -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Table of Contents problem
Jon Steeves wrote: I'm not using multi-column layout or keeps, or lists, and the block IS an immediate child of the flow. Open a bug in bugzilla, and append a small, self contained FO document which demonstrares the problem. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Table of Contents problem
Jon, Can you merely use for the last item (and put at the last item)? Web Maestro Clay Jon Steeves wrote: I'm not using multi-column layout or keeps, or lists, and the block IS an immediate child of the flow. -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Thursday, January 23, 2003 2:48 PM To: [EMAIL PROTECTED] Subject: Re: Table of Contents problem Jon Steeves wrote: I'm trying to generate a TOC. The following code works up to a point - all the TOC items output correctly except for the last one, which won't print the page number at the end of the leader pattern. Does anyone know how to get that last page number to print? Looks like one of these elusive "deleted Id" bugs. Are you using a multi-column layout or keeps, or lists? An id referred to should be on a fo:block which is not nested in a list or table, and for best results on a block which is an immediate child of the flow. (Also, does anyone know how to get the leader pattern to output evenly?) There is currently no way to make it perfect, but you can improve it a bit with a table Text Note: there must be a space before the leader in the first cell, and there must not be a space between the leader in the second cell and the page number citation. The leader form the second cell will probably overlap the other leader. You might need to adjust the cell width a bit so that the dots match exactly. J.Pietschmann -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Table of Contents problem
> Jon Steeves wrote: > > I'm trying to generate a TOC. The following code works up to a point - all > > the TOC items output correctly except for the last one, which won't print the > > page number at the end of the leader pattern. I have the same problem (last page number citation in a TOC does not appear), and also this one: the last page number citation on *each page* of a (multi-page) TOC does not appear. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Table of Contents problem
Also, (which of course depends on your type of document), try to use a page-sequence per chapter or section. I also had that last id in my ToC mysteriously disappearing, until I set up a page-sequence per chapter. Since the page-number-citation refers to the title in the chapter, it lies first in the flow and this seemed to help, at least for me. hth ///Magnus "J.Pietschmann" wrote: > > Jon Steeves wrote: > > I'm trying to generate a TOC. The following code works up to a point - all > > the TOC items output correctly except for the last one, which won't print > > the > > page number at the end of the leader pattern. > > > > Does anyone know how to get that last page number to print? > > Looks like one of these elusive "deleted Id" bugs. Are you > using a multi-column layout or keeps, or lists? > An id referred to should be on a fo:block which is not nested > in a list or table, and for best results on a block which is > an immediate child of the flow. > > > (Also, does > > anyone know how to get the leader pattern to output evenly?) > There is currently no way to make it perfect, but you can improve > it a bit with a table > > > > > > > Text leader-pattern="dots"/> > > > > > > > > > > > Note: there must be a space before the leader in the first cell, and there > must not be a space between the leader in the second cell and the page number > citation. > The leader form the second cell will probably overlap the other leader. You > might need to adjust the cell width a bit so that the dots match exactly. > > J.Pietschmann > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature
RE: Table of Contents problem
I'm not using multi-column layout or keeps, or lists, and the block IS an immediate child of the flow. -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Thursday, January 23, 2003 2:48 PM To: [EMAIL PROTECTED] Subject: Re: Table of Contents problem Jon Steeves wrote: > I'm trying to generate a TOC. The following code works up to a point - all > the TOC items output correctly except for the last one, which won't print the > page number at the end of the leader pattern. > > Does anyone know how to get that last page number to print? Looks like one of these elusive "deleted Id" bugs. Are you using a multi-column layout or keeps, or lists? An id referred to should be on a fo:block which is not nested in a list or table, and for best results on a block which is an immediate child of the flow. > (Also, does > anyone know how to get the leader pattern to output evenly?) There is currently no way to make it perfect, but you can improve it a bit with a table Text Note: there must be a space before the leader in the first cell, and there must not be a space between the leader in the second cell and the page number citation. The leader form the second cell will probably overlap the other leader. You might need to adjust the cell width a bit so that the dots match exactly. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Table of Contents problem
Jon Steeves wrote: I'm trying to generate a TOC. The following code works up to a point - all the TOC items output correctly except for the last one, which won't print the page number at the end of the leader pattern. Does anyone know how to get that last page number to print? Looks like one of these elusive "deleted Id" bugs. Are you using a multi-column layout or keeps, or lists? An id referred to should be on a fo:block which is not nested in a list or table, and for best results on a block which is an immediate child of the flow. (Also, does anyone know how to get the leader pattern to output evenly?) There is currently no way to make it perfect, but you can improve it a bit with a table Text Note: there must be a space before the leader in the first cell, and there must not be a space between the leader in the second cell and the page number citation. The leader form the second cell will probably overlap the other leader. You might need to adjust the cell width a bit so that the dots match exactly. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]