unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: guile-devel@gnu.org
Cc: mirai@makinata.eu, Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: [PATCH v2 0/2] Add 'snarfi' guild script to convert SRFI HTML specifications to Texinfo
Date: Tue, 12 Dec 2023 23:22:33 -0500	[thread overview]
Message-ID: <20231213042306.13654-1-maxim.cournoyer@gmail.com> (raw)
In-Reply-To: <20231203170504.7818&#45;3&#45;maxim.cournoyer@gmail.com>

Due to challenges in the unspecified HTML format used by the various
SRFI authors, the result is not perfect, but it's still a great help
when adapting the specification HTML into Texinfo.  It requires
guile-lib for its htmlprag HTML parser, which is autoloaded to avoid
introducing a hard dependency on it.

Changes in v2:
 - Add support for HTML table -> Texinfo @multitable
 - Only splice "Specification" section if necessary
 - Preserve spliced section leading text instead of discarding it
 - Various bug fixes
 - Use SPDX/REUSE for license/copyright notices

Maxim Cournoyer (2):
  .dir-locals: Add indentation rule for sxml-match syntax.
  scripts: Add SRFI documentation HTML -> Texinfo snarfer.

 .dir-locals.el                 |   3 +-
 LICENSES/LGPL-3.0-or-later.txt | 304 +++++++++++++
 am/bootstrap.am                |   1 +
 module/scripts/snarfi.scm      | 752 +++++++++++++++++++++++++++++++++
 4 files changed, 1059 insertions(+), 1 deletion(-)
 create mode 100644 LICENSES/LGPL-3.0-or-later.txt
 create mode 100644 module/scripts/snarfi.scm


base-commit: d8df317bafcdd9fcfebb636433c4871f2fab28b2
-- 
2.41.0




       reply	other threads:[~2023-12-13  4:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20231203170504.7818&#45;3&#45;maxim.cournoyer@gmail.com>
2023-12-13  4:22 ` Maxim Cournoyer [this message]
2023-12-13  4:22   ` [PATCH v2 1/2] .dir-locals: Add indentation rule for sxml-match syntax Maxim Cournoyer
2023-12-13  4:22   ` [PATCH v2 2/2] scripts: Add SRFI documentation HTML -> Texinfo snarfer Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231213042306.13654-1-maxim.cournoyer@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=guile-devel@gnu.org \
    --cc=mirai@makinata.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).