This is the mail archive of the davenport@berkshire.net mailing list for the Davenport project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: DAVENPORT: collateindex.pl and the print TeX backend


Alex Lancaster wrote:
> 
> Has anyone ever successfully used the `collateindex.pl' machinery to
> successfully (i.e. automatically!) generate an Index that actually has
> *page numbers* in the TeX backend (i.e. in the DVI or PostScript
> output)?

Yes.

There's a secret way, you have to use the "-p" option, or apply
the following patch to collateindex.pl:
[I emailed this to Norm, but it may have gotten lost 8-)].

***************
*** 480,486 ****
            $linkend = $key;
        }
  
!       $role = $linkend;
        $role = $1 if $role =~ /\#(.*)$/;
  
        print OUT $indent;
--- 480,486 ----
            $linkend = $key;
        }
  
!       $role = $phref{$key}; # $linkend;
        $role = $1 if $role =~ /\#(.*)$/;
  
        print OUT $indent;

Try this, your mileage may vary of course, but it sounds like
you're where  I was.

Sam

> If so - how did you do it?  Correct me if I'm wrong, Norm, but I
> thought that page numbering should work for printed backends, or does
> that still need some more work?
> 
>  --- Alex

_


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]