From: Martin Ă…gren Date: Tue, 19 Mar 2019 07:12:54 GMT Subject: Re: [PATCH] asciidoctor-extensions: provide `` Message-ID: In-Reply-To: <20190319033023.GA25772@sigill.intra.peff.net> On Tue, 19 Mar 2019 at 04:30, Jeff King wrote: > > On Mon, Mar 18, 2019 at 10:46:45PM -0400, Jeff King wrote: > > > It does seem like "mansource" is the way asciidoctor expects us to do > > this. Why doesn't it work from the command line? Is it a bug in > > asciidoctor, or is there something more subtle going on? > > > > I think even if it is a bug and gets fixed, though, it still wouldn't > > have the version field (though that seems like something we could > > contribute to asciidoctor). > > I just tried with asciidoc 2.0.0.rc.2, which came out last week. It does > seem to work from the command line: > > $ make USE_ASCIIDOCTOR=Yes \ > ASCIIDOC_DOCBOOK=docbook5 \ > ASCIIDOC='asciidoctor -amansource=Git -amanmanual="Git Manual"' \ > git-add.xml > $ sed -n '/refmeta/,/refmeta/p' git-add.xml > > git-add > 1 > Git > Git Manual > No such luck with asciidoctor 1.5.5. Seems like it really wants "manpage" before it considers these attributes. (That's still me holding the tool, so factor that into it.) Martin