HTML Custom Elements to help in SRFI writing? Artyom Bologov (11 Aug 2026 03:01 UTC)
Re: HTML Custom Elements to help in SRFI writing? Marc Nieper-Wißkirchen (11 Aug 2026 05:29 UTC)
Re: HTML Custom Elements to help in SRFI writing? Artyom Bologov (11 Aug 2026 05:47 UTC)
Re: HTML Custom Elements to help in SRFI writing? Peter McGoron (11 Aug 2026 14:44 UTC)
Re: HTML Custom Elements to help in SRFI writing? Jakub T. Jankiewicz (12 Aug 2026 15:37 UTC)
Re: HTML Custom Elements to help in SRFI writing? Artyom Bologov (12 Aug 2026 18:45 UTC)
Re: HTML Custom Elements to help in SRFI writing? Maxim Cournoyer (17 Aug 2026 00:29 UTC)
Re: HTML Custom Elements to help in SRFI writing? Wolfgang Corcoran-Mathe (17 Aug 2026 14:17 UTC)
Re: HTML Custom Elements to help in SRFI writing? Arthur A. Gleckler (17 Aug 2026 18:55 UTC)
Re: HTML Custom Elements to help in SRFI writing? Artyom Bologov (17 Aug 2026 21:42 UTC)
Re: HTML Custom Elements to help in SRFI writing? Maxim Cournoyer (18 Aug 2026 01:35 UTC)
Re: HTML Custom Elements to help in SRFI writing? Artyom Bologov (18 Aug 2026 04:17 UTC)
Re: HTML Custom Elements to help in SRFI writing? Maxim Cournoyer (18 Aug 2026 02:01 UTC)
Re: HTML Custom Elements to help in SRFI writing? Wolfgang Corcoran-Mathe (19 Aug 2026 18:31 UTC)
Re: HTML Custom Elements to help in SRFI writing? Artyom Bologov (20 Aug 2026 00:59 UTC)
Re: HTML Custom Elements to help in SRFI writing? Maxim Cournoyer (21 Aug 2026 00:54 UTC)
Re: HTML Custom Elements to help in SRFI writing? Artyom Bologov (21 Aug 2026 10:49 UTC)
Re: HTML Custom Elements to help in SRFI writing? Peter McGoron (21 Aug 2026 13:06 UTC)
Re: HTML Custom Elements to help in SRFI writing? Vincent Manis (he/him) (21 Aug 2026 16:38 UTC)
Re: HTML Custom Elements to help in SRFI writing? Artyom Bologov (22 Aug 2026 03:45 UTC)

Re: HTML Custom Elements to help in SRFI writing? Maxim Cournoyer 18 Aug 2026 02:01 UTC

Hi,

Wolfgang Corcoran-Mathe <xxxxxx@sigwinch.xyz> writes:

[...]

> You could just as well recommend a specific version of HTML (preferably
> without dynamic elements).  XHTML and HTML 4.01 are well-defined,
> and probably easier to parse than most of the manpage or "quick"
> documentation formats out there.  But SRFIs authors basically use what
> they want, and, with the unbounded expansion of WHATWG HTML, some of
> them want plenty.  This is an issue with a large social component,
> in other words.

It'd be nice if there was a requirement for authors to stick to what's
used in the HTML SRFI document template; but yeah with HTML being very
large and flexibly there's always going to be some wiggle room that will
make a good tool to transform from HTML to something else (PDF, Info,
Groff, etc.) difficult (has anyone tried pandoc? My experience with it
is that it's output is useful/good, but far from perfect).

> After doing R7RS small in both Texinfo and DocBook, I personally believe
> Texinfo is the worse of the two, when it comes to describing documents.
> Its tree-structuring is weak, compared to the XML format.  (texi2any
> does the best it can, but it’s pretty hard to translate texinfo
> to *good* XML, for example.)  Texinfo is OK — it’s an incremental
> improvement on the old troff macros — but it is not much of a semantic
> format, and it’s certainly not the panacea some GNU folks seem to
> believe it is.

I believe the strength of Texinfo lies not in its data representation
but in the existing tooling around it that allows generating high
quality documents in various formats, such as PDF or HTML, along Info,
which is pretty handy with automatically handling indexing of procedures
(as long as they are declared as such) and is still very usable even
from a terminal emulator, if you must (I'd argue more than an HTML page
thanks to the keyboard-based navigation and indices).

It also strikes a good balance of being human readable in source form,
thus natural/easy to author.  It reminds me a bit of (La)TeX, which
places the focus on the content rather than the minutia of presentation
details.

Finally, it's actively used to document Guile (and Guix, along other
projects), and there is a Scheme module for manipulating Texinfo already
in Guile (for parsing, rendering or serializing it for example) in (info
"(guile) Texinfo Processing") or
<https://doc.guix.gnu.org/guile/latest/en/html_node/Texinfo-Processing.html>

--
Thanks,
Maxim