Search found 6 matches

by asurkau
Wed Jul 11, 2018 7:20 pm
Forum: XSLT and FOP
Topic: Set value for DoutputFile.base dynamically
Replies: 1
Views: 1873

Set value for DoutputFile.base dynamically

Hi, we are using DITA-OT 2.5.4 to create PDF files using a customised version of the PDF2 transformation, which works well. We are using version control and have automated the transformation for all our documentation so that they are built whenever a file has been updated in the repository. Our DITA...
by asurkau
Fri May 11, 2018 5:01 pm
Forum: Common Problems
Topic: Getting a wide table to print in landscape
Replies: 16
Views: 14469

Re: Getting a wide table to print in landscape

I'm using the method decribed in my post yesterday (add @orient="lang" to <table> tag) to render large tables in landscape in an otherwise portrait document and have run into the following issue: A large table (i.e. a table with many rows) does not break across pages when this attribute is...
by asurkau
Wed May 09, 2018 4:46 pm
Forum: Common Problems
Topic: Getting a wide table to print in landscape
Replies: 16
Views: 14469

Re: Getting a wide table to print in landscape

With Dita OT 2.5.4 (this is the toolkit version I'm currently using) you can create a landscape table OOTB by adding orient="land" to the table tag; you don't need to change anything in your plugin. This will put the table on a new page and rotate it by 90 degrees; the rest of the document...
by asurkau
Mon Sep 04, 2017 6:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: codeblock line numbers
Replies: 2
Views: 1876

Re: codeblock line numbers

Hi, it is now possible to add line numbers in code blocks. DITA OT 2.3.3 and higher has the following code in pr-domain.xsl - <xsl:variable name="codeblock.wrap" select="true()"/> <xsl:template match="node()" mode="codeblock.generate-line-number" as="xs:b...
by asurkau
Fri May 26, 2017 6:35 pm
Forum: XSLT and FOP
Topic: DITA->PDF transform; how to remove title page and TOC
Replies: 2
Views: 4002

Re: DITA->PDF transform; how to remove title page and TOC

If your PDF plugin is based on DITA OT 2.x, it is quite easy to remove either the title page or the TOC. Add the following variables to basic-settings.xsl and set to true or false , as required: <xsl:variable name="generate-front-cover" select="false()"/> <xsl:variable name="...
by asurkau
Mon Mar 06, 2017 5:49 pm
Forum: XSLT and FOP
Topic: prevent page break between topic title and topic content
Replies: 1
Views: 2686

prevent page break between topic title and topic content

Hi, in my PDF transformation I want to keep the topic title with the topic content, and not have the transformation insert a page break between them when the topic title would be rendered at the bottom of a page, but put the title at the top of the next page, together with the content. I created a c...