Hi Lex,

thank you for the explanation, I still don't get it right.

Here's what I did:

I copied the example XML from the docbook spec into a file named 
"mySourceFileBaseName-revhistory.xml".
I executed "a2x -f pdf --attribute revhistory mySourceFileBaseName.txt"

The content of the *-revhistory.xml is not respected, the version string 
from my header is still used.
I don't know what "header IIUC" stands for and how to add the attribute to 
the header.
If I add the line ":revhistory:" as the first line of my document I get an 
xmllint error.

Can you tell what I'm missing or doing wrong?

Thank you in advance!

Andreas Piening

Am Donnerstag, 3. Januar 2013 23:25:17 UTC+1 schrieb Lex Trotman:
>
> On 4 January 2013 03:23, Andreas Piening <[email protected]<javascript:>> 
> wrote: 
> > Hi Lex, 
> > 
> > this solutions is just fine to me. Please can you give me an example or 
> > point me somewhere so that I know how this *-revhistory.xml needs to be 
> > formatted? 
>
> Hi Andreas, 
>
> Its a docbook revhistory element, see your "favourite" docbook spec, 
> eg http://www.docbook.org/tdg/en/html/revhistory.html 
>
> > 
> > Do I need to activate the attribute in the asciidoc sourcefile then, or 
> via 
> > commandline? Can I pass it to a2x -t pdf too, so that I get the 
> revhistory 
> > used by DBLATEX to be rendered in my PDF? 
>
> Well, if it was me I would put it right at the very top of the source 
> file, then you don't have to remember that it is needed on the command 
> line.  Note it *must* be part of the header IIUC. 
>
> Cheers 
> Lex 
>
>
> > 
> > Thank you very much! 
> > 
> > Andreas Piening 
> > 
> > Am Mittwoch, 2. Januar 2013 23:40:23 UTC+1 schrieb Lex Trotman: 
> >> 
> >> On 3 January 2013 06:21, 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! 
> >> 
> >> Hi Andreas, 
> >> 
> >> Asciidoc doesn't support revhistory itself. 
> >> 
> >> The undocumented attribute revisionhistory  (Hint Stuart, at least I 
> >> couldn't find it documented :) will load a docbook file in the 
> >> document directory called <document name>-revhistory.xml containing 
> >> the revhistory entity. 
> >> 
> >> Cheers 
> >> Lex 
>

-- 
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/-/1SdSnGwQbIkJ.
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.

Reply via email to