Search found 507 matches

by julien_lacour
Fri Mar 17, 2023 5:26 pm
Forum: Common Problems
Topic: How to hide dictionary items from TOC if they are inserted into content as a abbreviated form?
Replies: 5
Views: 855

Re: How to hide dictionary items from TOC if they are inserted into content as a abbreviated form?

Hello,

Since Oxygen 25.0 this rule has been added to the default CSS rules for the DITA Map PDF - based on HTML5 & CSS.

Regards,
Julien
by julien_lacour
Thu Mar 09, 2023 3:31 pm
Forum: Common Problems
Topic: DOTX052W errors and Translated webhelp classic UI labels not showing
Replies: 12
Views: 1683

Re: DOTX052W errors and Translated webhelp classic UI labels not showing

Hello, Sometimes when the new labels doesn't appear in the output it means that the localization plugin hasn't been integrated. Have you run the "Run DITA-OT Integrator" scenario before running your WebHelp transformation? Did the new localization plugin name appeared in the console? Regar...
by julien_lacour
Tue Mar 07, 2023 6:15 pm
Forum: XSLT and FOP
Topic: How to limit the bookmark level is PDF
Replies: 6
Views: 1860

Re: How to limit the bookmark level is PDF

The previous post works only for the DITA Map PDF - based on XSL-FO scenario, if you are using the DITA Map PDF - based on HTML5 & CSS scenario you can directly follow the instructions from the user-guide.

Regards,
Julien
by julien_lacour
Tue Mar 07, 2023 6:12 pm
Forum: XSLT and FOP
Topic: How to limit the bookmark level is PDF
Replies: 6
Views: 1860

Re: How to limit the bookmark level is PDF

Hello, If you want to keep the bookmark level independent of the toc level, you can create a custom parameter: <xsl:param name="bookmarksMaximumLevel" select="1"/> Something similar to what's in org.dita.pdf2\cfg\fo\attrs\basic-settings.xsl. And then use this parameter in your cu...
by julien_lacour
Mon Mar 06, 2023 4:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF conversion problem (java.lang.NoSuchFieldError: KEY_OXY_FOREGROUND_IMAGE)
Replies: 5
Views: 564

Re: PDF conversion problem (java.lang.NoSuchFieldError: KEY_OXY_FOREGROUND_IMAGE)

Susanne,

Could you copy the full console log of this error and attach the CSS stylesheet(s) you are using? I tried on my side but cannot obtain this error.
If you don't want to share the files you can send them directly to support@oxygenxml.com.

Regards,
Julien
by julien_lacour
Mon Mar 06, 2023 3:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF conversion problem (java.lang.NoSuchFieldError: KEY_OXY_FOREGROUND_IMAGE)
Replies: 5
Views: 564

Re: PDF conversion problem (java.lang.NoSuchFieldError: KEY_OXY_FOREGROUND_IMAGE)

Hello Susanne,

How are you running Oxygen Publishing Engine? Inside or outside Oxygen?

Regards,
Julien
by julien_lacour
Thu Mar 02, 2023 2:29 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Stepresult not shown if pdf
Replies: 4
Views: 495

Re: Stepresult not shown if pdf

Hi Mikael, You need to move the padding into a separate rule applying on the stepresult itself: *[class ~= "task/stepresult"] { padding-left: 10px; } *[class ~= "task/stepresult"]::before { font-weight: bold; content: "Step Result\A"; } Then the ::before element should ...
by julien_lacour
Wed Mar 01, 2023 5:29 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Stepresult not shown if pdf
Replies: 4
Views: 495

Re: Stepresult not shown if pdf

You could create such labels directly from a custom CSS stylesheet, like this:

Code: Select all

*[class ~= "task/stepresult"]::before {
  font-weight: bold;
  content: "Step Result\A";
}
Regards,
Julien
by julien_lacour
Wed Mar 01, 2023 5:25 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Stepresult not shown if pdf
Replies: 4
Views: 495

Re: Stepresult not shown if pdf

Hello Mikael,

The 'args.gen.task.lbl' property only tells the transformation to show the task labels, not the step ones.
As stepresult is a child of step, it isn't processed by this property.

Regards,
Julien
by julien_lacour
Wed Mar 01, 2023 11:54 am
Forum: Common Problems
Topic: Different table borders
Replies: 2
Views: 534

Re: Different table borders

Hello,

Could you indicate which version of Oxygen you are using? Also is it possible for you to copy your custom CSS rules for tables?

Regards,
Julien
by julien_lacour
Wed Feb 15, 2023 1:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom Note Formats in PDF via HTML/CSS
Replies: 8
Views: 1275

Re: Custom Note Formats in PDF via HTML/CSS

Hello, Currently these CSS rules will not work because the @type and @othertype attributes are not propagated into the html output. I added an issue to resolve this. To make this work for both PDF and WebHelp, follow these steps: Add an @outputclass attribute on the skills note: <note type="oth...
by julien_lacour
Thu Feb 02, 2023 12:27 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: number contents in the frontmatter of a dita book
Replies: 6
Views: 984

Re: number contents in the frontmatter of a dita book

Hello, This seems quite hard to realize: you can easily number the chapters before the TOC from a custom CSS stylesheet, but for the TOC itself that's different. By default the TOC doesn't include itself, which will lead to a different numbering inside and outside the TOC: The TOC will have: 1 Overv...
by julien_lacour
Wed Feb 01, 2023 5:00 pm
Forum: Other Issues
Topic: Delta character does not work
Replies: 6
Views: 1427

Re: Delta character does not work

Hello Mikael, Unfortunately the processor use the font that allows it to render all the character, this is why DejaVu Sans is used for all the text. A workaround to this problem is to wrap the delta character into a <ph> element and to add the fallback font for this element only: *[class ~= "to...
by julien_lacour
Thu Jan 19, 2023 11:33 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Chapter and Topic Nesting
Replies: 3
Views: 546

Re: Chapter and Topic Nesting

Hello, This is a normal behavior, if you take a look at the DITA Specification for <mapref> element (same as setting format="ditamap") you will find: The hierarchy of the referenced map is merged into the container map at the position of the reference... One solution to create an additiona...
by julien_lacour
Thu Jan 19, 2023 11:11 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: To achieve a specific header for the chapter
Replies: 7
Views: 895

Re: To achieve a specific header for the chapter

Hello,

If your string-sets should have different styles (color, font, etc.) you can't, the only solution is to have them in different page-margin boxes (top-left and top-center for example).

Regards,
Julien
by julien_lacour
Mon Jan 16, 2023 1:05 pm
Forum: Common Problems
Topic: Can I put a topic as frotmatter page?
Replies: 3
Views: 1192

Re: Can I put a topic as frotmatter page?

Another solution could be to convert the ditamap into a bookmap using Oxygen's XML Refactoring tool or Oxygen XML Scripting if you have a publishing pipeline. Then add the frontmatter into the bookmap. Then using a small XSLT stylesheet you could be able to add the topic into the bookmap frontmatter...
by julien_lacour
Mon Jan 16, 2023 1:02 pm
Forum: Common Problems
Topic: Can I put a topic as frotmatter page?
Replies: 3
Views: 1192

Re: Can I put a topic as frotmatter page?

Hello, One solution could be to add an SVG image containing some text after the frontmatter, like in this example: @page frontmatter-page { @top-left {content: none;} @top-right {content: none;} @bottom-center {content: none;} background-image: url("frontmatter.svg"); background-position: ...
by julien_lacour
Fri Jan 13, 2023 10:57 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: To achieve a specific header for the chapter
Replies: 7
Views: 895

Re: To achieve a specific header for the chapter

Hello, From the topic Chris gave you, in the same note explaining the string() limitation, there's an example on how to style the dynamic text: You cannot use string() inside an oxy_label(). As a workaround, to apply styling on the dynamic text retrieved by a string() function you can define some ov...
by julien_lacour
Thu Jan 12, 2023 4:35 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Using bookmaps and PDF2 transformation: how to enable continuous paging and stop chapters from starting on even page
Replies: 8
Views: 3419

Re: Using bookmaps and PDF2 transformation: how to enable continuous paging and stop chapters from starting on even page

Hello, Regarding the page numbering, you can take a look at the How to Reset Page Numbering at First Chapter/Part from our user-guide. Also, this topic was originally opened for the PDF2 transformation (DITA Map PDF - based on XSL-FO scenario) and is quite an old thread. Next time the best for this ...
by julien_lacour
Thu Jan 12, 2023 4:24 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: .ditamap file is replaced with its DITA-OT temporary file equivalent after transformation
Replies: 5
Views: 864

Re: .ditamap file is replaced with its DITA-OT temporary file equivalent after transformation

Hi Chris,

The problem seems only happening with Oxygen 25.0, I added an issue on our side for fixing this problem.
I also added an issue on DITA-OT side, the problem also occur with HTML5 outputs: https://github.com/dita-ot/dita-ot/issues/4104

Regards,
Julien
by julien_lacour
Thu Jan 05, 2023 10:39 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Positioning background image on page header
Replies: 2
Views: 530

Re: Positioning background image on page header

Hello,

If you want your background-image to start 1cm from the top of the page, you need to change the background-position values:

Code: Select all

background-position: 0 1cm;
Where the first value is the X axis (from the left) and the second is the Y axis (from the top).

Regards,
Julien
by julien_lacour
Tue Jan 03, 2023 4:08 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: <abbreviated-form keyref="xxx"/>
Replies: 7
Views: 5358

Re: <abbreviated-form keyref="xxx"/>

Hello,

In order to make your sample work with PDF outputs, you need to add the print="yes" attribute on each <glossref>.
The abbreviated-forms will be resolved after that.

Regards,
Julien
by julien_lacour
Tue Jan 03, 2023 1:18 pm
Forum: Common Problems
Topic: How do I insert an image as the last page?
Replies: 1
Views: 889

Re: How do I insert an image as the last page?

Hello, You can't find anything about the back-page @page rule because the page is not declared by default. But you already started to declare one which I modified a little to obtain the desired result. Another thing you need to do is to add a rule indicating where this page should be used (at the en...
by julien_lacour
Tue Jan 03, 2023 12:18 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Cross reference style
Replies: 2
Views: 544

Re: Cross reference style

Hello,

You can take a look to the How to Change Link Styles topic from our user-guide. It should help you customizing the text displayed after cross references.
Also if you're not at ease with CSS, you can debug it in your favorite browser.

Regards,
Julien
by julien_lacour
Wed Dec 21, 2022 10:24 am
Forum: Common Problems
Topic: Change TOC title
Replies: 4
Views: 661

Re: Change TOC title

Hello, The following fragment will do the trick: /* Title of the TOC page */ *[class ~= "toc/title"][empty]:before { content: "Agenda"; } There are more information about How to Customize CSS Strings in our user-guide. Also, these rules are easy to find by debugging the CSS in yo...
by julien_lacour
Tue Dec 20, 2022 3:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Images in PDF scales and occupy full width of the page
Replies: 8
Views: 1218

Re: Images in PDF scales and occupy full width of the page

Hello,

Normally images should keep their original or scaled size (except if they are bigger than the page size), maybe you have a CSS rule setting their width to 100%.
For more information, you can also take a look at the Images and Figures topic from our user-guide.

Regards,
Julien
by julien_lacour
Fri Dec 16, 2022 10:35 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customize TOC
Replies: 3
Views: 662

Re: Customize TOC

Hello, Which transformation scenario are you using? The attribute-sets solution is valid for the DITA Map PDF - based on XSL-FO scenario: <xsl:attribute-set name ="__lotf__heading" use-attribute-sets="__toc__header"> <xsl:attribute name="font-size">40pt</xsl:attribute> ...
by julien_lacour
Fri Dec 16, 2022 10:18 am
Forum: Other Issues
Topic: <alt> element text is not publishing in PDF output.
Replies: 1
Views: 495

Re: <alt> element text is not publishing in PDF output.

Hello,

You need to activate accessibility in the plugins/org.dita.pdf2.fop/cfg/fop.xconf file:

Code: Select all

<accessibility>true</accessibility>
Regards,
Julien
by julien_lacour
Thu Dec 15, 2022 3:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: External web links in footer
Replies: 4
Views: 591

Re: External web links in footer

Hello, There is a workaround, you can use the SVG method to add two links: <svg width="50" height="40" viewBox="0 0 50 40" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <a xlink:href="https://www.oxygenxml.com/&q...
by julien_lacour
Wed Dec 14, 2022 1:21 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Content to be published in Cover page and Rest of the document
Replies: 3
Views: 523

Re: Content to be published in Cover page and Rest of the document

Hello, It is of course possible to show dynamic content in the page headings. You can add metadata in your DITA content and gather it with the oxy_xpath() function. See How to Show Metadata in the Header or Footer from our user-guide for more information. You can also find other examples in the How ...