Hi Andreas,
Here's what we do on the packetfence project (with source reference):
We use the docinfo feature documented here[1]. The asciidoc back-end flag
is documented here[2].
It injects docbook xml from two locations. One for all our documents and
one per document (we use -a docinfo2). As examples here's the global one[3]
and the local one[4].
We use asciidoc binary to convert to docbook and then fop to generate the
PDFs. Here are the commands we run (it is documented here[5]):
$ asciidoc -a docinfo2 -b docbook -d book \
-o docs/docbook/PacketFence_Administration_Guide.docbook \
docs/PacketFence_Administration_Guide.asciidoc
$ fop -c docs/fonts/fop-config.xml \
-xsl docs/docbook/xsl/packetfence-fo.xsl \
-xml docs/docbook/PacketFence_Administration_Guide.docbook \
-pdf docs/PacketFence_Administration_Guide.pdf
I looked for a way to do this in pure asciidoc w/o the docbook xml but I
couldn't find any unfortunately.. I hope these instructions will help you.
[1]: http://www.methods.co.nz/asciidoc/userguide.html#X87
[2]: http://www.methods.co.nz/asciidoc/userguide.html#X88
[3]: https://github.com/inverse-inc/packetfence/blob/stable/docs/docinfo.xml
[4]:
https://github.com/inverse-inc/packetfence/blob/stable/docs/PacketFence_Administration_Guide-docinfo.xml
[5]:
https://github.com/inverse-inc/packetfence/blob/stable/docs/README.asciidoc
On Wed, Jan 2, 2013 at 2:21 PM, Andreas Piening
<[email protected]>wrote:
> Hi asciidoc list,
>
> I use a author and version string in my asciidoc sourcefile which is
> showed up in the revision history table of my DBLATEX created PDF file as
> expected.
>
> I just can't figure out how to add multiple entries into that table. I
> want to track the changed made by different editors in this revision
> history.
>
> Thank you very much!
>
> Andreas
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/asciidoc/-/6xbZSgLwl_EJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/asciidoc?hl=en.
>
--
Olivier Bilodeau <[email protected]>
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.