Trouble trying to get DocInfo to work...
Posted by
steveg on
URL: https://discuss.asciidoctor.org/Trouble-trying-to-get-DocInfo-to-work-tp8239.html
I am creating a DocBook from my adoc and having trouble getting DocInfo to work. Unless I am mistaken, the DocInfo feature should allow me to insert elements into the <info> tag of the created DocBook.
To test this I have created the following test case (uploaded as files) .
test.adoc - Contains main document
docinfo.xml - Infomation to be included
I am creating the DocBook using the following command (using the ruby Asciidoctor 2.0.10 version running on windows).
asciidoctor --backend docbook --doctype book --out-file .\test.docbook .\test.adoc
The resulting file
test.docbook, does not contain the information from docinfo.xml.
I have tried several variants (private vs shared, header with no footer etc) and have been unable to get this to work. This test case uses
shared-head
Any help would be appreciated.
Cheers
Steve