Your message dated Thu, 12 Oct 2017 14:39:28 -0500 with message-id <[email protected]> and subject line Re: pandoc: Include doctype header in generated docbook output? has caused the Debian Bug report #867664, regarding pandoc: Include doctype header in generated docbook output? to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 867664: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867664 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: pandoc Version: 1.12.4.2~dfsg-1 The DocBook output generated by pandoc is missing the XML header documenting the format. Is there a reason for this? Instead of getting this result, % printf "header\n===\n\nbody\n"|pandoc -o - -t docbook - <sect1 id="header"> <title>header</title> <para> body </para> </sect1> % I suggest to return something like this: % printf "header\n===\n\nbody\n"|pandoc -o - -t docbook - <?xml version="1.0" encoding='UTF-8' ?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> <sect1 id="header"> <title>header</title> <para> body </para> </sect1> % This allow XML validators to check the content. -- Happy hacking Petter Reinholdtsen
--- End Message ---
--- Begin Message ---severity 867664 wishlist tags 867664 + wontfix thanks Hi, Pandoc's manpage hints to the same information as what Jonas suggests. Petter, I'm closing this bug, as it is the documented behavior. Feel free to reopen if there is rationale to it! I'm tagging this bug the closest I can find to "this is not a bug", and not setting any version to it, as nothing changed for it to be closed.
--- End Message ---

