Forum > Other

Small CHM improvement

(1/4) > >>

marcov:
I've made a small enhancement to the index of the ref.chm manual. If an entry has multiple entries, now these are no longer numbered, but have the relevant section title. (see image)

New CHM (for testpurposes)

wp:
Great!

marcov:
This one replaces the one in the recent snapshot, which was generated after the index fixes:


--- Quote ---r42124 | marco | 2019-05-25 18:41:18 +0200 (Sat, 25 May 2019) | 5 lines
Changed paths:
   M /trunk/packages/chm/fpmake.pp
   M /trunk/packages/chm/src/chmcmd.lpr
   M /trunk/packages/chm/src/chmfilewriter.pas
   M /trunk/packages/chm/src/chmreader.pas
   M /trunk/packages/chm/src/chmsitemap.pas
   M /trunk/packages/chm/src/chmwriter.pas
   M /trunk/utils/fpdoc/dw_htmlchm.inc

 * redone sitemap to support multiple name,local pairs for index.
 * rewritten binary index generation. Use natural sort for index.
 * updated html scanning for ID= tags as anchor, reduces warnings with more modern html code.
 
Still work to do, ags helpfile still has 70 differences. Possibly however due to case sensitive anchors on index level.
---
r42129 | marco | 2019-05-27 09:48:45 +0200 (Mon, 27 May 2019) | 1 line
Changed paths:
   M /trunk/packages/chm/src/chmsitemap.pas

 * add a dummy property to keep lazarus CHM compiling for now.
---
--- End quote ---

These will be merged back into 3.2 in time. Since sitemap classes were quite heavily modified, probably lhelp and chmmaker need to be checked.

Basically indexes now support multiple <name,local> pairs per chmsitemap item.

ASerge:

--- Quote from: marcov on May 28, 2019, 07:19:41 pm ---This one replaces the one in the recent snapshot, which was generated after the index fixes:

--- End quote ---
For the ref.chm "relevant section titles" are empty (numbers in order only). For other cmhs everything is fine.

marcov:
The fixed CHM is a separate download (see link in first post). I now also replaced it in the snapshot.

Navigation

[0] Message Index

[#] Next page

Go to full version