Search found 36 matches

by reinierk
Wed Mar 14, 2012 2:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to generate a page break
Replies: 2
Views: 7675

Re: How to generate a page break

I solved it by modifing the <xsl:template match="*" mode="processTopicTitle"> This works on the presumption that if a topic is that important to appear on a separate page, it has a title element. If the outputclass attribute contains the string "osa/page-break" on such ...
by reinierk
Tue Mar 13, 2012 8:21 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to generate a page break
Replies: 2
Views: 7675

How to generate a page break

I write a book with chapters containing DITA/concepts. At the end of the Chapter I present some examples using DITA/tasks. I would like to have a page break before the first task so it it appears on a new page. How to achieve this? I do not want to start a new chapter for the examples; they are part...
by reinierk
Thu Feb 23, 2012 3:09 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to set PDF metadata from DITA Bookmeta?
Replies: 14
Views: 9257

Re: How to set PDF metadata from DITA Bookmeta?

Thanks for the xpath expression. Even easier is: <xsl:value-of select="//*[contains(@class,' bookmap/publisherinformation ')]"/> This is what I ended up with: <x:xmpmeta> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about=""> <!...
by reinierk
Wed Feb 22, 2012 4:00 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to set PDF metadata from DITA Bookmeta?
Replies: 14
Views: 9257

Re: How to set PDF metadata from DITA Bookmeta?

Sorry to bother you again... This indeed does work without overwriting the original stuff. But now I struggle to actually INSERT bookmap/mainbooktitle and others. When I use: <d:title> <xsl:apply-templates select="*[contains(@class,' bookmap/mainbooktitle ')]"/> </dc:title> nothing gets in...
by reinierk
Wed Feb 22, 2012 12:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to set PDF metadata from DITA Bookmeta?
Replies: 14
Views: 9257

Re: How to set PDF metadata from DITA Bookmeta?

Thanks Radu for this reply! You propose to edit the XML OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/root-processing.xsl. But this involves changing the supplied files. How can I do this using the Customization feature? Should I copy the whole "rootTemplate" to ${customdir}/fo...
by reinierk
Tue Feb 21, 2012 10:51 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to set PDF metadata from DITA Bookmeta?
Replies: 14
Views: 9257

How to set PDF metadata from DITA Bookmeta?

When I generate PDF no PDF metadata is copied form the bookmeta block of the source. The Apache FOP page states this should be possible using a declaration as follows <fo:declarations> <x:xmpmeta xmlns:x="adobe:ns:meta/"> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#...