pandoc / lua-filters

A collection of lua filters for pandoc
MIT License
614 stars 167 forks source link

Request: Support nested titles in docbook reader for orderedlist and itemized elements #253

Closed aireilly closed 2 years ago

aireilly commented 2 years ago

When I try the following conversion, the element gets swallowed by the pandoc conversion. I don't see anything in the output.</p> <p>$ cat docbook.xml</p> <pre><code><orderedlist numeration="arabic"> <title>Procedure</title> <listitem> <simpara>Create something new.</simpara> </listitem> </orderedlist></code></pre> <p>$ pandoc -f docbook docbook.xml -t markdown > out.md</p> <p>$ cat out.md <code>1. Create something new.</code></p> <p>It would be good to render these elements fully.</p> <p>Thanks!</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/tarleb"><img src="https://avatars.githubusercontent.com/u/507994?v=4" />tarleb</a> commented <strong> 2 years ago</strong> </div> <div class="markdown-body"> <p>Sorry, I meant on the pandoc issue tracker (<a href="https://github.com/jgm/pandoc/issues">https://github.com/jgm/pandoc/issues</a>). GitHub doesn't allow to transfer issues across different orgs, could you re-raise the issue there?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/aireilly"><img src="https://avatars.githubusercontent.com/u/74046732?v=4" />aireilly</a> commented <strong> 2 years ago</strong> </div> <div class="markdown-body"> <p><a href="https://github.com/jgm/pandoc/issues/8442">https://github.com/jgm/pandoc/issues/8442</a></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/tarleb"><img src="https://avatars.githubusercontent.com/u/507994?v=4" />tarleb</a> commented <strong> 2 years ago</strong> </div> <div class="markdown-body"> <p>Thanks!</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>