-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
Thanks for your work on pandoc!
On
~/projects/pandoctryout (main*) » pandoc --version me@e15
pandoc 3.6.2
Features: +server +lua
....
given the following docbook file
<?xml version="1.0" encoding="UTF-8"?>
<?asciidoc-toc?>
<?asciidoc-numbered?>
<article xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:lang="en">
<info>
<title>Pandoc bug</title>
</info>
<section xml:id="_pandoc_bug">
<title>Pandoc bug</title>
<orderedlist numeration="loweralpha">
<title>header inside listing</title> // not rendered in any output format!
<listitem>
<simpara>first step</simpara>
</listitem>
</orderedlist>
</section>
</article>
the reader apparently skips the <title>
element within the <orderedlist>
element. .
Example of a pandoc translated markdown (by pandoc -f docbook -t markdown -o pandocbug.md pandocbug.xml
):
# Pandoc bug {#_pandoc_bug}
a. first step
Usecase: asciidoc creates those kind of headers/structure in the docbook output.