Search found 501 matches

by Dan
Thu Apr 20, 2023 11:02 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add topic file path to footer in PDF > CSS
Replies: 2
Views: 429

Re: Add topic file path to footer in PDF > CSS

Not quite easy, but possible: 1. If you do not have yet a publishing template in place, you can start by creating a publishing template stub, that you will use in your transformation scenario. For this, go to the https://styles.oxygenxml.com and press the 'Download' buton. Save the 'styles.zip' arch...
by Dan
Wed Aug 03, 2022 9:12 am
Forum: Common Problems
Topic: One Item Bolded Bolds Entire Paragraph
Replies: 5
Views: 1549

Re: One Item Bolded Bolds Entire Paragraph

Hello Pat,
We plan to release v 25 this autumn. Until then you will have to use the font file referred from the CSS. Let us know if you encounter other problems.
Best regards,
Dan
by Dan
Tue Aug 02, 2022 12:00 pm
Forum: Common Problems
Topic: One Item Bolded Bolds Entire Paragraph
Replies: 5
Views: 1549

Re: One Item Bolded Bolds Entire Paragraph

Hello Pat,
We fixed the issue! If you need we can provide a nightly build, in case you did not applied the workaround.
May regards,
Dan
by Dan
Mon Aug 01, 2022 5:21 pm
Forum: Common Problems
Topic: Custom Footnotes Issue
Replies: 5
Views: 1550

Re: Custom Footnotes Issue

I posted a solution on the original thread: post66834.html#p66834.
Many regards,
Dan
by Dan
Mon Aug 01, 2022 5:20 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Footnotes Related to Tables in PDF Documents
Replies: 22
Views: 3730

Re: Footnotes Related to Tables in PDF Documents

Hello Pat, I changed the stylesheet to: 1. Preserve the original ID on the LI generated for a footnote, so that the XREFs that point to the footnote still work. 2. Remove the footnotes with ID once they are copied as LIs in OLs. This avoids getting them in the footer of the page. 3. Replace footnote...
by Dan
Mon Aug 01, 2022 3:32 pm
Forum: Common Problems
Topic: Custom Footnotes Issue
Replies: 5
Views: 1550

Re: Custom Footnotes Issue

We are examining the current XSL and CSS, it looks that there is a mix of footnote calls remaining from the old footnote system, different from the list of the footnotes collected in the ordered lists. We will come back to you with a suggestion.
by Dan
Wed Jun 22, 2022 9:10 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF/WebHelp CSS formatting of table captions
Replies: 4
Views: 969

Re: PDF/WebHelp CSS formatting of table captions

For PDF I recorded an issue to see how we can control the size or behavior of the caption relative to the table. Testing with the integrated tool from https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption I see that the browser is wrapping the caption relative to the grid size, but we wi...
by Dan
Tue Jun 21, 2022 10:57 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: OxygenPDF: publishing endnotes
Replies: 1
Views: 560

Re: OxygenPDF: publishing endnotes

A solution to a similar problem was explained by Ozana here: https://www.oxygenxml.com/forum/post54275.html The idea is to define an <ol> element for the entire bibliography, with an <li> for each of the items, in a bibliography topic. This topic can be linked in the map by a key definition: <map> <...
by Dan
Tue Jun 21, 2022 9:16 am
Forum: Common Problems
Topic: Files returned by pdf-css-html5 transformation
Replies: 3
Views: 1899

Re: Files returned by pdf-css-html5 transformation

Hello, Just copying one of the plugins in not enough, there are many other dependencies (like the PDF processor library files). We recommend downloading the Oxygen Publishing Engine (which comprises of a DITA-OT plus the entire set of Oxygen publishing plugins) and using it as an external DITA-OT fr...
by Dan
Mon Oct 18, 2021 11:50 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA to PDF Using HTML5 and CSS: Changing Size of Chapter/Section Headings
Replies: 4
Views: 1352

Re: DITA to PDF Using HTML5 and CSS: Changing Size of Chapter/Section Headings

Let me explain a bit: In the PDF transformation the DITA topics are joined together in a big map. In this file we still have DITA elements, but with class attributes expanded and all references resolved. Next, this is transformed to HTML5. Now we have HTML elements but preserving the original DITA c...
by Dan
Tue Oct 12, 2021 2:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA to PDF Using HTML5 and CSS: Changing Size of Chapter/Section Headings
Replies: 4
Views: 1352

Re: DITA to PDF Using HTML5 and CSS: Changing Size of Chapter/Section Headings

Hi Pat, Generally, you can debug the CSS by using an internet browser, as explained here: https://www.oxygenxml.com/doc/ug-ope/topics/dcpp_debugging_the_css.html#dcpp_debugging_the_css You may use the .merged.html file from the output folder and use the developer tools from the browser to identify c...
by Dan
Tue Oct 12, 2021 9:01 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA to PDF Using HTML5 and CSS: Forced Page Breaks
Replies: 1
Views: 760

Re: DITA to PDF Using HTML5 and CSS: Forced Page Breaks

Hello Pat, Yes, you can fine tune the page breaking as explained here: https://www.oxygenxml.com/doc/versions/topics/dcpp_page_breaking.html#ariaid-title4 If you want to force a page break for a specific topic, mark the topic (or any other element you need to control page breaking for) with an @outp...
by Dan
Mon Oct 11, 2021 4:05 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA to PDF Using HTML5 and CSS: Footnotes
Replies: 4
Views: 1113

Re: DITA to PDF Using HTML5 and CSS: Footnotes

Can you let us know what version of Oxygen are you using?
by Dan
Mon Oct 11, 2021 2:43 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA to PDF Using HTML5 and CSS: Footnotes
Replies: 4
Views: 1113

Re: DITA to PDF Using HTML5 and CSS: Footnotes

It looks like a bug on our side. It can be fixed by hiding the "on page" labels using the following CSS rule:

Code: Select all

*[class~="topic/xref"][type="fn"]:after{
   display:none !important;
}
Let us know if it worked for you.
Many regards,
Dan
by Dan
Mon Oct 11, 2021 2:01 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA to PDF Using HTML5 and CSS: Table Row Breaks
Replies: 1
Views: 900

Re: DITA to PDF Using HTML5 and CSS: Table Row Breaks

There are some examples here: https://www.oxygenxml.com/doc/versions/23.1/ug-pdf-css/ https://www.oxygenxml.com/doc/versions/23.1/ug-pdf-css/topics/dcpp_page_breaking.html#dcpp_page_breaking I will add an example specific to the rows. First of all, the elements from DITA topics are transformed into ...
by Dan
Mon Oct 11, 2021 1:50 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA to PDF Using HTML5 and CSS: Table Cell or Row Shading
Replies: 1
Views: 690

Re: DITA to PDF Using HTML5 and CSS: Table Cell or Row Shading

You can use the nth-child(odd) selector. For example: *[class ~= "topic/tbody"] > *[class ~= "topic/row"]:nth-child(odd){ background-color: #EDEDED; } To selectively set a background color for a row, you can set the DITA outputclass attribute on the element, with a class value th...
by Dan
Thu Aug 19, 2021 11:25 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF-CSS: Creating new CSS counters for new types of figures
Replies: 5
Views: 1388

Re: PDF-CSS: Creating new CSS counters for new types of figures

Yes, you will have to override also the templates that compute the link text. You may find them in this stylesheet: oxygen-publishing-engine-3.x/plugins/com.oxygenxml.pdf.css/xsl/merged2merged/merged-links.xsl Look at those having the mode set to "retrieveReferenceTitle". You may have to c...
by Dan
Thu Jul 15, 2021 1:41 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Title page dates for OOB publishing template
Replies: 4
Views: 1318

Re: Title page dates for OOB publishing template

There are examples in this topic from the documentation, I think they match your use-case: https://www.oxygenxml.com/doc/versions/23.1/ug-pdf-css/topics/dcpp_cover_page.html#ariaid-title6 I changed a bit your example, I used the class selector, not the element selector, and I used instead of a stati...
by Dan
Wed Jul 14, 2021 10:32 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: widow/orphan list items
Replies: 3
Views: 1114

Re: widow/orphan list items

Note that if the list items are very big and they are glued together, their content can bleed out of the page!
by Dan
Wed Jul 14, 2021 10:31 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: widow/orphan list items
Replies: 3
Views: 1114

Re: widow/orphan list items

The widows and orphans properties apply only to lines of text, while a list item may have a large text that wraps on multiple lines. These properties control the number of lines of text (not list items) that move to a new page. Other ways of glueing together list items is to avoid page breaks betwee...
by Dan
Mon Jun 28, 2021 3:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Need to change the footer value as per the parent and child topic attributes
Replies: 2
Views: 929

Re: Need to change the footer value as per the parent and child topic attributes

The template insertBodyOddFooter is called once, from the start of a fo:page-sequence. The content it generates is static across the entire page sequence. <xsl:template name="processTopicPart"> <fo:page-sequence master-reference="body-sequence" xsl:use-attribute-sets="page-s...
by Dan
Thu Mar 18, 2021 10:10 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing com.oxygenxml.pdf.css DITA-OT plugin
Replies: 1
Views: 890

Re: Customizing com.oxygenxml.pdf.css DITA-OT plugin

Hello John, The HTML5 based transformation can be customized using XSLT templates, but is not recommended to do it through a DITA-OT plugin (it would work only if you change the DITA-OT, which for an installed Oxygen editor can be hard), but instead using an Oxygen Publishing Template. Please read m...
by Dan
Mon Mar 01, 2021 12:28 pm
Forum: Common Problems
Topic: Comparing the output from two PDF Chemistry versions
Replies: 3
Views: 3688

Re: Comparing the output from two PDF Chemistry versions

Speaking of notes, we are about to change them in 23.1, I hope they will not break again your customization :). We plan to stabilize the intermediate HTML structure and the default CSS starting from version 24. For our regression tests we use the PDFBox Java library. We actually check differences be...
by Dan
Thu Feb 25, 2021 3:39 pm
Forum: Common Problems
Topic: Comparing the output from two PDF Chemistry versions
Replies: 3
Views: 3688

Re: Comparing the output from two PDF Chemistry versions

Thank you for sharing! For our automated tests we use area tree dumps (XML fragments with all the details: coordinates, shapes, text position), Comparing the images is probably more intuitive.
by Dan
Mon Feb 22, 2021 11:46 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: pdf-css-html5 transformation - external html links trying to be copied
Replies: 1
Views: 910

Re: pdf-css-html5 transformation - external html links trying to be copied

We cannot reproduce this on a standard Oxygen XML Editor installation. From the log I see you are using an Ixiasoft transformation pipeline. I recommend contacting them.

Many regards,
Dan
by Dan
Fri Jan 15, 2021 11:24 am
Forum: Feature Request
Topic: Applying higher compression to PDF files
Replies: 11
Views: 8203

Re: Applying higher compression to PDF files

I recorded an issue about trying to reduce the size of the PDF files. The PDF Box: https://pdfbox.apache.org/ library can handle PDF and can load and resave them with other compression settings, maybe you can try it.
by Dan
Thu Dec 31, 2020 10:52 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA to PDF via CSS image float support
Replies: 10
Views: 2928

Re: DITA to PDF via CSS image float support

Floats are a complex task. We are trying to implement it in the next major version, for the next autumn...
Many regards,
Dan
by Dan
Thu Dec 31, 2020 10:49 am
Forum: XSLT and FOP
Topic: Custom PDF plugin doesn't recognize FIRST and LAST body pages
Replies: 4
Views: 2620

Re: Custom PDF plugin doesn't recognize FIRST and LAST body pages

A hint, I am not an expert in XSL-FO customization, probably this type of questions are better answered on the DITA-OT discussion list (see https://www.dita-ot.org/support) These templates generate static content that is associated to a page sequence. By repeatedly applying find in files (each time ...
by Dan
Tue Dec 29, 2020 11:26 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to display text in section with subsection
Replies: 2
Views: 1241

Re: How to display text in section with subsection

For advanced questions regarding the XSL-FO publishing plugin, please use: https://dita-users.groups.io/g/main

Can you give more details about how the numbering is activated? Do you use a plugin, or a parameter?

Many regards,
Dan