View Single Post
Old 05-21-2013, 03:29 AM   #7
Junior Member
mr10463 began at the beginning.
Posts: 3
Karma: 10
Join Date: May 2013
Device: iPad
Originally Posted by Tex2002ans View Post
Give an example of some Index code and the code for the anchors in the paragraphs. Perhaps someone can help you come up with a Regex to handle the situations.
Well, here is some exemplary code...

This is the code in the chapter file:
<a href="../Text/anhang3.html#ir_9_220" id="in_9_220">ANY_TEXT</a>

This is the code in the index file:
<a href="../Text/chapter03.html#in_9_220" id="ir_9_220">220</a>

220 corresponds to the real page number. Why they made a link to the index file: I don't know!

It looks that way, that all links in the chapter files have a similar ID construct, starting with id="in_*_*".

Maybe anyone can help ...

Thanks in advance. Cheers.
mr10463 is offline   Reply With Quote