Search found 496 matches

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 ...
by julien_lacour
Tue Dec 13, 2022 3:34 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: External web links in footer
Replies: 4
Views: 581

Re: External web links in footer

Hello,

You can check in our user-guide how to add a link in headers and footers (note there are two methods).
For the display, you can take a look at my answer on this post.

Regards,
Julien
by julien_lacour
Tue Dec 13, 2022 3:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Content to be published in Cover page and Rest of the document
Replies: 3
Views: 516

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

Hello, You need to override the front-page built-in CSS rules and create a multi-line content . @page front-page { @bottom-right { content: "Doc No.-101 \A Version A.1 \A December 2022"; } } For the other pages, you will need to override the chapter page definition : @page chapter:first:le...
by julien_lacour
Mon Dec 12, 2022 3:29 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing pdf output - css or xsl-fo?
Replies: 2
Views: 590

Re: Customizing pdf output - css or xsl-fo?

Hello, It mainly depends on your knowledge: if you don't have any of CSS or XSLT knowledge you should prefer the CSS transformation which is easier to learn. The XSL-FO transformation on the other side allow a more advanced customization but is harder to create. Besides that, if you are transforming...
by julien_lacour
Mon Dec 12, 2022 11:57 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Example CSS file
Replies: 2
Views: 415

Re: Example CSS file

Hello, Besides Oxygen Styles Basket, you can take a look at our webinars: Transforming XML and HTML documents to PDF using CSS Transforming DITA documents to PDF using CSS You can also access to all the CSS specification by searching the web with either MDN or W3C keyword. Here are some examples: &q...
by julien_lacour
Thu Dec 08, 2022 12:53 pm
Forum: Feature Request
Topic: Do not create the indexTerms.html file when webhelp.show.indexterms.link==no
Replies: 4
Views: 1241

Re: Do not create the indexTerms.html file when webhelp.show.indexterms.link==no

Hi Chris, I added your vote to the issue, as a workaround you can create an additional plugin that overrides the 'whr-create-indexterms-page' Ant target. I already did such plugin, you can use it as a starting point: com.oxygenxml.webhelp.responsive.custom.zip If you want the indexterm page on some ...
by julien_lacour
Thu Dec 08, 2022 10:51 am
Forum: Common Problems
Topic: Custom icons before the text
Replies: 6
Views: 1037

Re: Custom icons before the text

Hello,

If you want to change standard DITA <note> element, you can follow this topic from our user-guide.
If this topic is unclear, don't hesitate to give your feedback, it will help us make the user-guide better!

Regards,
Julien
by julien_lacour
Wed Dec 07, 2022 1:33 pm
Forum: Common Problems
Topic: How to style TOC elements - both in the TOC and within the document?
Replies: 3
Views: 631

Re: How to style TOC elements - both in the TOC and within the document?

Hello, I added an issue related to reset inline elements in TOC, I will notify this thread once resolved. Until then you can repair it by using an XSLT extension, don't worry I already created it and the publishing template declaring it. I also created a custom.css stylesheet that change the TOC dep...
by julien_lacour
Wed Dec 07, 2022 10:53 am
Forum: Common Problems
Topic: How to make "zero indent" for List of Tables and List of Figures in the table of contents?
Replies: 2
Views: 453

Re: How to make "zero indent" for List of Tables and List of Figures in the table of contents?

Hello, This happens because figurelist and tablelist inherit from topicref (see DITA specs for figurelist and tablelist ). You can override this by adding this rule to your CSS customization: *[class ~= "bookmap/figurelist"], *[class ~= "bookmap/tablelist"] { margin-left: 0 !impo...
by julien_lacour
Tue Dec 06, 2022 6:05 pm
Forum: Common Problems
Topic: deep-chapter-scope without numbering sections or stopping at a point
Replies: 1
Views: 443

Re: deep-chapter-scope without numbering sections or stopping at a point

Hello, I tried to create a sample with the given CSS and the numbering look correct to me. deep-chapter-scope.zip Could you indicate which structure your ditamap have, you can start from my sample and update it to reproduce the error. Then I will be able to analyze and fix any problem. Regards, Julien
by julien_lacour
Tue Dec 06, 2022 4:12 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Tabs turn into spaces in PDF transformation
Replies: 1
Views: 409

Re: Tabs turn into spaces in PDF transformation

Hi Cindy, I will answer here for visibility and because it is Oxygen related: By default we don't keep the tab character in the PDF transformation because in either PDF XSL-FO or PDF HTML5&CSS transformation the tab conversion is 1 to 1 (meaning that one tab in DITA will lead to one space in PDF...
by julien_lacour
Mon Dec 05, 2022 1:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: An error occurs when I publish a table with split rows
Replies: 1
Views: 345

Re: An error occurs when I publish a table with split rows

Hello, Could you indicate which version of Oxygen you are currently using? Also if you can provide the sample you are using to obtain this output, it will help us analyzing the problem and fixing it. I tried with the following sample and the outputs look fine to me: <table frame="all" rows...