Search found 450 matches

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

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

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: 2
Views: 44

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

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

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

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

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

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

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: 8
Views: 389

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

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

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

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

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

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

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

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

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

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

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

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

Re: FOP, Help fo:page-number

For CSS please read:
https://www.oxygenxml.com/doc/versions/ ... aid-title5
Many regards,
Dan
by Dan
Fri Nov 08, 2019 4:56 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF-CSS issues
Replies: 5
Views: 444

Re: PDF-CSS issues

For point 1 could you post a snippet with the exact XML structure of your table? I noticed you have used rowsep and colsep attributes in your CSS.
by Dan
Fri Nov 08, 2019 4:55 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF-CSS issues
Replies: 5
Views: 444

Re: PDF-CSS issues

For point 2, I used just the selector: *[class ~= "front-page/front-page-title"]:after(1) { content: "January 1, 2019"; } And it worked fine. The page is already defined for the front-page, so just use the :after selector. See also: https://www.oxygenxml.com/doc/versions/21.1/ug-pdf-css/topics/dcpp_...
by Dan
Fri Nov 08, 2019 4:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF-CSS issues
Replies: 5
Views: 444

Re: PDF-CSS issues

For the point 3, please take a look at:
https://www.oxygenxml.com/doc/versions/ ... f4_np5_cbb
It explains how to use the :marker pseudo-class.

For the others, I will come back with details.

Many regards,
Dan
by Dan
Tue Nov 05, 2019 2:10 pm
Forum: Common Problems
Topic: getVariable in plugin com.oxygenxml.pdf.css
Replies: 1
Views: 239

Re: getVariable in plugin com.oxygenxml.pdf.css

Hello, This GitHub project is compatible with older DITA-OT versions (1.8 and 2.0) and is not actively maintained by the Oxygen team. Starting with version 21.0 Oxygen bundles DITA-OT 3.x, whith a modified version of this plugin. If you want to publish with DITA-OT 3.x, we can give you access to a c...
by Dan
Fri Nov 01, 2019 3:01 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to change the margins for the Procedure task label?
Replies: 2
Views: 313

Re: How to change the margins for the Procedure task label?

Hello, For debugging your CSS we recommend using the development tools from a browser. (You can open the .merged.html file from the output folder in the browser.) See: https://www.oxygenxml.com/doc/versions/21.1/ug-pdf-css/topics/dcpp_debugging_the_css.html#dcpp_debugging_the_css Please use a select...
by Dan
Fri Nov 01, 2019 2:44 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How can I change monospace elements to sans-serif
Replies: 9
Views: 606

Re: How can I change monospace elements to sans-serif

In case you want to replace all fonts in your publication with a single Sans Serif font, you can increase the importance of your CSS rule: * { font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif !important; } In case you want to change the font for all code sections, you should create rules t...
by Dan
Tue Oct 29, 2019 12:37 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to change the default icon in generated PDF
Replies: 3
Views: 260

Re: How to change the default icon in generated PDF

Hello, Please read about fine tuning your CSS using the browser CSS inspectors: https://www.oxygenxml.com/doc/versions/21.1/ug-pdf-css/topics/dcpp_debugging_the_css.html#dcpp_debugging_the_css The idea is to determine the element or pseudo element that generates the default warning icon, and set it ...
by Dan
Tue Oct 29, 2019 12:34 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to change the default generated text format in PDF
Replies: 2
Views: 204

Re: How to change the default generated text format in PDF

Hello,

I think there is a mistake in your CSS.
I think you need to match both tokens from the CSS class attribute.

Please try:

Code: Select all

*[class ~="sectiontitle"][class ~="tasklabel"] {
    color: blue;
    font-weight:bold;
}
Many regards,
Dan