GNU bug report logs - #21772
'stexi->shtml' produces invalid SXML for @itemize

Previous Next

Package: guile;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21772 in the body.
You can then email your comments to 21772 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#21772; Package guile. (Wed, 28 Oct 2015 10:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ludo <at> gnu.org (Ludovic Courtès):
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Wed, 28 Oct 2015 10:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: bug-guile <at> gnu.org
Subject: 'stexi->shtml' produces invalid SXML for @itemize
Date: Wed, 28 Oct 2015 11:01:45 +0100
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 <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 "%" %
--8<---------------cut here---------------end--------------->8---

Ludo’.




Information forwarded to bug-guile <at> gnu.org:
bug#21772; Package guile. (Sat, 19 Mar 2016 13:41:01 GMT) Full text and rfc822 format available.

Message #8 received at 21772 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: 21772 <at> debbugs.gnu.org
Subject: Re: bug#21772: 'stexi->shtml' produces invalid SXML for @itemize
Date: Sat, 19 Mar 2016 14:40:42 +0100
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’.




Reply sent to Andy Wingo <wingo <at> pobox.com>:
You have taken responsibility. (Fri, 24 Jun 2016 15:12:02 GMT) Full text and rfc822 format available.

Notification sent to ludo <at> gnu.org (Ludovic Courtès):
bug acknowledged by developer. (Fri, 24 Jun 2016 15:12:02 GMT) Full text and rfc822 format available.

Message #13 received at 21772-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 21772-done <at> debbugs.gnu.org
Subject: Re: bug#21772: 'stexi->shtml' produces invalid SXML for @itemize
Date: Fri, 24 Jun 2016 17:11:24 +0200
Fixed in master.

Cheers,

Andy

On Sat 19 Mar 2016 14:40, ludo <at> gnu.org (Ludovic Courtès) writes:

> 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:
>
> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 23 Jul 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 271 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.