Docbook reader: implement <procedure> (#6442)

A `<procedure>` contains a sequence of `<step>`'s, or `<substeps>`
that themselves contain `<step>`'s.
This commit is contained in:
Mathieu Boespflug
2020-06-14 10:45:52 -07:00
committed by GitHub
parent 89bbe76ace
commit bbf04df900
3 changed files with 36 additions and 5 deletions
+24
View File
@@ -1563,5 +1563,29 @@ or here: &lt;http://example.com/&gt;
</tbody>
</tgroup>
</informaltable>
<procedure><title>An Example Procedure</title>
<step>
<para>
A Step
</para>
</step>
<step>
<para>
Another Step
</para>
<substeps>
<step>
<para>
Substeps can be nested indefinitely deep.
</para>
</step>
</substeps>
</step>
<step>
<para>
A Final Step
</para>
</step>
</procedure>
</sect1>
</article>
+6 -1
View File
@@ -575,4 +575,9 @@ Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "John",Sof
,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
[Plain [Str "Here's",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."]]]])]
(TableFoot ("",[],[])
[])]
[])
,BulletList
[[Para [Str "A",Space,Str "Step"]]
,[Para [Str "Another",Space,Str "Step"]
,Para [Str "Substeps",Space,Str "can",Space,Str "be",Space,Str "nested",Space,Str "indefinitely",Space,Str "deep."]]
,[Para [Str "A",Space,Str "Final",Space,Str "Step"]]]]