GNU bug report logs -
#21772
'stexi->shtml' produces invalid SXML for @itemize
Previous Next
Reported by: ludo <at> gnu.org (Ludovic Courtès)
Date: Wed, 28 Oct 2015 10:03:02 UTC
Severity: normal
Done: Andy Wingo <wingo <at> pobox.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
ludo <at> 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 <at> item foo\n <at> 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’.
This bug report was last modified 9 years and 23 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.