Search found 395 matches

by Dan
Tue Mar 05, 2019 4:50 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Figures in steps and substeps
Replies: 1
Views: 231

Re: Figures in steps and substeps

Do you mean a background image for the task? Set an outputclass on the tasks you want to have that background and write a CSS rule to match it and set the background to the element. Another way would be to have a special page and associate it to the tasks class. Read about page backgrounds here: htt...
by Dan
Tue Mar 05, 2019 4:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Overflow Wrap in Tables Overriding Hyphenation Rules
Replies: 9
Views: 741

Re: Overflow Wrap in Tables Overriding Hyphenation Rules

Can you send us to support some sample API words that are not hyphenated?

Many regards,
Dan
by Dan
Fri Mar 01, 2019 3:59 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Overflow Wrap in Tables Overriding Hyphenation Rules
Replies: 9
Views: 741

Re: Overflow Wrap in Tables Overriding Hyphenation Rules

I verified the current implementation (from oXygen 21) and it does hyphenation at the case change. Do you use oXygen 20.1? If running with oXygen 21 and you still have problems, please send us using the transformation console log: https://www.oxygenxml.com/techSupport.html You can also download and ...
by Dan
Fri Mar 01, 2019 1:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Overflow Wrap in Tables Overriding Hyphenation Rules
Replies: 9
Views: 741

Re: Overflow Wrap in Tables Overriding Hyphenation Rules

Hello,

Ok. We will send you a download link when we will have the fix ready.

Many regards,
Dan
by Dan
Thu Feb 28, 2019 4:47 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF - CSS (DITA) Transform Creates a Duplicate Blank First Page
Replies: 3
Views: 371

Re: PDF - CSS (DITA) Transform Creates a Duplicate Blank First Page

I think you can safely remove them from your customization.

Many regards,
Dan
by Dan
Thu Feb 28, 2019 12:08 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Overflow Wrap in Tables Overriding Hyphenation Rules
Replies: 9
Views: 741

Re: Overflow Wrap in Tables Overriding Hyphenation Rules

Another idea: If your API names are wrapped in an element, like a codeph, you can set overflow-wrap: break-word; on this element, and leave the parent table with the hyphenation settings.

Many regards,
Dan
by Dan
Thu Feb 28, 2019 12:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Overflow Wrap in Tables Overriding Hyphenation Rules
Replies: 9
Views: 741

Re: Overflow Wrap in Tables Overriding Hyphenation Rules

The problem is that we implemented overflow wrap using hyphenation. Anyway, is not a good idea to mix both of them, as there is no priority defined in the standard. Your situation is like this: - Some of the table cells contain API names, that are long, without dashes or underscores, but having a ca...
by Dan
Tue Feb 26, 2019 1:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Differences in PDF Output Between 20.1 and 21.0
Replies: 2
Views: 349

Re: Differences in PDF Output Between 20.1 and 21.0

Hello Carl, Starting with version 21.0 the DITA publishing respects the DITA specification for the bookmaps. A bookmap will have the frontmatter and backmatter shown in the table of contents, bookmarks tree, etc.. To avoid the frontmatter and backmatter topics being listed in the TOC, you need to se...
by Dan
Fri Dec 28, 2018 10:29 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Glossary term referenced with <abbreviated-form> not appearing in PDF
Replies: 7
Views: 1044

Re: Glossary term referenced with <abbreviated-form> not appearing in PDF

Please open a new post for the WebHelp problems.
Thank you,
Dan
by Dan
Thu Dec 27, 2018 12:46 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Glossary term referenced with <abbreviated-form> not appearing in PDF
Replies: 7
Views: 1044

Re: Glossary term referenced with <abbreviated-form> not appearing in PDF

Hello Rick, This is a known issue that we already solved on the development branch. If you want to beta-test it, we have a nightly build that packages a DITA-OT with our publishing plugins available here: https://mirror.oxygenxml.com/maven-nightly/com/oxygenxml/oxygen-publishing-engine-2.x/21.0-SNAP...
by Dan
Tue Dec 04, 2018 3:13 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Footer on last page pdf with CSS
Replies: 2
Views: 899

Re: Footer on last page pdf with CSS

Hello Benny, Please try the following: First approach (using position:fixed) 1. Group all the footer topics under a single parent topic, under the last topic from your map. For example you can have: ... End topic Footer parent topic Footer content topic 1 Footer content topic 2. 2. Put an outputclas...
by Dan
Tue Dec 04, 2018 1:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-Based PDF, change language of "Note", "Warning", "Caution" etc
Replies: 6
Views: 1296

Re: CSS-Based PDF, change language of "Note", "Warning", "Caution" etc

Hello, Can you give us more details? - the language you are using - what scenario are you using, the one named "DITA Map PDF - based on HTML5 & CSS", or "DITA Map PDF - based on DITA & CSS (WYSIWYG) "? The first one uses the i18n support provided by DITA-OT, and has a good coverage for many language...
by Dan
Thu Nov 29, 2018 1:24 pm
Forum: Common Problems
Topic: Numbering problems
Replies: 10
Views: 1414

Re: Numbering problems

The layout engine figures out how many dots are entering in the leader that links the text to the numbers. The text width of the titles seem to vary a bit and sometimes the dot does not fit. Unfortunately there is no setting to control that..

All the best,
Dan
by Dan
Thu Nov 29, 2018 12:19 pm
Forum: Common Problems
Topic: Numbering problems
Replies: 10
Views: 1414

Re: Numbering problems

To reset the page on the first chapter, please add this to the customization CSS: *[class ~= "map/map"] > *[class ~= "placeholder/toc"] + *[class ~= "topic/topic"][is-chapter]:not([is-part]) { counter-reset: page section1; } So it will reset both the page and the section counters. Let me know if it ...
by Dan
Thu Nov 29, 2018 12:01 pm
Forum: Common Problems
Topic: Numbering problems
Replies: 10
Views: 1414

Re: Numbering problems

I see that the numbering of the chapter starts with 1. Do you refer to the page number of the first chapter?
From your message I understood that you have succeeded in resetting the page, but the sub-sections numbers were wrong (after the fix). Is this correct?
by Dan
Thu Nov 29, 2018 10:36 am
Forum: Common Problems
Topic: Numbering problems
Replies: 10
Views: 1414

Re: Numbering problems

Hello Stanislav, I think a counter-reset used to reset the page on the first chapter has overwritten other counter-reset properties that reset other counters as well. (The counter-reset property can affect multiple counters at once.) If you cannot detect the problem, please send us your CSS using th...
by Dan
Wed Nov 28, 2018 4:11 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA map PDF – based on HTML5 &CSS transformation with xslt extension points
Replies: 8
Views: 1186

Re: DITA map PDF – based on HTML5 &CSS transformation with xslt extension points

My mistake, please add a mode="#current" on the apply-templates: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0"> <xsl:template match="*[contains(@class, ' f...
by Dan
Wed Nov 28, 2018 3:44 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Frontmatter and Backmatter with Chemistry
Replies: 1
Views: 526

Re: Frontmatter and Backmatter with Chemistry

I think you should use the outputclass="before-toc" attribute on the topic refs in the DITA Map that you want them to move before the TOC, plus the @toc="no" for the topics you want excluded from the TOC. Have you tried this?

Many regards,
Dan
by Dan
Tue Nov 27, 2018 12:01 pm
Forum: Feature Request
Topic: CSS to PDF Transform -- Prompt for File
Replies: 6
Views: 1917

Re: CSS to PDF Transform -- Prompt for File

Looking closer in the pugin source, I found an hidden parameter that can be used for the purpose. You should set it manually, as it is not shown in the list of parameters in the transformation scenario dialog: outputFile: ${ask('Enter the full path for the pdf:')} Be aware that oXygen will not open ...
by Dan
Tue Nov 27, 2018 11:03 am
Forum: Feature Request
Topic: CSS to PDF Transform -- Prompt for File
Replies: 6
Views: 1917

Re: CSS to PDF Transform -- Prompt for File

Hello, I checked the plugin. In PDF2 (the DITA-OT default plugin for PDF) there is an args.output.base parameter that lets you specify the name of the file without extension. I added an issue for that, we should add support for this parameter in the CSS to PDF based transformation as well. Many rega...
by Dan
Tue Nov 27, 2018 10:36 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA map PDF – based on HTML5 &CSS transformation with xslt extension points
Replies: 8
Views: 1186

Re: DITA map PDF – based on HTML5 &CSS transformation with xslt extension points

Yes, the "copy" element will simply copy the oxy: element from the merged map to the HTML output. You should replace it by a div or other element: <xsl:template match="*[contains(@class, ' front-page/front-page-title ')]" mode="#all"> <div class="doctype">Datasheet</div> <div> <xsl:copy-of select="@...
by Dan
Mon Nov 26, 2018 4:51 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA map PDF – based on HTML5 &CSS transformation with xslt extension points
Replies: 8
Views: 1186

Re: DITA map PDF – based on HTML5 &CSS transformation with xslt extension points

Let the XSL extend the merged2html5 extesion point. Try adding a mode="#all" on the template. <xsl:template match="*[contains(@class, ' front-page/front-page-title ')]" mode="#all"> <div class="doctype">Datasheet</div> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:apply-templates/> </xsl:copy> </xsl:te...
by Dan
Mon Nov 26, 2018 2:44 pm
Forum: Feature Request
Topic: CSS to PDF Transform -- Prompt for File
Replies: 6
Views: 1917

Re: CSS to PDF Transform -- Prompt for File

Thank you for the details!
We will check if it is possible to change the name of the output file.

Many regards,
Dan
by Dan
Mon Nov 26, 2018 2:43 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA map PDF – based on HTML5 &CSS transformation with xslt extension points
Replies: 8
Views: 1186

Re: DITA map PDF – based on HTML5 &CSS transformation with xslt extension points

The extension should be bound to the last transformation, the merge2html5. it is currenlty bound to merged2merged in your publishing template, so please correct to: <xslt> <extension id="com.oxygenxml.pdf.css.xsl.merged2html5" file="xslt/document-type.xsl"/> </xslt> In this way the XSLT template wil...
by Dan
Fri Nov 23, 2018 1:10 pm
Forum: Feature Request
Topic: CSS to PDF Transform -- Prompt for File
Replies: 6
Views: 1917

Re: CSS to PDF Transform -- Prompt for File

If you need to transform multiple documents (the JIRA output for each product version) to PDF, I recommend creating a script that invokes the DITA-OT multiple times. If you are using an oxygen publishing template to store the customization, you can use the pdf.publishing.template parameter to point ...
by Dan
Fri Nov 16, 2018 12:09 pm
Forum: Common Problems
Topic: Intermittent Lock after Transform to PDF
Replies: 17
Views: 2981

Re: Intermittent Lock after Transform to PDF

Maybe you take a look at the messages from the transformation console (Options/Preferences/DITA/Logging/Console). It might show up that the DITA-OT is processing more resources than expected.

Regards,
Dan
by Dan
Mon Nov 12, 2018 11:12 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-Based PDF - Creating solid color headers
Replies: 1
Views: 580

Re: CSS-Based PDF - Creating solid color headers

Hello, If you set the margins of a page size to zero, the page margin boxes from that side will not be visible. In general, if you want to style the header of the page, we recommend using a background image set on the entire page, as explained here: https://www.oxygenxml.com/doc/versions/20.1/ug-che...
by Dan
Thu Oct 25, 2018 9:06 am
Forum: XSLT and FOP
Topic: Link between SVG image and text in an XML document
Replies: 6
Views: 1308

Re: Link between SVG image and text in an XML document

In theory this should work: .... <!-- Declare the ID as named destination --> <fox:destination internal-destination="circle"/> .... <fo:block color="green"> <fo:basic-link external-destination="#circle"> Go to circle. </fo:basic-link> </fo:block> ... In the SVG you should have: <circle id="circle" ....
by Dan
Wed Oct 24, 2018 5:32 pm
Forum: XSLT and FOP
Topic: Link between SVG image and text in an XML document
Replies: 6
Views: 1308

Re: Link between SVG image and text in an XML document

I have not tested it, but you can easily try the reverse.
In the SVG sample put an ID on the circle, then add an fo:external-link (or internal) in the FO document having the target that ID.

Many regards,
Dan
by Dan
Wed Oct 24, 2018 4:55 pm
Forum: XSLT and FOP
Topic: Link between SVG image and text in an XML document
Replies: 6
Views: 1308

Re: Link between SVG image and text in an XML document

Hello David, I set up an example, but it works with mixed results. Assuming that in the XSL FO you have a block with the id "my_block_id": <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions"> <fo:layout...