Yes, this worked well. The 'chmls' program was already compiled and on
the path.
(Comparing with the wget'ed files showed that it is mostly the same.
There are more files coming out of chm (e.g. cm_activate.html). On the
other hand I saw some 'ms-its' links/schemes which probably need
patching.)
----------------------------------------------------------------------
wp · 2017-12-29 10:54
I think you can delete $WW*, #*, Default.hhc, Default.hhk.
In which files did you find the ms-its links? They are related to chm
and probably not needed for html alone.
----------------------------------------------------------------------
marcov · 2017-12-29 11:49
The hhc and hhk are toc and index. They can be useful as input if you
generate something similar in whatever you want.
----------------------------------------------------------------------
Hans302 · 2017-12-29 16:14
Quote from: wp on December 29, 2017, 11:54:41 amIn which files did you
find the ms-its links? They are related to chm and probably not needed
for html alone.
Not sure about chm related, seems to be system, classes links. Here
some numbers:
$ find lcl-from_chms/_build/ -type f | wc -l #
--> 20225
$ ack -l "ms-its" lcl-from_chms/_build/ | wc -l #
--> 7749
$ ack -l "ms-its:rtl.chm" lcl-from_chms/_build/ | wc -l # -->
7651
$ ack -l "ms-its:rtl.chm::/system" lcl-from_chms/_build/ | wc -l
#5607
$ ack -l "ms-its:rtl.chm::/classes" lcl-from_chms/_build/ | wc -l
#4169
Here an example from '$ vi lcl-
from_chms/_build/forms/tcontrolscrollbar.clientsize.html':
public function TControlScrollBar.ClientSize: Integer; |
I'll go with the converted chm files. Just for the record, below the
difference between the chm-converted and wget'ed. I cannot exclude
that there was a problem with wget (albeit it looked reasonable and
the missing files/folders might be newer and not yet available on the
sourceforge online help?). Numbers:
$ find lcl-from_chms/_build/ -type f | wc -l # --> 20225
$ find lcl-wget/ -type f | wc -l # --> 17635
----------------------------------------------------------------------
wp · 2017-12-29 18:14
Strange. Here, the ms-its anchor has been dropped, same file, same
location. Is this because I am on Windows?
Hans302, when you navigate to this file and open it in the browser, is
the ms-its link harmful if you click on it?
----------------------------------------------------------------------
marcov · 2017-12-29 18:26
Note that the 3.0.4 chms seem corrupt. At least according to Mattias,
I haven't had time to dig deeper.
ms-its is normal for CHM interlinking.
----------------------------------------------------------------------
Hans302 · 2017-12-29 20:40
> Hans302, when you navigate to this file and open it in the browser,
is the ms-its link harmful if you click on it?
yes if I click on 'integer', firefox tries to resolve 'ms-
its:rtl.chm::/system/integer.html' and this fails (of course).
Strange, that it works on Windows but not here (OSX, Yosemite)). -
Hope that I don't have an old chmls version or something. But I
installed Laz 1.8 from scratch and the chmls date says 26 Nov.
With the 'lcl-wget' version it works, a click to 'integer' leads to
the online help on sourceforge (http://lazarus-
ccr.sourceforge.net/docs/rtl/system/integer.html)
(But I'll start with FPC documentation anyway (and patching would be
easy), no hurry...)