DocBook with WebHelp - can you specify a page anchor at the root of the HTML page and find it deep in the document?

StackOverflow https://stackoverflow.com/questions/12009039

  •  27-06-2021
  •  | 
  •  

문제

I am using WebHelp to render my DocBook document.

Within my DocBook file, if I have an anchor as follows:

<anchor id="thisIsSomeExample" />

I am able to reach it within my WebHelp render using a URL such as:

http://localhost:8080/MyWebHelpProject/book/pages/ch01s01.html#thisIsSomeExample

This is great, but what I really want to be able to do is find that anchor, irrespective of what section of whatever chapter is currently open on my screen:

http://localhost:8080/MyWebHelpProject/book/pages/#thisIsSomeExample

Is this possible?

Edit: Following the sound suggestion of @Sitapati Das to render the entire document in one page I must add that we require to split the document up by chapter. The document is very large (over 300 pages when printed in A4).

도움이 되었습니까?

해결책

This would be possible if you render your help file as html-single, and use unique anchor IDs.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top