Dear Hussein,
Thank you for your prompt answer. It is a ditamap, and I can't locate
anything like backmatter in this. If I simply add a last page in the
ditamap with Information, the Index, which is created as backmatter will
be the last page(s).
So it must be the hard way around XSLT. Any hints on where to start - or
is it outside the scope of your help?
Best regards,
Claus
Den 12-12-2013 14:55, Hussein Shafie skrev:
On 12/12/2013 02:22 PM, Claus Poulsen wrote:
I may have confused myself on this, so the answer may be obvious. But is
it possible to do an automatic last page on a PDF - I create 6 different
PDFs based on DITA, and I would like the very last page (back cover) of
each to be the exact same, a last page with company information and
contact etc. Is that possible?
May be I don't understand the problem because the answer to your
questions seems obvious to me.
1) Create a topic containing your company information. Let's call this
topic company_info.dita.
2) You generate 6 different PDFs. This probably mean that you have 6 6
different DITA maps.
You must reference topic company_info.dita in your 6 DITA maps. If you
use bookmaps, may be adding a notices element to your backmatter
element would be a good idea:
<backmatter>
<notices href="notices.dita" navtitle="Legal notices"/>
<booklists>
<!-- Index or other lists -->
</booklists>
<notices href="company_info.dita"/>
</backmatter>
See http://docs.oasis-open.org/dita/v1.2/os/spec/langref/notices.html
Now if you want the last page with company information, contact, etc,
to be *automatically* *generated*, like say, the titlepage is, then
the answer is no, this is not possible without modifying the XSLT
stylesheets.
--
Claus Poulsen
Cand.scient.bibl. (MLISc)
Elsevier
Niels Jernes Vej 10,
9220 Aalborg Øst,
Denmark
E-mail: [email protected] <mailto:[email protected]>
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support