Re: Trouble trying to get DocInfo to work...
Posted by
mojavelinux on
URL: https://discuss.asciidoctor.org/Trouble-trying-to-get-DocInfo-to-work-tp8239p8243.html
On Fri, Sep 11, 2020 at 7:26 PM steveg [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
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
--