[tex4ht] tex4ht: how to make the index refer to links instead of page numbers

Radhakrishnan CV cvr at river-valley.org
Sun Sep 26 18:16:25 CEST 2010


On 26-Sep-2010, at 9:09 PM, Irshad Alam wrote:

> Is there a way so that my index refer to 
> web links instead of page numbers?

Very much possible, but you need to process the index file in a different way.  

> im enclosing a sample file

Run 'htlatex scr' which will give you scr.idx among other files.

Given below are the commands to process the index file:

  tex '\def\filename{{scr}{idx}{4dx}{ind}} \input idxmake.4ht'
  makeindex -o scr.ind scr.4dx

Run 'htlatex scr' again, now you will get scr.html with hyperlinked index.  The scr.{html,idx,ind} are attached to this mail for your information.

Best
-- 
Radhakrishnan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex4ht/attachments/20100926/561e301e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scr.idx
Type: application/octet-stream
Size: 159 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex4ht/attachments/20100926/561e301e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scr.ind
Type: application/octet-stream
Size: 211 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex4ht/attachments/20100926/561e301e/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scr.ilg
Type: application/octet-stream
Size: 315 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex4ht/attachments/20100926/561e301e/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scr.4ix
Type: application/octet-stream
Size: 93 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex4ht/attachments/20100926/561e301e/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scr.4dx
Type: application/octet-stream
Size: 141 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex4ht/attachments/20100926/561e301e/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scr.css
Type: text/css
Size: 8308 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex4ht/attachments/20100926/561e301e/attachment.css>


More information about the tex4ht mailing list