Search found 466 matches

by Dan
Tue Oct 27, 2020 3:50 pm
Forum: Common Problems
Topic: Chapter title numbering, counting sections from zero in a specific chapter
Replies: 5
Views: 1009

Re: Chapter title numbering, counting sections from zero in a specific chapter

Hello Manohar,

Could you please send your current customization CSS and a small sample using the form https://www.oxygenxml.com/techSupport.html?
What oXygen are you using right now?

Many regards,
Dan
by Dan
Mon Oct 12, 2020 1:46 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Generation of Table of contents and index page
Replies: 11
Views: 1682

Re: Generation of Table of contents and index page

No, unfortunately the index must be placed in either frontmatter or backmatter, and those elements cannot be placed between chapters. I understand the first chapter plays a special role, is a kind of abstract. Why not placing in in the frontmatter, as an abstract? If you need more information about ...
by Dan
Mon Oct 12, 2020 12:43 pm
Forum: Common Problems
Topic: Automatically keeping introduction paragraphs with their content
Replies: 2
Views: 344

Re: Automatically keeping introduction paragraphs with their content

Hello Chris, Thank you for sharing your code! So, whenever you have a paragraph that contains punctuation like column or comma, the next content (like images, or other content that may follow it) is kept on the same page with the paragraph. Is a nice example on how powerful is a combination of XSL a...
by Dan
Wed Oct 07, 2020 8:57 am
Forum: Feature Request
Topic: Using a more recent PDF version for PDF production
Replies: 13
Views: 1073

Re: Using a more recent PDF version for PDF production

We will look into this, thank you for letting us know.
Dan
by Dan
Tue Sep 29, 2020 9:17 am
Forum: Common Problems
Topic: DITA-OT HTML5 processing in PDF Chemistry
Replies: 6
Views: 885

Re: DITA-OT HTML5 processing in PDF Chemistry

Such a complex situation... Glad you work it out!
by Dan
Thu Sep 24, 2020 12:53 pm
Forum: Common Problems
Topic: DITA-OT HTML5 processing in PDF Chemistry
Replies: 6
Views: 885

Re: DITA-OT HTML5 processing in PDF Chemistry

I am not sure why this happens. You can try debugging the XSLT transformation with oXygen - it is a bit complicated to setup this, but here is how it may be done: The file you need to debug is: DITA-OT/plugins/com.oxygenxml.pdf.css/xsl/merged2merged/merged.xsl First, make a DITA transformation with ...
by Dan
Thu Sep 24, 2020 11:52 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Failed to run pipline
Replies: 3
Views: 307

Re: Failed to run pipline

I am glad it worked! There are some ideas about updating specializations here: https://www.oxygenxml.com/dita/1.3/specs/non-normative/migration-to-new-version.html If you need a DITA professional advice for this, please direct your questions to the dita-user mailing list. If you have other questions...
by Dan
Mon Sep 21, 2020 12:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Failed to run pipline
Replies: 3
Views: 307

Re: Failed to run pipline

Hello, We implemented a restriction in the catalog resolver to avoid security issues like the transformation process reading files unrelated to the transformation. This is useful when you are using a DITA-OT in a context where the content may come from outside organization contributors. You can disa...
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: 1445

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: 5
Views: 1009

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: 615

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: 5
Views: 1009

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: 1226

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: 538

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: 316

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: 1262

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: 339

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: 339

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: 1262

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: 612

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: 418

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: 304

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: 920

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: 920

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: 524

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: 1135

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: 524

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: 406

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: 834

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: 486

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...