Search found 39 matches

by andrei_pomacu
Thu Mar 14, 2024 11:43 am
Forum: Common Problems
Topic: DITA-OT PDF Numbers before topic title
Replies: 1
Views: 516

Re: DITA-OT PDF Numbers before topic title

Hi, I tested in Oxygen 26.0 build 2024012406 and it worked. Here are the steps that were successful in my endeavor: Downloaded the plugin from GitHub repository. Unzip it. Copied the plugin in ./Oxygen XML Editor 26\frameworks\dita\DITA-OT\plugins . Opened the Configure Transformation Scenario and r...
by andrei_pomacu
Thu Jan 25, 2024 3:45 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Problem with numbering of appendices
Replies: 4
Views: 466

Re: Problem with numbering of appendices

Hi, To reset the appendix chapter number, please add the following CSS customization rule: *[class ~= "topic/topic"][topicrefclass ~= "bookmap/part"] + *[topicrefclass ~= "bookmap/appendix"], *[class ~= "topic/topic"][topicrefclass ~= "bookmap/chapter&quo...
by andrei_pomacu
Thu Jan 25, 2024 12:35 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Problem with numbering of appendices
Replies: 4
Views: 466

Re: Problem with numbering of appendices

Hi, I tested in Oxygen version 25.1, and the only problem that I found was that in the TOC, the counter for the Appendix is reset. To resolve this issue, you can add the following CSS customization rule: *[class ~= "map/map"][numbering ^= 'deep'] *[class ~= "bookmap/chapter"] + *...
by andrei_pomacu
Wed Jan 03, 2024 1:55 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Table header background overlaps border when rounded
Replies: 2
Views: 551

Re: Table header background overlaps border when rounded

Hi, Happy new year! You need to define a border and a border radius to round the the first and the last cell of the thead. Here's a handy CSS snippet: *[class ~= "topic/thead"] > *[class ~= "topic/row"] > *[class ~= "topic/entry"]:first-child{ border-top-left-radius: 4p...
by andrei_pomacu
Thu Nov 23, 2023 5:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF Output Rendering Issues: Table and Note Spanning Across Pages
Replies: 9
Views: 850

Re: PDF Output Rendering Issues: Table and Note Spanning Across Pages

Hi, Could you please send the CSS files with your customizations and a portion of your documentation files to our email support (support@oxygenxml.com)? I would like to debug the issue you are facing. If your DITA documents contain some sensitive content, you can randomize it by using Oxygen's Help ...
by andrei_pomacu
Mon Nov 20, 2023 11:54 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF Output Rendering Issues: Table and Note Spanning Across Pages
Replies: 9
Views: 850

Re: PDF Output Rendering Issues: Table and Note Spanning Across Pages

Hi again, I manage to reproduce the problem if I remove the table header. Please remove from the CSS rules that I have you :has(*[class~="topic/entry"][rowspan]) . In order to avoid the page-break in tables the CSS rule should look like this: *[class~="topic/row"]{ page-break-bef...
by andrei_pomacu
Mon Nov 20, 2023 10:39 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF Output Rendering Issues: Table and Note Spanning Across Pages
Replies: 9
Views: 850

Re: PDF Output Rendering Issues: Table and Note Spanning Across Pages

Hi,
Could you please inform me which version of the Oxygen software you are currently using and reproduce the problem?
Regards,
Andrei
by andrei_pomacu
Thu Nov 16, 2023 3:45 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF Output Rendering Issues: Table and Note Spanning Across Pages
Replies: 9
Views: 850

Re: PDF Output Rendering Issues: Table and Note Spanning Across Pages

Hi, For tables and notes span problem you can use these CSS rules: /* Note span */ [class~="topic/note"]{ page-break-inside:avoid; } /* Tables span */ *[class~="topic/row"]:has(*[class~="topic/entry"][rowspan]){ page-break-before: avoid; page-break-after: avoid; } Regar...
by andrei_pomacu
Wed Oct 25, 2023 9:15 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: how to limit the toc depth to 2 (css-based PDF)
Replies: 4
Views: 391

Re: how to limit the toc depth to 2 (css-based PDF)

Hi,

Could you sent me your CSS customization file on our support email, support@oxygenxml.com ?
I will to try to debug it in order to see why the rule that I gave you is not working.

Regards,
Andrei
by andrei_pomacu
Tue Oct 24, 2023 12:24 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: how to limit the toc depth to 2 (css-based PDF)
Replies: 4
Views: 391

Re: how to limit the toc depth to 2 (css-based PDF)

Hi, In order to have shallow numbering and in TOC be displayed level 1 and level 2, use this CSS rule which i have created using CSS debugging topic . I was looking to the elements which need to be hide, level 3 and below and saw that the class on that element is "map/topicref" . The I was...
by andrei_pomacu
Mon Oct 16, 2023 10:55 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: "getContentAreaBPD called on unknown BPD" error while generating PDF in Oxygen XML
Replies: 3
Views: 447

Re: "getContentAreaBPD called on unknown BPD" error while generating PDF in Oxygen XML

Hi,

No, you can solve this problem by updating from 25.0 version to 25.1.
If you have a valid 25.0 license you can update to 25.1 freely.

Regards,
Andrei
by andrei_pomacu
Fri Oct 13, 2023 9:15 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: "getContentAreaBPD called on unknown BPD" error while generating PDF in Oxygen XML
Replies: 3
Views: 447

Re: "getContentAreaBPD called on unknown BPD" error while generating PDF in Oxygen XML

Hi,

It's a false positive, meaning it doesn't actually indicate a problem with your PDF creation.
You can update your Oxygen Version from 25.0 to 25.1 where It was removed from console.

Regards,
Andrei
by andrei_pomacu
Tue Oct 10, 2023 10:24 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Problems with custom CSS image borders for PDF HTML5&CSS output
Replies: 6
Views: 610

Re: Problems with custom CSS image borders for PDF HTML5&CSS output

Hi,

This problem could occur because you have placement=break on your images.
Please, remove this attribute from your images. It should not change the position of your figures in the documentation.

Regards,
Andrei
by andrei_pomacu
Mon Oct 09, 2023 3:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Problems with custom CSS image borders for PDF HTML5&CSS output
Replies: 6
Views: 610

Re: Problems with custom CSS image borders for PDF HTML5&CSS output

Hi,

The problem is that the image if is placed in a figure element, will inherit line-height from other elements.
If you set the line-height to 0 it should work.

Code: Select all

*[class ~= "topic/image"] {
  border: 1px black solid;
  line-height: 0;
  font-size: 0;
}
Regards,
Andrei
by andrei_pomacu
Mon Oct 09, 2023 10:04 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Problems with custom CSS image borders for PDF HTML5&CSS output
Replies: 6
Views: 610

Re: Problems with custom CSS image borders for PDF HTML5&CSS output

Hi,
I could not reproduce your problem using Oxygen 25.1, in Windows.
Could you tell me which Oxygen version are you using?
Regards,
Andrei
by andrei_pomacu
Wed Sep 13, 2023 2:50 pm
Forum: Common Problems
Topic: Is there any way to output pdf - with only highlights, without comments?
Replies: 6
Views: 805

Re: Is there any way to output pdf - with only highlights, without comments?

Hi Dan, In /out/pdf-css-html5/your_publication.merged.html file you can see which CSS rules add the elements that you need to hide. Here is a post explaining how to debug the CSS . You need to keep only the highlights without the comments. The elements that adds the comments in the publication are ....
by andrei_pomacu
Tue Sep 05, 2023 10:39 am
Forum: Common Problems
Topic: Reusable footnotes
Replies: 4
Views: 623

Re: Reusable footnotes

Hi,
This parameter was added in 25.1 version of Oxygen.
What version of Oxygen are you using?

Regards,
Andrei
by andrei_pomacu
Fri Sep 01, 2023 10:50 am
Forum: Common Problems
Topic: Reusable footnotes
Replies: 4
Views: 623

Re: Reusable footnotes

Hi,

You could use args.css.param.clone-referenced-footnotes=yes. If set to yes, footnotes that are referenced multiple times throughout a publication are cloned and placed at the bottom of the page for each occurrence.

Regards,
Andrei
by andrei_pomacu
Wed Aug 23, 2023 12:43 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: watermark a pdf transform
Replies: 6
Views: 651

Re: watermark a pdf transform

Hi, You could pass a string as a watermark path using a custom parameter. Firstly, you need to create a new parameter with args.css.param as prefix, your parameter could look like this args.css.param.watermark and have as values the path towards an image file. To create a parameter in Oxygen you nee...
by andrei_pomacu
Fri Jul 28, 2023 11:55 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: line spacing between lists and other elements
Replies: 1
Views: 324

Re: line spacing between lists and other elements

Hi, You can debug the CSS in order to see which rule you need to override to decrease the distance between the elements what you presented. To debug the CSS you need to open the HTML file from the "out\pdf-css-html5" in browser. Select the element that has the problem, in your case the key...
by andrei_pomacu
Tue Jul 04, 2023 11:28 am
Forum: Common Problems
Topic: Styling SVG fonts for a PDF using CSS
Replies: 3
Views: 1480

Re: Styling SVG fonts for a PDF using CSS

Hi, In Chemsitry exists a parameter called use.css.for.embedded.svg which on default is set on yes . In your CSS you just need to match that tag element and use font-family rule to change the font. text { font-family: Arial, sans-serif; } If the font-family rule does not apply directly of the elemen...
by andrei_pomacu
Mon Apr 10, 2023 10:34 am
Forum: Common Problems
Topic: Keep color highlights in the output pdf file - how?
Replies: 2
Views: 529

Re: Keep color highlights in the output pdf file - how?

Hi, Firstly, try to use your transformation customization on a sample file from oxygen where you add highlights. See if the problem occurs. If the transformation is working maybe you have not closed one of your oxy_highlight tags. The tag should look something like this: <?oxy_custom_start type=&quo...
by andrei_pomacu
Wed Apr 05, 2023 10:34 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: New Chemistry error
Replies: 3
Views: 526

Re: New Chemistry error

Hi,
This warning could occur because of some property in your CSS customization that is missing an ending quote.
*{
property: 'value ';
}

*{
property: url("topbanner.png")
}

Regards,
Andrei
by andrei_pomacu
Thu Feb 09, 2023 1:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom Note Formats in PDF via HTML/CSS
Replies: 8
Views: 1202

Re: Custom Note Formats in PDF via HTML/CSS

Hi, In order to remove the first line you need to hide the child of the note node which contains the title. *[class~="topic/note"][type="danger"] { background-color: rgba(255, 0, 0, 0.3); border-color: #FF0000; } *[class~="topic/note"][type="danger"]> *[class~...
by andrei_pomacu
Thu Feb 09, 2023 1:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Page Wide Table
Replies: 2
Views: 459

Re: Page Wide Table

Hi, In your custom css for wide tables you could use negative values in order to bleed towards their parents indentation. Let's say that you have 2 unordered lists <ul> <li> <ul> <li> <table outputclass="pgwide"> <tgroup cols=""> <tbody> <row> <entry></entry> </row> </tbody> </tg...
by andrei_pomacu
Thu Feb 09, 2023 11:24 am
Forum: Common Problems
Topic: How to keep highlighting for text in tables (in the exported pdf) ?
Replies: 1
Views: 446

Re: How to keep highlighting for text in tables (in the exported pdf) ?

Hi Dan, I could not reproduce your problem. For this to work I have used the highlight button from Author mode and marked all the text that I wanted to be highlighted both in text and in the table. highlight.png Could you send me more information about your problem such as: How the structure where t...
by andrei_pomacu
Wed Jan 25, 2023 11:14 am
Forum: Common Problems
Topic: Customize font style
Replies: 3
Views: 687

Re: Customize font style

Hi,
Since you have code fragments in your document you could use <codeblock> instead of <msgph>. It will separate your code fragments from your simple text, and also will add text decoration on your key elements from code.
You could read more about codeblock here.
Regards,
Andrei
by andrei_pomacu
Tue Dec 13, 2022 11:25 am
Forum: Common Problems
Topic: Tables bigger than page size
Replies: 1
Views: 526

Re: Tables bigger than page size

Hi, If you want to select some tables that needs to be resize you should add an outputclass on each table to be identified in the CSS. Example: outputclass = "fixed-width-table" In the CSS you can change the width of the table and also you need to break the words in order to fit in a shrin...
by andrei_pomacu
Mon Dec 05, 2022 1:48 pm
Forum: Common Problems
Topic: Moving the table to the center of the page
Replies: 2
Views: 596

Re: Moving the table to the center of the page

Hello, If you are using PDF&CSS Transformation you could easily add new CSS rule which will align your table in the middle of the page. Add on your table an outputclass to be easily identified in the CSS file . outputclass="fixed-table-center" Create a CSS file with this code inside: *...
by andrei_pomacu
Thu Nov 17, 2022 4:55 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Continuing a list
Replies: 1
Views: 668

Re: Continuing a list

Hi, In the topic, on the ordered list that you want to continue you need to add an outputclass attribute with a specific value. Here is an example: <ol> <li>elem1</li> <li>elem2</li> </ol> <p>P1</p> <p>P2</p> <ol outputclass="continued-ol"> <li>elem3</li> <li>elem4</li> </ol> In order to o...