Subject: bug#21772: closed (Re: bug#21772: 'stexi->shtml' produces invalid SXML for @itemize)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 24 Jun 2016 15:12:02 +0000

Your bug report

#21772: 'stexi->shtml' produces invalid SXML for @itemize

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
21772: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21772
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#21772: 'stexi->shtml' produces invalid SXML for @itemize
From: Andy Wingo <[email-masked]>
To: [email-masked] (Ludovic Courtès)
Cc: [email-masked]
Date: Fri, 24 Jun 2016 17:11:24 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Fixed in master.

Cheers,

Andy

On Sat 19 Mar 2016 14:40, [email-masked] (Ludovic Courtès) writes:

> [email-masked] (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:
>
> 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")))))
>
> Ludo’.

Subject: 'stexi->shtml' produces invalid SXML for @itemize
From: [email-masked] (Ludovic Courtès)
To: [email-masked]
Date: Wed, 28 Oct 2015 11:01:45 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

As of 2.0.11, we get this:

--8<---------------cut here---------------start------------->8---
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 "%" %
--8<---------------cut here---------------end--------------->8---

Ludo’.