View Issue Details

IDProjectCategoryView StatusLast Update
0038251FPCUtilitiespublic2021-01-01 15:31
ReporterAndrey Sobol Assigned ToMarco van de Voort  
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Platformi386OSWindows 
Product Version3.2.1 
Summary0038251: The fpdoc generates wrong indexes for ref.chm
DescriptionI am working with lHelp and see now that a reference manual (ref.chm) has wrong urls into TOC index.
After hash tag we have wrong text.

On attached picture you can see what I recieved from lazarus and what I got from ref.chm for contex searching operation.
That is for the trunc and for Lazarus 2.10 release both.

I have changed code lHelp for to get this log.
TagsNo tags attached.
Fixed in Revision
FPCOldBugId
FPCTarget-
Attached Files

Activities

Andrey Sobol

2020-12-23 19:12

reporter  

Marco van de Voort

2020-12-24 00:04

manager   ~0127786

Can you show in the windows help viewer what links are wrong? I don't know lhelp internals.

Andrey Sobol

2020-12-24 05:48

reporter   ~0127787

Last edited: 2020-12-24 07:02

View 3 revisions

That is all links from TOC tree.
Links are include right filepath link but a wrong part after hash tag . Thus that the hh.exe and lHelp also show a right page with description about this keyword, but lHelp use hash tag for additional posioning.
For example for context searching word "while" lHelp waits the link "/ref/refse91.html#keyword_while" but ref.chm gives "/ref/refse91.html#x170-19200013.2.8" and so on.
I saw a code for creating requests in Lazarus IDE before. When I find it, I'll show for you.

Andrey Sobol

2020-12-24 14:42

reporter   ~0127788

Last edited: 2020-12-24 15:42

View 3 revisions

I think that error happenes when is generated a documentation from ref.tex file.
The ref.tex file includes such links as "\keywordlink{while}" for example then ones are generated as wrong links -> "/ref/refse91.html#x170-19200013.2.8"
lHelp wants to get the link as "/ref/refse91.html#keyword_while".

Andrey Sobol

2020-12-25 12:57

reporter   ~0127795

Now I see into html document the extra link as <a name="keyword_while"></a> that is Ok.
I think only postfix in TOC index - "/ref/refse91.html#x170-19200013.2.8" is unwanted .

Marco van de Voort

2020-12-31 12:11

manager   ~0127970

Yes. Probably takes the label used by latex by default. Maybe it could be changed to use the keyword one though, see compilelatexchm.pp

Marco van de Voort

2021-01-01 15:31

manager   ~0127994

(moved the wrong notes to the correct bugreport)

Issue History

Date Modified Username Field Change
2020-12-23 19:12 Andrey Sobol New Issue
2020-12-23 19:12 Andrey Sobol File Added: 2020-12-18 23_15_48-Reference manual.jpg
2020-12-24 00:04 Marco van de Voort Note Added: 0127786
2020-12-24 05:48 Andrey Sobol Note Added: 0127787
2020-12-24 07:01 Andrey Sobol Note Edited: 0127787 View Revisions
2020-12-24 07:02 Andrey Sobol Note Edited: 0127787 View Revisions
2020-12-24 14:42 Andrey Sobol Note Added: 0127788
2020-12-24 14:45 Andrey Sobol Note Edited: 0127788 View Revisions
2020-12-24 15:42 Andrey Sobol Note Edited: 0127788 View Revisions
2020-12-25 12:57 Andrey Sobol Note Added: 0127795
2020-12-31 12:11 Marco van de Voort Note Added: 0127970
2021-01-01 15:04 Marco van de Voort Assigned To => Marco van de Voort
2021-01-01 15:04 Marco van de Voort Status new => feedback
2021-01-01 15:04 Marco van de Voort FPCTarget => -
2021-01-01 15:31 Marco van de Voort Note Added: 0127994