Search found 484 matches

by julien_lacour
Fri Aug 11, 2023 2:45 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Footnotes Related to Tables in PDF Documents
Replies: 22
Views: 3851

Re: Footnotes Related to Tables in PDF Documents

Hello, If you add the following template that process xrefs in table cells, you should have all that you need: <xsl:template match="*[contains(@class, 'topic/xref')][@type='fn'] [ancestor::*[contains(@class, 'topic/entry')]]"> <xsl:param name="top-level-table" tunnel="yes&qu...
by julien_lacour
Wed Aug 09, 2023 10:50 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding attachments to generated PDF file
Replies: 1
Views: 318

Re: Adding attachments to generated PDF file

Hello Marek,

I added an Feature Request in our tracking system to add attachment support in Oxygen PDF Chemistry.
I will notify this topic once the feature will be available.

Regards,
Julien
by julien_lacour
Tue Aug 08, 2023 12:48 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Footnotes Related to Tables in PDF Documents
Replies: 22
Views: 3851

Re: Footnotes Related to Tables in PDF Documents

Hello, You can overwrite the following template from org.dita.pdf2/xsl/fo/topic.xsl: <xsl:template match="*[contains(@class,' topic/fn ')]" mode="callout"> <xsl:choose> <xsl:when test="@callout"> <xsl:value-of select="@callout"/> </xsl:when> <xsl:otherwise> <!...
by julien_lacour
Mon Aug 07, 2023 9:30 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: css file not recognizing outputclass
Replies: 1
Views: 293

Re: css file not recognizing outputclass

Hello,

Do you have a rule declaring page: cover-page for this topic?
Without this declaration, this topic will not use this page and the @page cover-page rules will not be applied.

Regards,
Julien
by julien_lacour
Fri Aug 04, 2023 11:22 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Notifications about transformation problems during automatic nightly build
Replies: 3
Views: 471

Re: Notifications about transformation problems during automatic nightly build

Hi Susanne,

There are no custom prefixes in WebHelp Responsive scenario but the encountered errors running this transformation are DITA-OT error messages. So basically you could check for these IDs in Jenkins job console.

Regards,
Julien
by julien_lacour
Tue Aug 01, 2023 1:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Notifications about transformation problems during automatic nightly build
Replies: 3
Views: 471

Re: Notifications about transformation problems during automatic nightly build

Hi Susanne, When table cells are too large for the page, you should see errors like the following in Jenkins job console: [exec] WARN ColumnSetup - [CH][WARN] Column(s) too wide in the auto table. Increasing table content area for fo:table, location: 168:1450 id='d193e286' "Chrysanthemum" ...
by julien_lacour
Mon Jul 31, 2023 2:56 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Cross-reference to the same topic used in TWO DITAMAPs
Replies: 8
Views: 716

Re: Cross-reference to the same topic used in TWO DITAMAPs

Hello, There is a possibility using @keyscope attribute on the ditamaps references in the bookmap, then using @keyref in <xref> elements. The problem is that, to make this solution works, the topics must have a slightly different content (for example a key with the product name - the structure is th...
by julien_lacour
Fri Jul 28, 2023 11:49 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Cross-reference to the same topic used in TWO DITAMAPs
Replies: 8
Views: 716

Re: Cross-reference to the same topic used in TWO DITAMAPs

Hello, A solution could be to duplicate the topic and in the duplicated topic refer the content from the original topic. Each topic will be referenced in its ditamap. Then one link will lead to the original topic while the other will lead to the duplicated one. I added a sample to make it clearer. c...
by julien_lacour
Thu Jul 27, 2023 4:34 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Cross-reference to the same topic used in TWO DITAMAPs
Replies: 8
Views: 716

Re: Cross-reference to the same topic used in TWO DITAMAPs

Hello,

Are you publishing these ditamap separately or are they referenced in a parent one?
Could you give us more details or even a small sample showing the problem (only with the structure, the content can be random)?

Regards,
Julien
by julien_lacour
Thu Jul 27, 2023 10:18 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Rendering SVG Images in PDF
Replies: 5
Views: 751

Re: Rendering SVG Images in PDF

Hello,

Could you attach the SVG file too? I will try to reproduce the problem on our side.
Could you also indicate which Oxygen version and which transformation scenario you are using?

Regards,
Julien
by julien_lacour
Thu Jul 20, 2023 4:47 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF output of prolog author after topic body
Replies: 3
Views: 428

Re: PDF output of prolog author after topic body

Hello, In this case you can directly use the following rule and remove the string-set/string rules I gave you earlier: *[class ~= "topic/body"]:after { margin: 1em; font-family: 'Arial '; font-weight: 500; font-size: .75em; content: " Contributing Author: " oxy_xpath("string...
by julien_lacour
Wed Jul 19, 2023 11:03 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF output of prolog author after topic body
Replies: 3
Views: 428

Re: PDF output of prolog author after topic body

Hello, Instead of using the oxy_xpath() function you should try to create a string-set, like in this example: @page { @bottom-left { content: "Author: " string(author); } } *[class ~= "topic/author"] { string-set: author content(); } The string-set will be updated for each new au...
by julien_lacour
Tue Jul 18, 2023 2:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing the note element
Replies: 4
Views: 509

Re: Customizing the note element

Hi Jörn, By default you can write inside a note without adding a paragraph inside it. From the DITA Specs : <note type="tip">Thinking of a seashore, green meadow, or cool mountain overlook can help you to relax and be more patient.</note> Which means your note look like: <note> <p>The supp...
by julien_lacour
Fri Jul 14, 2023 2:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing the note element
Replies: 4
Views: 509

Re: Customizing the note element

Hi Jörn, The error message is quite "normal": hazardstatement actually inherits from note (so matching topic/note will match both elements, see DITA Specs ) and is displayed as a table, your :before selector tries to add content in this table but doesn't respect the table display. For what...
by julien_lacour
Fri Jul 14, 2023 9:32 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: font in header and footer (css pdf)
Replies: 2
Views: 378

Re: font in header and footer (css pdf)

Hello, If you want to set a font in the header and footer, you need to use the @page rule as explained in How to Change the Font of the Headers and Footers . If you are using Oxygen Styles Basket to create a publishing template, the generated CSS will contain a rule similar to this one: @page { font...
by julien_lacour
Fri Jul 07, 2023 11:13 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-based DITA to PDF problem with columns
Replies: 2
Views: 445

Re: CSS-based DITA to PDF problem with columns

Hello Wojtek, You can add the vertical-align property in the topic rule to fix the display: *[class ~= "topic/topic"][outputclass ~= "two-columns"] { page: two-columns; vertical-align: top; } @page two-columns { font-size: 10pt; column-count: 2; column-gap: 0.1in; line-height: 1e...
by julien_lacour
Wed Jul 05, 2023 10:19 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Syntax diagram in WebHelp Responsive Output is missing some attributes
Replies: 7
Views: 922

Re: Syntax diagram in WebHelp Responsive Output is missing some attributes

Hello Susanne, I tested the following CSS in a WebHelp Responsive transformation scenario and the kbd are modified: :root { --blackish-color: black; } ... *[class ~= "pr-d/syntaxdiagram"] kbd { font-weight: normal; font-family: 'Inconsolata', monospace; font-size: 100%; background-color: t...
by julien_lacour
Wed Jul 05, 2023 9:26 am
Forum: Common Problems
Topic: How to display a value of a content from a CSS
Replies: 6
Views: 1813

Re: How to display a value of a content from a CSS

Hello, You can use the XSL string-join function to achieve this: @top-left-corner { content: oxy_xpath("\ if (//*[contains(@class, ' topic/data ')][@outputclass= 'header'] = 'Short') then\ (//*[contains(@class, ' topic/keyword ')][contains(@keyref, 'prodname')][1])[1]//text()\ else\ string-join...
by julien_lacour
Tue Jul 04, 2023 9:45 am
Forum: Common Problems
Topic: How to display a value of a content from a CSS
Replies: 6
Views: 1813

Re: How to display a value of a content from a CSS

Hello,

You can test your XPath query within Oxygen using the XPath Builder and the merged.html file generated during the transformation.
For more information, you can take a look at the How to Write XPath Expressions and How to Debug XPath Expressions topics from our user-guide.

Regards,
Julien
by julien_lacour
Mon Jul 03, 2023 12:26 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Syntax diagram in WebHelp Responsive Output is missing some attributes
Replies: 7
Views: 922

Re: Syntax diagram in WebHelp Responsive Output is missing some attributes

Hello Susanne, I added a new issue on our side to optimize the default CSS rules for PDF and WebHelp outputs. Until then you can already use the following rules in a custom CSS stylesheet to remove the extra layout: blockquote { margin:1em 40px; border-left: 0; } .lq { padding-left: 0.5em; border-le...
by julien_lacour
Fri Jun 30, 2023 4:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Syntax diagram in WebHelp Responsive Output is missing some attributes
Replies: 7
Views: 922

Re: Syntax diagram in WebHelp Responsive Output is missing some attributes

Hello Susanne,

Have you tried the last Oxygen version (25.1), you should be able to upgrade without changing your license (as you already have 25.0).
Is the problem still present? Could you provide a small sample reproducing the problem?

Regards,
Julien
by julien_lacour
Fri Jun 30, 2023 1:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Test and production system for the publishing engine
Replies: 2
Views: 334

Re: Test and production system for the publishing engine

Hello, You can customize the folder in which the chemistry-temp directory is created, you just need to set the -Dchemistry.security.workspace="path/to/workspace" parameter in the command calling the publishing engine. The result in my example will be path/to/workspace/chemistry-temp. This ...
by julien_lacour
Wed Jun 28, 2023 4:46 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF-CSS: Creating new CSS counters for new types of figures
Replies: 5
Views: 1399

Re: PDF-CSS: Creating new CSS counters for new types of figures

Hello, The following CSS rules should replace the text before <equation-figure>: .equation-figure .fig--title-label { display: none; } .equation-figure .fig--title::before { content: "Equation: " } For the counters part, there's no global context as in PDF so if you create such counters yo...
by julien_lacour
Tue Jun 27, 2023 2:20 pm
Forum: Common Problems
Topic: How to display a value of a content from a CSS
Replies: 6
Views: 1813

Re: How to display a value of a content from a CSS

Hi David, Using the CSS to change the TOC title is the correct solution. For the header it's a little more complicated: the CSS is applied on the merged.html file created during the transformation (in the output folder), the :before content will be created on the next step while the oxy_xpath() func...
by julien_lacour
Mon Jun 26, 2023 11:11 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: wintitle output not bold
Replies: 2
Views: 345

Re: wintitle output not bold

Hello, I checked in Oxygen 25.1 and the <wintitle> element is rendered in bold in PDF outputs. Can you check in the console that you are using this DITA-OT when running the transformation? To enable the console, in Oxygen > Options > Preferences... > DITA / Logging change the value of the 'Show cons...
by julien_lacour
Thu Jun 22, 2023 2:55 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: No string named 'Ordered List Format 0' was found error when generating XSL PDF
Replies: 5
Views: 528

Re: No string named 'Ordered List Format 0' was found error when generating XSL PDF

Hello, When transforming DITA to PDF using XSL-FO, image-maps areas are converted into a list of links going to each area target, this is why the warning mentions ordered lists. Could you indicate which version of Oxygen you are using and if you are running the DITA Map PDF - based on XSL-FO transfo...
by julien_lacour
Mon May 29, 2023 12:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Video in pdf
Replies: 2
Views: 409

Re: Video in pdf

Hello, As you mentioned the video feature is available in version 25.1 so you can't make it work using 23.0 as it is just not only a matter of CSS but a whole modification in Oxygen PDF Chemistry engine. You can upgrade to Oxygen 25.1 to enjoy this new feature, I just remind you that it is still an ...
by julien_lacour
Mon May 29, 2023 9:40 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Keys don't render when show.changes.and.comments=yes
Replies: 2
Views: 461

Re: Keys don't render when show.changes.and.comments=yes

Hello Micaela, Besides well-formed content there's a more technical problem: DITA OT isn't expanding content inside processing instructions (like keyref, conref or conkeyref) and modifying this implies resolving the keyrefs during XSLT processing (which isn't the case now - they are resolved before ...
by julien_lacour
Thu May 25, 2023 2:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: white-space:normal CSS selector doesn’t work with <lines>, apparently
Replies: 4
Views: 452

Re: white-space:normal CSS selector doesn’t work with <lines>, apparently

Hello Vincent, This issue has already been addressed to DITA-OT: https://github.com/dita-ot/dita-ot/issues/4108 To avoid this situation, you can for example create a Schematron file with the following content: <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://purl...