Search found 505 matches

by julien_lacour
Thu May 09, 2024 10:54 am
Forum: Common Problems
Topic: An error throwed when generating Webhelp Responsive
Replies: 7
Views: 276

Re: An error throwed when generating Webhelp Responsive

Hello, If you want to transform the chapters separately, you need to have a ditamap for each of them. You can have as many ditamaps as necessary in your structure, for example: Userguide.ditamap Chapter_A.ditamap Chapter_B.ditamap Chapter_C.ditamap etc. Also, as a side note, when asking questions th...
by julien_lacour
Thu May 09, 2024 10:48 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Inline image height
Replies: 6
Views: 1465

Re: Inline image height

Hello Ian,

You're right, the problem has returned. I added an issue on our side to fix it again.
I will notify this thread once a fix will be available. Thank you for reporting the issue.

Regards,
Julien
by julien_lacour
Wed May 08, 2024 6:10 pm
Forum: Common Problems
Topic: No xml tags are displaying in print
Replies: 13
Views: 1407

Re: No xml tags are displaying in print

Hello, If you want to display the XML tags, you can add the following rules in your CSS stylesheet(s): *:not([class ~= "topic/table"]):not([class ~= "topic/row"])::before(1000) { display: inline; content: "<" oxy_name() ">"; } *:not([class ~= "topic/table...
by julien_lacour
Wed May 08, 2024 9:57 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Keep with next row (in tables)
Replies: 5
Views: 267

Re: Keep with next row (in tables)

Hello, The second rule (with break-inside: avoid) indicates that a page break isn't possible inside a table cell, but it is still possible to break between two different rows. I think you can keep this rule for all cells inside a table. If you want to control page breaks as "exceptions", y...
by julien_lacour
Tue May 07, 2024 10:11 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Keep with next row (in tables)
Replies: 5
Views: 267

Re: Keep with next row (in tables)

Hello, You need to insert the above rule in a CSS stylesheet, then you need to use this stylesheet in the DITA Map PDF - based on HTML5 & CSS transformation scenario. For more information you can read this topic from our user guide. To block page breaking inside rows you can use the following ru...
by julien_lacour
Thu May 02, 2024 10:13 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Keep with next row (in tables)
Replies: 5
Views: 267

Re: Keep with next row (in tables)

Hello,

Are your "merged rows" merged on multiple columns, multiple rows or both?
If they are expanding on multiple columns, you can use the following CSS rule:

Code: Select all

*[class ~= "topic/row"]:has(*[class ~= "topic/entry"][colspan]) {
  break-after:avoid;
}
Regards,
Julien
by julien_lacour
Thu Apr 25, 2024 9:36 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Test for contents of a Map
Replies: 2
Views: 164

Re: Test for contents of a Map

Hello,

You can check the class of any DITA elements by selecting it in Oxygen and checking the Attributes view:
image.png
image.png (12.77 KiB) Viewed 129 times
You can also check the Inheritance section of the DITA Specification (e.g. <keyword> element)

Regards,
Julien
by julien_lacour
Thu Apr 25, 2024 9:30 am
Forum: Common Problems
Topic: An error throwed when generating Webhelp Responsive
Replies: 7
Views: 276

Re: An error throwed when generating Webhelp Responsive

Hello,

A new maintenance build for Oxygen 26.1 is available on our website, in this build the "[Fatal Error] :1:1: Content is not allowed in prolog." error will not be displayed anymore in WebHelp Responsive transformation.

Regards,
Julien
by julien_lacour
Wed Apr 24, 2024 5:16 pm
Forum: Common Problems
Topic: com.oxygenxml.chemistry.e.fb error with a custom transform
Replies: 8
Views: 432

Re: com.oxygenxml.chemistry.e.fb error with a custom transform

Hello,

A new maintenance build for Oxygen 26.1 is available, this version contains the fix for this null error in centered context.

Regards,
Julien
by julien_lacour
Thu Apr 11, 2024 9:09 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Editor variable in Publishing Template path does not work
Replies: 7
Views: 378

Re: Editor variable in Publishing Template path does not work

Hi Frank, From what I tested in <oXygen/> XML Editor 26.1, build 2024031806, if the template is inside OXYGEN_INSTALL_DIR\frameworks, the ${frameworksDir} variable expands correctly and the template is displayed in the dialog. Could you confirm this work on your case too? However, if the template is...
by julien_lacour
Wed Apr 10, 2024 11:57 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Editor variable in Publishing Template path does not work
Replies: 7
Views: 378

Re: Editor variable in Publishing Template path does not work

If this is not what you are trying to achieve, could you give us more information or even the files you are using?

Regards,
Julien
by julien_lacour
Wed Apr 10, 2024 11:51 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Editor variable in Publishing Template path does not work
Replies: 7
Views: 378

Re: Editor variable in Publishing Template path does not work

Hi Frank, The type="filePath" attribute is for publishing templates only, not for frameworks extensions. To create an additional WebHelp transformation scenario I did the following steps: Create a ditamap-custom directory in OXYGEN_INSTALL_DIR\frameworks\dita Create a custom scenario calle...
by julien_lacour
Tue Apr 09, 2024 1:46 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Do not show shortdescriptions
Replies: 13
Views: 5561

Re: Do not show shortdescriptions

Hello, The child links description are wrapped into a <div> element: <li class="- topic/link link ulchildlink"> <strong> <a href="first.html">First</a> </strong> <div class="- topic/desc desc">A short description of the task.</div> </li> So to remove them it is possible...
by julien_lacour
Tue Apr 09, 2024 1:36 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Nested indexterm display in WebHelp Responsive
Replies: 4
Views: 643

Re: Nested indexterm display in WebHelp Responsive

Hello, The problem is browser related, our default CSS rules already indicate that no column break should occur between and indexterm and its children: .wh_term > ul > .wh_term:first-child { break-before: avoid-column; } But the "avoid-column" value is not supported by Firefox as you can s...
by julien_lacour
Tue Apr 09, 2024 11:34 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF/CSS transformation - width of images & borders
Replies: 1
Views: 177

Re: PDF/CSS transformation - width of images & borders

Hello, One solution could be to set the image width based on DITA-OT extracted image width: @namespace dita-ot url('http://dita-ot.sourceforge.net/ns/201007/dita-ot'); *[class ~= "topic/fig"] *[class ~= "topic/image"] { margin-top: 0; border: 1px solid black; padding: 1em; } *[cl...
by julien_lacour
Mon Apr 08, 2024 2:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Check 404 error during publishing
Replies: 4
Views: 237

Re: Check 404 error during publishing

Hello, You can check these hrefs by using the Validate and Check for Completeness tool in the DITA Maps Manager view: image.png You will obtain errors similar to this one: Reference "https://www.oxygenxml.com/non/existing/path" not found. Cause: 404 Not Found for: https://www.oxygenxml.com...
by julien_lacour
Mon Apr 08, 2024 9:26 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Check 404 error during publishing
Replies: 4
Views: 237

Re: Check 404 error during publishing

Hello,

Could you indicate which Oxygen version and which transformation scenario you are using?
Is the broken link intended in your publication or is this the origin of the problem?

Regards,
Julien
by julien_lacour
Thu Apr 04, 2024 9:50 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Can't get custom CSS to work with CODEBLOCKs
Replies: 2
Views: 210

Re: Can't get custom CSS to work with CODEBLOCKs

Hello, I think the problem is the following: you have a language selected for your codeblock, for example Python, so the element will have the outputclass="language-python" attribute set. With your custom outputclass, the final attribute value will be outputclass="language-python gree...
by julien_lacour
Wed Apr 03, 2024 4:37 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Crop marks using Chemistry
Replies: 7
Views: 790

Re: Crop marks using Chemistry

Hello, You're right, by default the crop marks will cut the margins out and you're right again if you want to include the margin boxes in the finished cut, the bleed or -oxy-crop-offset value should be the same as the page margins. Regarding bleed vs -oxy-crop-offset, when using media-box (default) ...
by julien_lacour
Wed Apr 03, 2024 4:25 pm
Forum: Common Problems
Topic: Differe page number style configuration
Replies: 1
Views: 132

Re: Differe page number style configuration

Hello, You can change the page definition for before-toc topics using the following rule: *[class ~= "topic/topic"][outputclass ~= "before-toc"] { page: matter-page; } In this example I used the predefined matter-page which uses lower-roman numbering. To reset the page number for...
by julien_lacour
Tue Apr 02, 2024 12:15 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: pdf.accessiblity parameter generates chemistry error
Replies: 1
Views: 189

Re: pdf.accessiblity parameter generates chemistry error

Hello Tanja, The problem is that the monospace blocks (like DITA <codeblock> or <codeph>) override the body rule, this is why the error appear. If you set your custom monospace font for these elements, the problem will disappear: *[class ~= "pr-d/codeph"], *[class ~= "pr-d/codeblock&q...
by julien_lacour
Wed Mar 27, 2024 5:56 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Crop marks using Chemistry
Replies: 7
Views: 790

Re: Crop marks using Chemistry

Hello,

Starting with Oxygen 26.1 (already available on our website) it is possible to control the marks display from the CSS.
For more information you can check the Page Boundaries topic from our user guide.

Regards,
Julien
by julien_lacour
Wed Mar 27, 2024 5:50 pm
Forum: Other Issues
Topic: SVG cannot open in Oxygen but opens fine in Chrome
Replies: 3
Views: 483

Re: SVG cannot open in Oxygen but opens fine in Chrome

Hello,

We just released Oxygen 26.1, in this version these errors should not appear on SVGs anymore and the image should display in Author mode.

Regards,
Julien
by julien_lacour
Fri Mar 15, 2024 2:42 pm
Forum: Common Problems
Topic: com.oxygenxml.chemistry.e.fb error with a custom transform
Replies: 8
Views: 432

Re: com.oxygenxml.chemistry.e.fb error with a custom transform

Hello,

I reproduced the problem and added an issue on our tracking system, as you mentioned the problem is related to the centered text context.
I will notify this thread when the bug will be fixed. Thank you for the sample files.

Regards,
Julien
by julien_lacour
Wed Mar 13, 2024 6:39 pm
Forum: Common Problems
Topic: com.oxygenxml.chemistry.e.fb error with a custom transform
Replies: 8
Views: 432

Re: com.oxygenxml.chemistry.e.fb error with a custom transform

Hello Vincent, Unfortunately I think yes, I don't have this font on my side and I don't know from where you have it. I need at least this font and the topic concerned by this problem as it could be related to the text to be displayed. If you can isolate the topic and it contains no sensitive informa...
by julien_lacour
Wed Mar 13, 2024 6:04 pm
Forum: Common Problems
Topic: com.oxygenxml.chemistry.e.fb error with a custom transform
Replies: 8
Views: 432

Re: com.oxygenxml.chemistry.e.fb error with a custom transform

Hello Vincent, In order to analyze this I need a small sample where this problem occurs: usually one or more topics and the publishing template or at least the CSS stylesheet(s). Is it possible for you to send this at support@oxygenxml.com? Note: If your DITA documents contain some sensitive content...
by julien_lacour
Wed Mar 13, 2024 1:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Styling definition lists like a table
Replies: 1
Views: 318

Re: Styling definition lists like a table

Hello,

You can follow the How to Convert Definition Lists into Tables topic from our user guide to realize this customization, it explains step by step how to create the publishing template and the XSLT stylesheet that transforms <dl> into tables.

Regards,
Julien
by julien_lacour
Mon Mar 11, 2024 12:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Footnotes Related to Tables in PDF Documents
Replies: 22
Views: 4257

Re: Footnotes Related to Tables in PDF Documents

Hello Heidi, 1. To take the callout attribute value into account, you need to change a little bit the stylesheets: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema&quo...
by julien_lacour
Wed Mar 06, 2024 11:06 am
Forum: Common Problems
Topic: NPE / How can i locate an error in CSS Stylesheets?
Replies: 3
Views: 292

Re: NPE / How can i locate an error in CSS Stylesheets?

Hi Frank,

I also added an issue to change the exception into an error message, I will notify this thread when it will be fixed.

Regards,
Julien
by julien_lacour
Tue Mar 05, 2024 2:28 pm
Forum: Common Problems
Topic: NPE / How can i locate an error in CSS Stylesheets?
Replies: 3
Views: 292

Re: NPE / How can i locate an error in CSS Stylesheets?

Hello Frank, The problem is that you declare the CSS variables (like --margin-above) under the :root pseudo-class but use them under the @page rules. The :root class is at document level where @page is "above" it: if you use the variables in @page you should declare them in @page too. Rega...