public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
* Tables of contents
  2000-12-27  6:36 Tables of contents Andrew Payne
@ 2000-10-06  1:30 ` Andrew Payne
  2000-12-27  6:36 ` Norman Walsh
  1 sibling, 0 replies; 8+ messages in thread
From: Andrew Payne @ 2000-10-06  1:30 UTC (permalink / raw)
  To: docbook-tools-discuss

Hi.

I'm having immense trouble getting docbook2rtf to correctly fill in
page numbers in TOCENTRYs.

If I run docbook2dvi three times (!) then it usually does fill in the
numbers, but insists on underlining every entry which looks terrible.

docbook2rtf, who's output is generally good, completely refuses to
and shows all page numbers as being '1'.

Does anyone have a reliable way of producing TOCs with these tools?

Here's my SGML snippet.  I tried playing with XREF and LINK to see
if they helped, which they didn't.

<toc>
<tocpart>
	<tocentry linkend='partvisp'></tocentry>
	<tocchap>
		<tocentry linkend='chapvispsystemoverview'></tocentry>
		<toclevel1>
			<tocentry linkend='sectvispoverviewinventory'></tocentry>
		</toclevel1>
	</tocchap>
</tocpart>
<tocpart>
	<tocentry linkend='partinternal'></tocentry>
	<tocchap>
		<tocentry linkend='chapintoverview'></tocentry>
	</tocchap>
	<tocchap>
		<tocentry>
		<xref linkend='chapintfirewall'>
		</tocentry>
	</tocchap>
</tocpart>
</toc>



Andrew.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Tables of contents
  2000-12-27  6:36 ` Norman Walsh
@ 2000-10-06  4:26   ` Norman Walsh
  2000-12-27  6:36   ` Andrew Payne
  1 sibling, 0 replies; 8+ messages in thread
From: Norman Walsh @ 2000-10-06  4:26 UTC (permalink / raw)
  To: Andrew Payne; +Cc: docbook-tools-discuss

/ Andrew Payne <andrew@surfnet.demon.co.uk> was heard to say:
| docbook2rtf, who's output is generally good, completely refuses to
| and shows all page numbers as being '1'.
| 
| Does anyone have a reliable way of producing TOCs with these tools?

Most users allow the stylsheets to generate TOCs automatically.
It's possible that there's a bug in manually generated TOCs, but
can you explain why you need or want to generate the TOC manually?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <norm@berkshire.net>  | Some people tell you you should
                                   | not drink claret after
                                   | strawberries. They are
                                   | wrong.--William Maginn

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Tables of contents
  2000-12-27  6:36   ` Andrew Payne
@ 2000-10-06  4:35     ` Andrew Payne
  2000-12-27  6:36     ` Norman Walsh
  1 sibling, 0 replies; 8+ messages in thread
From: Andrew Payne @ 2000-10-06  4:35 UTC (permalink / raw)
  To: docbook-tools-discuss

> Most users allow the stylsheets to generate TOCs automatically.
> It's possible that there's a bug in manually generated TOCs, but
> can you explain why you need or want to generate the TOC manually?

I tried this - and it did the all-pages-are-1 thing - so I tried
doing manual entries to see if anything improved.


Andrew.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Tables of contents
  2000-12-27  6:36     ` Norman Walsh
@ 2000-10-06  5:13       ` Norman Walsh
  0 siblings, 0 replies; 8+ messages in thread
From: Norman Walsh @ 2000-10-06  5:13 UTC (permalink / raw)
  To: Andrew Payne; +Cc: docbook-tools-discuss

/ Andrew Payne <andrew@surfnet.demon.co.uk> was heard to say:
| > Most users allow the stylsheets to generate TOCs automatically.
| > It's possible that there's a bug in manually generated TOCs, but
| > can you explain why you need or want to generate the TOC manually?
| 
| I tried this - and it did the all-pages-are-1 thing - so I tried
| doing manual entries to see if anything improved.

In the RTF, you have to load the document in Word or some other program
and ask it to regen the numbers. This is described in the Jade document
at http://www.jclark.com/jade/#backend-rtf , have you tried that?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | People say law but they mean
http://nwalsh.com/            | wealth.--Emerson

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Tables of contents
@ 2000-12-27  6:36 Andrew Payne
  2000-10-06  1:30 ` Andrew Payne
  2000-12-27  6:36 ` Norman Walsh
  0 siblings, 2 replies; 8+ messages in thread
From: Andrew Payne @ 2000-12-27  6:36 UTC (permalink / raw)
  To: docbook-tools-discuss

Hi.

I'm having immense trouble getting docbook2rtf to correctly fill in
page numbers in TOCENTRYs.

If I run docbook2dvi three times (!) then it usually does fill in the
numbers, but insists on underlining every entry which looks terrible.

docbook2rtf, who's output is generally good, completely refuses to
and shows all page numbers as being '1'.

Does anyone have a reliable way of producing TOCs with these tools?

Here's my SGML snippet.  I tried playing with XREF and LINK to see
if they helped, which they didn't.

<toc>
<tocpart>
	<tocentry linkend='partvisp'></tocentry>
	<tocchap>
		<tocentry linkend='chapvispsystemoverview'></tocentry>
		<toclevel1>
			<tocentry linkend='sectvispoverviewinventory'></tocentry>
		</toclevel1>
	</tocchap>
</tocpart>
<tocpart>
	<tocentry linkend='partinternal'></tocentry>
	<tocchap>
		<tocentry linkend='chapintoverview'></tocentry>
	</tocchap>
	<tocchap>
		<tocentry>
		<xref linkend='chapintfirewall'>
		</tocentry>
	</tocchap>
</tocpart>
</toc>



Andrew.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Tables of contents
  2000-12-27  6:36 ` Norman Walsh
  2000-10-06  4:26   ` Norman Walsh
@ 2000-12-27  6:36   ` Andrew Payne
  2000-10-06  4:35     ` Andrew Payne
  2000-12-27  6:36     ` Norman Walsh
  1 sibling, 2 replies; 8+ messages in thread
From: Andrew Payne @ 2000-12-27  6:36 UTC (permalink / raw)
  To: docbook-tools-discuss

> Most users allow the stylsheets to generate TOCs automatically.
> It's possible that there's a bug in manually generated TOCs, but
> can you explain why you need or want to generate the TOC manually?

I tried this - and it did the all-pages-are-1 thing - so I tried
doing manual entries to see if anything improved.


Andrew.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Tables of contents
  2000-12-27  6:36 Tables of contents Andrew Payne
  2000-10-06  1:30 ` Andrew Payne
@ 2000-12-27  6:36 ` Norman Walsh
  2000-10-06  4:26   ` Norman Walsh
  2000-12-27  6:36   ` Andrew Payne
  1 sibling, 2 replies; 8+ messages in thread
From: Norman Walsh @ 2000-12-27  6:36 UTC (permalink / raw)
  To: Andrew Payne; +Cc: docbook-tools-discuss

/ Andrew Payne <andrew@surfnet.demon.co.uk> was heard to say:
| docbook2rtf, who's output is generally good, completely refuses to
| and shows all page numbers as being '1'.
| 
| Does anyone have a reliable way of producing TOCs with these tools?

Most users allow the stylsheets to generate TOCs automatically.
It's possible that there's a bug in manually generated TOCs, but
can you explain why you need or want to generate the TOC manually?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <norm@berkshire.net>  | Some people tell you you should
                                   | not drink claret after
                                   | strawberries. They are
                                   | wrong.--William Maginn

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Tables of contents
  2000-12-27  6:36   ` Andrew Payne
  2000-10-06  4:35     ` Andrew Payne
@ 2000-12-27  6:36     ` Norman Walsh
  2000-10-06  5:13       ` Norman Walsh
  1 sibling, 1 reply; 8+ messages in thread
From: Norman Walsh @ 2000-12-27  6:36 UTC (permalink / raw)
  To: Andrew Payne; +Cc: docbook-tools-discuss

/ Andrew Payne <andrew@surfnet.demon.co.uk> was heard to say:
| > Most users allow the stylsheets to generate TOCs automatically.
| > It's possible that there's a bug in manually generated TOCs, but
| > can you explain why you need or want to generate the TOC manually?
| 
| I tried this - and it did the all-pages-are-1 thing - so I tried
| doing manual entries to see if anything improved.

In the RTF, you have to load the document in Word or some other program
and ask it to regen the numbers. This is described in the Jade document
at http://www.jclark.com/jade/#backend-rtf , have you tried that?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | People say law but they mean
http://nwalsh.com/            | wealth.--Emerson

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2000-12-27  6:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-27  6:36 Tables of contents Andrew Payne
2000-10-06  1:30 ` Andrew Payne
2000-12-27  6:36 ` Norman Walsh
2000-10-06  4:26   ` Norman Walsh
2000-12-27  6:36   ` Andrew Payne
2000-10-06  4:35     ` Andrew Payne
2000-12-27  6:36     ` Norman Walsh
2000-10-06  5:13       ` Norman Walsh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).