unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: 21772@debbugs.gnu.org
Subject: bug#21772: 'stexi->shtml' produces invalid SXML for @itemize
Date: Sat, 19 Mar 2016 14:40:42 +0100	[thread overview]
Message-ID: <87oaaaio11.fsf@gnu.org> (raw)
In-Reply-To: <87pozz9ura.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 28 Oct 2015 11:01:45 +0100")

ludo@gnu.org (Ludovic Courtès) skribis:

> As of 2.0.11, we get this:
>
> scheme@(guile-user)> ,use(texinfo html)
> scheme@(guile-user)> ,use(texinfo)
> scheme@(guile-user)> (stexi->shtml (texi-fragment->stexi "@itemize\n@item foo\n@end itemize\n"))
> $3 = (div (ul (% (bullet (bullet))) (li (p "foo"))))
> scheme@(guile-user)> ,use(sxml simple)
> scheme@(guile-user)> (sxml->xml $3)
> <div><ul>ERROR: In procedure scm-error:
> ERROR: Invalid name starting character "%" %

Same with @acronym:

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> (stexi->shtml (texi-fragment->stexi "@acronym{GNU}"))

;;; WARNING (Don't know how to convert acronym to HTML)
$2 = (div (p ((% (acronym "GNU")))))
--8<---------------cut here---------------end--------------->8---

Ludo’.





  reply	other threads:[~2016-03-19 13:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-28 10:01 bug#21772: 'stexi->shtml' produces invalid SXML for @itemize Ludovic Courtès
2016-03-19 13:40 ` Ludovic Courtès [this message]
2016-06-24 15:11   ` Andy Wingo

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=87oaaaio11.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=21772@debbugs.gnu.org \
    /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).