Closed hassanakbar4 closed 2 years ago
@{"email"=>"miek@miek.nl", "name"=>nil, "username"=>nil} commented
Ok, so this
<figure>
<artwork>println("some code")
</artwork>
<postamble>That's some nice code.
</postamble>
</figure>
doesn't get a deprecated warning, (yeah!), but is text rendered to
println("some code")
That's some nice code.
I was, at minimum, promised a figure counter :-): "Contains a figure with a caption with the figure number".
There more I look at the test in 7991, the less sense it makes; are captions and figure counters supported or not?
@{"email"=>"miek@miek.nl", "name"=>nil, "username"=>nil} commented
Adding a
<figure>
<artwork>
<name>Artwork 1</name>
println("some code")
</artwork>
<postamble>That's some nice code.
</postamble>
</figure>
</section>
Leads to this being generated:
(Artwork only available as None: <None>)
That's some nice code.
Think I've put the XML in the wrong spot, so FYI.
@{"email"=>"miek@miek.nl", "name"=>nil, "username"=>nil} commented
yeah, having the correct XML, where
<figure>
<name>Artwork 1</name>
<artwork>println("some code")
</artwork>
<postamble>That's some nice code.
</postamble>
</figure>
</section>
creates
println("some code")
Figure 1: Artwork 1
That's some nice code.
probably should use
@{"email"=>"henrik@levkowetz.com", "name"=>nil, "username"=>nil} changed status from new
to closed
@{"email"=>"henrik@levkowetz.com", "name"=>nil, "username"=>nil} changed resolution from ` to
worksforme`
@{"email"=>"henrik@levkowetz.com", "name"=>nil, "username"=>nil} commented
Mmm. I don't see anything I need to change in xml2rfc here. Please re-open if that's not right.
component_Version_3_cli_txt
resolution_worksforme
type_defect
| by miek@miek.nlSeems to be, by far the best way to type set a caption.
Now I need to generated a paragraph after the figure, that seems strange. Esp because the content AST I'm parsing has the caption as a child of the figure.
(not per se a rendering issue - or maybe haven't tried it because of this problem)
Issue migrated from trac:355 at 2021-10-20 18:27:20 +0500