Re: [dssslist] Re: Problems with ? for page numbers in index]

Subject: Re: [dssslist] Re: Problems with ? for page numbers in index]
From: Jeremy Malcolm <Jeremy@xxxxxxxxxxxxx>
Date: Sat, 11 Mar 2006 20:26:00 +0800
Jeremy Malcolm wrote:
> With my full document (and it's similar in this shorter version), I've 
> found that I'm getting some warnings like "LaTeX Warning: Reference 
> `5123' on page 127 undefined on input line 98347".  At line 98347 of my 
> TeX file I find this:

I think I have realised what the problem is.  My index (actually two of 
my three indexes) are located mid-way through my document, not at the 
end.  After AEN (all-element-numbers) are generated to identify the 
location of index terms for the indexes, the indexes are updated.  But 
this of course throws the just-generated AENs out!  This is a bit of a 
catch-22 problem, but I will keep working at it.

> PS. Is there yet any way to collapse duplicate or adjascent page number
>     references in the index, like "3, 3, 3" or "3, 4, 5"?  Maybe I'm
>     getting ahead of myself; that's not so important for now.

I think it should be possible to modify the file "pdf2index" which is 
distributed with the XSL stylesheets, to work with DSSSL.  Instead of 
extracting the page numbers from the PDF file though, they would be 
extracted from the aux file created by the second run of pdfjadetex. 
The script would then modify the index file to include hard references 
to these page numbers (formatted to collapse duplicates and ranges), and 
would then create the PDF output again.

Jeremy Malcolm LLB (Hons) B Com
Internet and Open Source lawyer, IT consultant, actor
host -t NAPTR|awk -F! '{print $3}'

[demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]

Current Thread