[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unadorned cross-references
From: |
Per Bothner |
Subject: |
Re: Unadorned cross-references |
Date: |
Wed, 2 Jun 2021 12:25:19 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
On 6/2/21 11:53 AM, Augusto Stoffel wrote:
However, generating HTML files that look okay on anything other than a
full-fledged browser is much harder than converting some documentation
source to info with Pandoc, Sphinx or the like.
I disagree. I think the output in eww is quite decent and
better than info mode. At least for output generated by tex2any
from texinfo files. (If you looking into converting documents written in some
other non-texinfo format, that's not really a priority for this project.)
And how do you grep through a bunch of HTML files, by the way?
I don't think using grep is relevant. Full-text search is nice
(though I seldom use it), but in principle full-text search in html
files isn't all that different from full-text search in info files;
just dealing with a slightly more complicated syntax.
And emacs already includes an HTML parser.
The new JavaScript "html-info" reader handles both index search and full-text
search (though that latter seems broken - haven't looked into it).
You can see a sample in action here:
https://per.bothner.com/tmp/Kawa-txjs/index.html
If JavaScript can do, Emacs-Lisp can do it.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
Re: Unadorned cross-references, Augusto Stoffel, 2021/06/01