* bug#21772: 'stexi->shtml' produces invalid SXML for @itemize
@ 2015-10-28 10:01 Ludovic Courtès
2016-03-19 13:40 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2015-10-28 10:01 UTC (permalink / raw)
To: 21772
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’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#21772: 'stexi->shtml' produces invalid SXML for @itemize
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
2016-06-24 15:11 ` Andy Wingo
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2016-03-19 13:40 UTC (permalink / raw)
To: 21772
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’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#21772: 'stexi->shtml' produces invalid SXML for @itemize
2016-03-19 13:40 ` Ludovic Courtès
@ 2016-06-24 15:11 ` Andy Wingo
0 siblings, 0 replies; 3+ messages in thread
From: Andy Wingo @ 2016-06-24 15:11 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 21772-done
Fixed in master.
Cheers,
Andy
On Sat 19 Mar 2016 14:40, ludo@gnu.org (Ludovic Courtès) writes:
> 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:
>
> 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’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-24 15:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2016-06-24 15:11 ` Andy Wingo
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).