Re: doc/tools/help2doc rewrite in Perl

Kalle Olavi Niemitalo <[email protected]>
Newsgroups gmane.comp.web.links
Message-ID <[email protected]>
Jonas Fonseca <[email protected]> writes:

> I have changed the ELinks documentation several times, most recently to
> use AsciiDoc because I liked it and text files are easier. There are as
> you mention many traps in the syntax of AsciiDoc.

I implemented doc/tools/help2docbook and pushed it to a new
branch, kon/help2docbook.  This branch is subject to rebasing.
The script generates DocBook XML from the help output.
doc/elinks.1.txt and doc/elinks.conf.5.txt then include that.
Both manual pages and HTML are generated via DocBook.  This is
not entirely satisfactory because doc/asciidoc.conf assumes that
DocBook means manual pages only, and disables some links.

> We could generate "raw" DocBook and HTML and tell AsciiDoc to
> use that when compiling to .xml and .html.

Generating both DocBook and HTML directly from help would solve
the link problem but it would also make the converter harder to
maintain.

_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH5qVRHm9IGt60eMgRAocHAJ9v7C1bTYjXUvB5feLJXWTjqhhpYgCfWcDH
rQRX9KzO/e14kwdffp8iB1g=
=KfWT
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.