Search found 510 matches

by julien_lacour
Tue May 14, 2024 12:34 pm
Forum: Common Problems
Topic: No xml tags are displaying in print
Replies: 15
Views: 1496

Re: No xml tags are displaying in print

Hello, Sure you can, besides the rule I gave you previously you can add the following one: *:not([class ~= "topic/table"]):not([class ~= "topic/row"])[oid]::before(1000) { display: inline; content: "<" oxy_name() " id=\"" attr(oid) "\">"; }...
by julien_lacour
Tue May 14, 2024 11:49 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Heading VS ToC numbering in PDF with Dita/Markdown
Replies: 5
Views: 166

Re: Heading VS ToC numbering in PDF with Dita/Markdown

Hello, If you want the subtopics to be displayed in the TOC, you need to reference them in the ditamap directly: <topicref href="topics/topic.md" format="markdown"> <topicref href="topics/topic.md#subtopicId" format="markdown"/> </topicref> Where "subtopi...
by julien_lacour
Mon May 13, 2024 2:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding columns for certain DITA elements (PDF layout)
Replies: 2
Views: 47

Re: Adding columns for certain DITA elements (PDF layout)

Hello, Currently Oxygen PDF Chemistry does not support multiple column display at element level. As explained in the user guide , the column-count property should be set at page level. Then you can set column-span:all on the topics title and short description. However, I added your vote to the featu...
by julien_lacour
Fri May 10, 2024 6:04 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Heading VS ToC numbering in PDF with Dita/Markdown
Replies: 5
Views: 166

Re: Heading VS ToC numbering in PDF with Dita/Markdown

Hello,

I also added an issue on our side to remove these subtopics by default in our CSS stylesheets.
We will also analyze if we can bring the subtopic inside the TOC. I will post on this thread if the status changes.

Regards,
Julien
by julien_lacour
Fri May 10, 2024 3:36 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Heading VS ToC numbering in PDF with Dita/Markdown
Replies: 5
Views: 166

Re: Heading VS ToC numbering in PDF with Dita/Markdown

Hello, You can remove the subtopics from the bookmarks by using the following rule in your CSS: *[class~="topic/topic"] *[class~="topic/topic"]:not([topicrefclass ~="map/topicref"]) > *[class~="topic/title"] { bookmark-level: 0; } *[class ~= "map/map"...
by julien_lacour
Thu May 09, 2024 10:54 am
Forum: Common Problems
Topic: An error throwed when generating Webhelp Responsive
Replies: 7
Views: 333

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

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: 15
Views: 1496

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

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

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

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

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 144 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: 333

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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