Hi Alex

Vilsa wrote:
Hello everyone,

I am generating a user manual with the help of asciidoc. I generate a
pdf by creating a docbook file and then converting this to pdf with
the help of a2x and docbook. The type of my document is 'article'.

Know I want to put some licence and copyright information (More than
20 lines) between the title page and the TOC, but I do not see how to
do this. I do not really know if this is a asciidoc or more a dblatex
problem.

Any idea?

Define the 'docinfo' attribute and include a *-docinfo.xml document. See section '5.2.1. Additional document header information' in the User Guide:

http://www.methods.co.nz/asciidoc/userguide.html#X95

AsciiDoc ships with an example docinfo file, article-docinfo.xml:

http://code.google.com/p/asciidoc/source/browse/doc/article-docinfo.xml

You would need to add a <legalnotice> element for multi-paragraph license info 
e.g.

<legalnotice>
  <simpara>
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.
  </simpara>
  <simpara>
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
  </simpara>
  <simpara>
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  </simpara>
</legalnotice>

Then generate your PDF with e.g.

a2x -a docinfo mydoc.txt


Cheers, Stuart



Cheers

Alex


--
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.

Reply via email to