Search found 458 matches

by Dan
Mon Sep 14, 2020 4:27 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Prevent blank pages before chapters in PDF output
Replies: 3
Views: 1319

Re: Prevent blank pages before chapters in PDF output

What PDF transformation are you using, the one based on XSL-FO or HTML5+CSS? For the later, please see the page breaking documentation topic: https://www.oxygenxml.com/doc/versions/ ... e_breaking
by Dan
Tue Sep 08, 2020 9:18 am
Forum: Common Problems
Topic: Chapter title numbering, counting sections from zero in a specific chapter
Replies: 3
Views: 278

Re: Chapter title numbering

For the TOC you should see how the counters toc-section1 and toc-chapter-and-sections are used in the p-numbering-deep.css file (similar to section1 and chapter-and-section counters that are used for titles in the main content). The default numbering CSS file is located in: OXYGEN_INSTALL_DIR/DITApl...
by Dan
Sun Sep 06, 2020 9:39 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Want chapter numbering to continue through bibliolist and glossary
Replies: 7
Views: 423

Re: Want chapter numbering to continue through bibliolist and glossary

Depending on the args.css numbering parameter, one of the CSSs is used: OXYGEN_INSTALL_DIR/DITA-OT3X/plugins/com.oxygenxml.pdf.css/css/print/p-numbering-shallow.css OXYGEN_INSTALL_DIR/DITA-OT3X/plugins/com.oxygenxml.pdf.css/css/print/p-numbering-deep.css Unfortunately, there are lots of CSS selector...
by Dan
Thu Sep 03, 2020 10:01 am
Forum: Common Problems
Topic: Chapter title numbering, counting sections from zero in a specific chapter
Replies: 3
Views: 278

Re: Chapter title numbering

This is a very specific requirement. The solution is to reset the section1 counter to 0 by matching the topic chapter with a specific ID (or outputclass), or the first topic from that chapter. You need to do this in both the TOC and content counters, so you will need an outputclass set on the topicr...
by Dan
Fri Aug 28, 2020 9:53 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add image (company logo) in header section, while creating custom.css
Replies: 5
Views: 1047

Re: Add image (company logo) in header section, while creating custom.css

I see from the image properties screenshot that the image is a perfect square, while in the CSS you are using slightly different values for the width and for the height. To get perfect alignment of graphical elements in the page, we recommend using a single background image for the entire page, as i...
by Dan
Fri Jul 03, 2020 2:42 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom transformation parameters for css (background image for the title page)
Replies: 5
Views: 370

Re: Custom transformation parameters for css

Please note that the image path should be given as an absolute URI, like: file:/C:/temp/example.svg. It works also with relative paths, but it will solve them relative to the XML location.
by Dan
Mon Jun 29, 2020 10:38 am
Forum: Common Problems
Topic: New URLDecoder Illegal Hex Error
Replies: 2
Views: 229

Re: New URLDecoder Illegal Hex Error

There might be something that has changed in the DITA files (maybe something that is included from multiple maps). This is what you can try: 1. Copy your map and try to remove topic reference from it until this specific error disappears. Try to identify the specific topic that causes the problem. Cr...
by Dan
Thu Jun 04, 2020 8:50 am
Forum: Common Problems
Topic: Conditionalizing PDF output based on a map's @outputclass
Replies: 7
Views: 1062

Re: Conditionalizing PDF output based on a map's @outputclass

Please see: https://www.oxygenxml.com/doc/versions/22.1/ug-chemistry/topics/ch_pdf_output.html#ch_metadata__section_aqz_j2j_wz -oxy-pdf-meta-title It is used to extract the publication title. If this CSS selector matches multiple elements, only the first element in the document order will be used to...
by Dan
Wed Jun 03, 2020 1:07 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Space between the task steps
Replies: 3
Views: 236

Re: Space between the task steps

One easy way to determine what causes the spacing and fix it in the CSS is to use the CSS inspector from the browser. The procedure is explained here: https://www.oxygenxml.com/doc/versions/22.1/ug-ope/topics/dcpp_debugging_the_css.html#dcpp_debugging_the_css If you still have problems please create...
by Dan
Wed Jun 03, 2020 10:45 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Space between the task steps
Replies: 3
Views: 236

Re: Space between task steps

Hi, I cannot reproduce the problem. Please check your customization CSS, maybe you have set a min-height that matches the steps. To test this, please add some text to the first item in the second case, and see what happens when the text wraps on multiple lines. If the space disappears, then probably...
by Dan
Wed Jun 03, 2020 9:16 am
Forum: Common Problems
Topic: Conditionalizing PDF output based on a map's @outputclass
Replies: 7
Views: 1062

Re: Conditionalizing PDF output based on a map's @outputclass

We are not yet supporting the 'unset' CSS identifier. I added an issue, we will try to implement it. Until then, use an oxy_xpath as value for the default selectors: *[class ~= "front-page/front-page-title"] *[class ~= "topic/title"] { -oxy-pdf-meta-title: oxy_xpath(..); } *[class ~= "front-page/fro...
by Dan
Mon May 11, 2020 4:14 pm
Forum: Common Problems
Topic: Glossary content control
Replies: 6
Views: 462

Re: Glossary content control

Hello Duncan, I think the problem comes from the usage of "page-break-before:avoid" property on "glossentry/glossterm" elements. Do you have something like this in your customization CSS? Please note that "glossentry/glossterm" elements are also inheriting the "topic/title" class, so another rule fr...
by Dan
Thu May 07, 2020 12:21 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Paragraphs in table cells in PDF via XSL-FO output
Replies: 1
Views: 339

Re: Paragraphs in table cells in PDF via XSL-FO output

Yes, the DITA-OT has an attribute set defined for the paragraphs and blocks, in the commons-attr.xsl: <!-- paragraph-like blocks --> <xsl:attribute-set name="common.block"> <xsl:attribute name="space-before">0.6em</xsl:attribute> <xsl:attribute name="space-after">0.6em</xsl:attribute> </xsl:attribut...
by Dan
Wed May 06, 2020 10:18 am
Forum: Feature Request
Topic: Placing table footnotes below table
Replies: 1
Views: 202

Re: Placing table footnotes below table

The only area that can display the footnotes is at the end of the page, there is no support for footnotes under the tables.
Many regards,
Dan
by Dan
Mon Apr 06, 2020 8:49 am
Forum: Common Problems
Topic: Numbering single step procedures in task
Replies: 5
Views: 759

Re: Numbering single step procedures in task

I recorded an improvement request for this.

Many regards,
Dan
by Dan
Wed Apr 01, 2020 11:36 am
Forum: Common Problems
Topic: Numbering single step procedures in task
Replies: 5
Views: 759

Re: Numbering single step procedures in task

I checked the DITA-OT stylesheets. Indeed, the steps element that contains a single item is transformed in a structure like: <section> <div class="li step p"> <span class="ph cmd">This is a command</span> </div> </section> This was in fact an improvement request: https://github.com/dita-ot/dita-ot/i...
by Dan
Fri Mar 20, 2020 10:49 am
Forum: XSLT and FOP
Topic: How to include Legal page after cover Page ?
Replies: 3
Views: 371

Re: How to include Legal page after cover Page ?

Hello, I see you are using the classical PDF transformation, based on XSL-FO, and you are trying to change the preface.xsl file from the DITA-OT PDF2 plugin. Here are some hints: - For complex documentation please use a bookmap instead of map. One way is to manually convert your maps to bookmaps, by...
by Dan
Tue Mar 17, 2020 4:33 pm
Forum: Common Problems
Topic: Applying fill color to SVG doesn't work
Replies: 10
Views: 825

Re: Applying fill color to SVG doesn't work

I understand you are using an SVG that is embedded in your document, and you are trying to style it using a CSS customization. We will try to reproduce the problem on our side.

Many regards,
Dan
by Dan
Tue Feb 18, 2020 1:20 pm
Forum: XSLT and FOP
Topic: How to include Legal page after cover Page ?
Replies: 3
Views: 371

Re: How to include Legal page after cover Page ?

If you are using a DITA PDF transformation, you can simply use a bookmap instead of a map, and arrange the topics as you need in the preface element. For an example please see: https://docs.oasis-open.org/dita/v1.2/os/spec/langref/bookmap.html If you are using other transformations please let us kno...
by Dan
Tue Jan 21, 2020 2:42 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Including Prolog content in PDF output
Replies: 4
Views: 326

Re: Including Prolog content in PDF output

Please also read:

https://www.oxygenxml.com/doc/versions/ ... aid-title5

You can extract the desired meta information using oxy_xpath and use it in the cover page, or in synthetic pages.
by Dan
Wed Dec 18, 2019 12:01 pm
Forum: Common Problems
Topic: Landscape page formatting in pdf Chemistry
Replies: 5
Views: 643

Re: Landscape page formatting in pdf Chemistry

Hello, I've reviewed the topic you referenced but couldn't see a fix to avoid the blank space between the topic title and the table. Please send us a sample (PDF and .style.xml file from the output folder) to the support@oxygenxml.com email address. We will try to see the exact situation. To overrid...
by Dan
Tue Dec 17, 2019 4:40 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Picture path error in PDF output
Replies: 5
Views: 380

Re: Picture path error in PDF output

Publishing individual topics is always more tricky because there might be references that are not processed (especially if not having a key context for it). Anyway, with fix.external.refs.com.oxygenxml parameter it should work for simple cases. The other problem you noticed, the direct link to an im...
by Dan
Tue Dec 17, 2019 4:33 pm
Forum: Common Problems
Topic: Stop font load error
Replies: 1
Views: 347

Re: Stop font load error

Hello, This is just a warning, has no effect on the publishing. In any case, there is a chemistry-fop.xconf file (you can try a recursive search in the installation folder) in which you can change the way the system fonts are scanned. You can remove the <auto-detect/> element from it. Be aware that ...
by Dan
Tue Dec 17, 2019 3:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Picture path error in PDF output
Replies: 5
Views: 380

Re: Picture path error in PDF output

I see that the image is outside the folder containing the transformed topic.
Please set the transformation parameter:

Code: Select all

fix.external.refs.com.oxygenxml = true
Many regards,
Dan
by Dan
Mon Dec 16, 2019 3:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Picture path error in PDF output
Replies: 5
Views: 380

Re: Picture path error in PDF output

Can you try transforming using the classic PDF transformation, one based on XSL-FO? Do the images appear in this case? Can you move the image next to the topic, change its reference and give it a try?

Regards,
Dan
by Dan
Fri Dec 13, 2019 4:00 pm
Forum: Common Problems
Topic: Landscape page formatting in pdf Chemistry
Replies: 5
Views: 643

Re: Landscape page formatting in pdf Chemistry

Hello, For landscape tables, please read this topic: https://www.oxygenxml.com/doc/versions/21.1/ug-pdf-css/topics/dcpp_tables.html#ariaid-title3 The other issues may be already fixed on the development stream. In case you want to test the fixes, please write us on support (support@oxygenxml.com) in...
by Dan
Fri Dec 13, 2019 3:55 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to avoid page breaks between some chapters?
Replies: 3
Views: 343

Re: How to avoid page breaks between some chapters?

Yes, the property to change is -oxy-page-group. You should set the value of "auto" to merge the current element with the opened chapter page sequence. *[class ~= "topic/topic"][is-chapter] { /* Each chapter starts a new page sequence, so the :first selector applies to each of them. */ -oxy-page-grou...
by Dan
Mon Dec 09, 2019 2:27 pm
Forum: Common Problems
Topic: using external font files from Windows in PDF Chemistry
Replies: 1
Views: 382

Re: using external font files from Windows in PDF Chemistry

This is a bug. It will be fixed in the next version (22). As a workaround, you can create a "config/fonts" directory in the working directory of the transformation process, and place the fonts there.

Thank you for reporting the problem!
Many regards,
Dan
by Dan
Tue Nov 19, 2019 4:29 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF-CSS issues
Replies: 5
Views: 573

Re: PDF-CSS issues

Ok, I tried with your CSS: 1. You can simply use: *[class ~= "topic/thead"] *[class ~= "topic/entry"] { border:none; } I added at the end of your rules and it worked. For this kind of customizations, please read the documentation: https://www.oxygenxml.com/doc/versions/21.1/ug-pdf-css/topics/dcpp_de...
by Dan
Tue Nov 19, 2019 2:39 pm
Forum: XSLT and FOP
Topic: FOP, Help fo:page-number
Replies: 8
Views: 7459

Re: FOP, Help fo:page-number

For CSS please read:
https://www.oxygenxml.com/doc/versions/ ... aid-title5
Many regards,
Dan