After some quick investigations, I found that the text version of insref is almost AMB-ready, it only needed to have a TOC generated. I wrote a script that splits insref into multiple "chapters" using the Linux csplit command and then auto-generated a TOC from there. It is not perfect, because the files sometimes have mentions "See chapter xyz for abc", and these are not linkified, but it's as good as I can get it to be without spending too much time on it.

This is how it looks like:
http://mateusz.viste.fr/tmp/amb/phpamb.php?fname=insref.amb

The AMB file itself can be downloaded here:
http://mateusz.viste.fr/tmp/amb/insref.amb

And the script I created for the occasion is here:
https://sourceforge.net/p/ambook/code/HEAD/tree/nasmref2amb/convert.sh

Mateusz




On 14/12/2020 07:36, Mateusz Viste wrote:
Hi Christian,

Your docs seem very interesting! I didn't know about them. Having them 
available as AMB books would definitely be very cool.
I am not very fond of HTML as a source-to-be-processed data, but the halibut 
thing appears very promising. I will see how hard it would be to create a 
halibut2amb converter.

Mateusz




On December 13, 2020 9:27:06 PM GMT+01:00, "C. Masloch" <pus...@ulukai.org> 
wrote:
On at 2020-12-13 09:15 +0100, Mateusz Viste wrote:
I'd love to have the FreeDOS books in there, too.
https://www.freedos.org/books/
I don't think I have the free time to convert them, but if I sent
you
the ODT files, could you convert

Sure, if the books are terminal-friendly (ie. no illustrations or
illustrations can be removed easily).

Hi,

I wonder whether you could convert my documentation to AMB format too?
Most of it is found at [1] -- each HTML file contains a link to the
corresponding hg repository near the end, which has the source. Such as

[2].The source format is that accepted by the Halibut documentation
preparation system [3]. Perhaps you can convert from either the HTML
output or the Halibut sources to AMB?

Regards,
ecm

[1]: https://ulukai.org/ecm/doc/
[2]: https://hg.ulukai.org/ecm/insref/
[3]: https://www.chiark.greenend.org.uk/~sgtatham/halibut/


_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user



_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to