OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: Re: redundant pages in index


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ Matthew Hobbs <mhobbs_of_lawson@bigpond.com> was heard to say:
| I produce PDF from DocBook XML using openjade and pdftex.  I want to make an 
| index and have finally managed to do this using collateindex.pl.  However I 
| am disappointed to find that my index turns out to have considerable 
| redundancy .  Indeed the collateindex.pl output warns that:
|
|       Duplicates may be removed in the HTML backend, but in the print
|       backends, it is impossible to suppress duplicate pages or coalesce
|       sequences of pages into a range.
|
| Is there no way around this?

I recently implemented and described some workarounds for getting
properly collated page numbers out of FO. The same technique might work
for RTF...

I'm offline so I can't send a pointer. Basically you output markup
that contains the page numbers. So in pass 1, if you printed your
index it would look like it contained index markup. You extract that,
massage it, and reformat the document using that index.

                                        Be seeing you,
                                          norm

- -- 
Norman Walsh <ndw@nwalsh.com>      | The fact of having been born is
http://www.oasis-open.org/docbook/ | bad augury for
Chair, DocBook Technical Committee | immortality.--Santayana
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE9k5TDOyltUcwYWjsRAvNkAJ9ZfMlFWzBoHCiMomlY7S1thtCNUQCfYkOe
6iQ/blxMOY1g+K6xTeuqgek=
=h2HY
-----END PGP SIGNATURE-----


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC