Skip to content

<title> within <orderedlist> from docbook is skipped #10594

@laborg

Description

@laborg

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions