Search found 496 matches

by julien_lacour
Mon Dec 05, 2022 11:57 am
Forum: Common Problems
Topic: Forced prohibition of breaking tables/table cells?
Replies: 1
Views: 427

Re: Forced prohibition of breaking tables/table cells?

Behold everyone! Where do you want to forbid these breaks? If you are using the DITA Map PDF - based on HTML5 & CSS transformation scenario you can use the page-break-before / page-break-after / page-break-inside properties (or their equivalent break-before/break-after/break-inside). For example...
by julien_lacour
Tue Nov 29, 2022 5:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: An error is reported when exporting a PDF document
Replies: 6
Views: 636

Re: An error is reported when exporting a PDF document

Hello, The original error is the following one: [java] 12998 FATAL [ main ] com.oxygenxml.chemistry.OxygenPDFChemistry - Error: com.oxygenxml.chemistry.stages.StageException "null:6978:112: The column-number or number of cells in the row overflows the number of fo:table-columns specified for th...
by julien_lacour
Tue Nov 29, 2022 5:19 pm
Forum: Feature Request
Topic: CSS: Support for value "double" in "text-decoration-style"
Replies: 2
Views: 1112

Re: CSS: Support for value "double" in "text-decoration-style"

Hello,

I added an issue related to text-decoration-style: double support, thank you for your reporting.

I added your vote to the feature request related to text-decoration-skip-ink, text-decoration-skip is still experimental, we will see what happens with it in the future CSS Specs.

Regards,
Julien
by julien_lacour
Tue Nov 29, 2022 5:01 pm
Forum: Common Problems
Topic: Fallback font applied too far in PDF output
Replies: 4
Views: 1381

Re: Fallback font applied too far in PDF output

Hello,

We are aware of this issue and I already added your vote to it.
As a workaround you can add a Zero Width Space (​) character after the ⦗ character.

Regards,
Julien
by julien_lacour
Tue Nov 29, 2022 4:19 pm
Forum: Common Problems
Topic: Fallback font applied too far in PDF output
Replies: 4
Views: 1381

Re: Fallback font applied too far in PDF output

Hello,

What PDF scenario are you using? DITA Map PDF - based on HTML5 & CSS or DITA Map PDF - based on XSL-FO?

Regards,
Julien
by julien_lacour
Fri Nov 11, 2022 9:48 am
Forum: Feature Request
Topic: Applying higher compression to PDF files
Replies: 11
Views: 8333

Re: Applying higher compression to PDF files

Hi Chris,

Sure, CH-661 it is.

Regards,
Julien
by julien_lacour
Mon Nov 07, 2022 10:37 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to troubleshoot "Unresolved ID reference" error?
Replies: 8
Views: 2773

Re: How to troubleshoot "Unresolved ID reference" error?

Hello,

As mentioned in my previous messages, this warning may have multiple cause and the only way to analyze this cause is to send us a small sample at support@oxygenxml.com. In most of the cases this warning doesn't affect the PDF output.

Regards,
Julien
by julien_lacour
Fri Nov 04, 2022 11:23 am
Forum: Common Problems
Topic: Appendix
Replies: 5
Views: 709

Re: Appendix

Hi Léontine,

Could you indicate which transformation scenario you are using?
Depending on if you are using DITA Map PDF - based on HTML5 & CSS or DITA Map PDF - based on XSL-FO, the solution will be different.

Regards,
Julien
by julien_lacour
Thu Nov 03, 2022 3:21 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Rename the relations group title
Replies: 5
Views: 729

Re: Rename the relations group title

Hello, You can find attached an example of localization plugin with the Related Information text changed to "Parent Interface Class": com.oxygenxml.webhelp.localization.zip You can directly unzip this plugin into OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT3.x\plugins or oxygen-publishing-en...
by julien_lacour
Thu Nov 03, 2022 1:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Questions about SEO and fonts
Replies: 7
Views: 2792

Re: Questions about SEO and fonts

Hi, Here are the answers to your question: You can follow this topic to Set Fonts in Titles and Content This works for the majority of fonts: You can place the font files in the same folder as your CSS and use a @font-face definition to reference them. You can use web fonts (for example, Google Font...
by julien_lacour
Wed Nov 02, 2022 10:26 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: how to delete the blank page in the reference topic
Replies: 1
Views: 264

Re: how to delete the blank page in the reference topic

Hello,

Could you indicate which Oxygen version you are using and which transformation scenario you are running?

Regards,
Julien
by julien_lacour
Tue Nov 01, 2022 11:31 am
Forum: Common Problems
Topic: Debugging java.lang.OutOfMemoryError issues
Replies: 18
Views: 4620

Re: Debugging java.lang.OutOfMemoryError issues

Hi Chris, I added your vote to the issue related to JVM Memory when running DITA-OT Project files (EXM-51733). The scope of this issue will be to transmit "JVM Arguments" from Scenario Options as ANT_OPTS environment variable. I will notify this thread as soon as it will be resolved. Until...
by julien_lacour
Mon Oct 31, 2022 9:33 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Unexpected element
Replies: 5
Views: 760

Re: Unexpected element

Hello,

If you are using the DITA Map PDF - based on HTML5 & CSS transformation scenario, you need to set the "show.image.map.area.shapes" parameter (in the Parameters tab of the scenario) value to 'yes'.

Regards,
Julien
by julien_lacour
Fri Oct 28, 2022 10:58 am
Forum: Common Problems
Topic: Debugging java.lang.OutOfMemoryError issues
Replies: 18
Views: 4620

Re: Debugging java.lang.OutOfMemoryError issues

Hi Chris, The thing is that when running DITA transformation through DITA-OT Project file under the hood a Java process is called (and not the dita command). This is why the Java usage may differ, for this use-cases the dita command is a better choice (maybe through a bat or sh script). Regarding th...
by julien_lacour
Wed Oct 26, 2022 11:41 am
Forum: Common Problems
Topic: How to set custom background fill of the custom row/cell/column - that is not header of the table??
Replies: 4
Views: 736

Re: How to set custom background fill of the custom row/cell/column - that is not header of the table??

Another use-case is to select only a specific cell/row, in this case you can use DITA @outputclass attribute. Let's take this example, I want a cell and a row colored, first I add the @outputclass attributes: <table frame="none"> <title>Flowers</title> <tgroup cols="3"> <colspec ...
by julien_lacour
Wed Oct 26, 2022 11:34 am
Forum: Common Problems
Topic: How to set custom background fill of the custom row/cell/column - that is not header of the table??
Replies: 4
Views: 736

Re: How to set custom background fill of the custom row/cell/column - that is not header of the table??

If you want a whole column, you can use the :nth-of-type() CSS pseudo-class. For example you can select the second column: *[class ~= "topic/tbody"] *[class ~= "topic/entry"]:nth-of-type(2) { background-color: yellow; } Or you can select all the odd columns: *[class ~= "topi...
by julien_lacour
Wed Oct 26, 2022 11:28 am
Forum: Common Problems
Topic: How to set custom background fill of the custom row/cell/column - that is not header of the table??
Replies: 4
Views: 736

Re: How to set custom background fill of the custom row/cell/column - that is not header of the table??

Hello Dan, Of course you can create your own custom CSS stylesheet . Once the file is created, you just need to reference it in a publishing template or as args.css parameter in the transformation scenario. The most simple rule to select the table cells outside of the table header is to add topic/tb...
by julien_lacour
Wed Oct 26, 2022 9:13 am
Forum: Common Problems
Topic: Debugging java.lang.OutOfMemoryError issues
Replies: 18
Views: 4620

Re: Debugging java.lang.OutOfMemoryError issues

Hi Chris, In fact, when transforming DITA to PDF, Oxygen PDF Chemistry is the Java sub-process called by our com.oxygenxml.pdf.css plugin (when reaching the "pdf-css.chemistry" target in the console, to be precise). I confirm that setting -Xmx may be needed by the regular DITA-OT processin...
by julien_lacour
Mon Oct 24, 2022 6:09 pm
Forum: Common Problems
Topic: How to convert roman-style page counter numbers at the "Table of Contents" pages - into decimal format?
Replies: 4
Views: 560

Re: How to convert roman-style page counter numbers at the "Table of Contents" pages - into decimal format?

Hello, Sure, this means select all the pages named "table-of-contents" (resp. the first left, the first right, the other lefts and the other rights ones). In Paged Media CSS, it is possible to select separately the first page of a type with the :first pseudo-class and usually we have diffe...
by julien_lacour
Mon Oct 24, 2022 4:32 pm
Forum: Common Problems
Topic: Problem with bold text
Replies: 8
Views: 1812

Re: Problem with bold text

Hello, Regarding the WebHelp use-case, currently the only solution is to: Unzip styles.zip in a "styles" folder for example (if you didn't already unzipped it). Copy your fonts under the styles/resources folder (you can copy only the Regular, Italic, Bold and BoldItalic sub-fonts - they ar...
by julien_lacour
Mon Oct 24, 2022 4:16 pm
Forum: Common Problems
Topic: Appendix
Replies: 5
Views: 709

Re: Appendix

Hello Léontine, If you are using the following structure: <bookmap> ... <chapter href="topic.dita"/> <appendix href="first-appendix.dita"/> <appendix href="second-appendix.dita"/> ... </bookmap> The following rules will remove the content displayed before the appendices...
by julien_lacour
Mon Oct 24, 2022 4:06 pm
Forum: Common Problems
Topic: How to convert roman-style page counter numbers at the "Table of Contents" pages - into decimal format?
Replies: 4
Views: 560

Re: How to convert roman-style page counter numbers at the "Table of Contents" pages - into decimal format?

Hi,

The following rule should do the trick:

Code: Select all

@page table-of-contents:first:left, table-of-contents:first:right, table-of-contents:left, table-of-contents:right {
  @bottom-right {
    content: "Page " counter(page, decimal) "/" counter(pages);
  }
}
Regards,
Julien
by julien_lacour
Mon Oct 24, 2022 3:55 pm
Forum: Common Problems
Topic: Way to remove "on page..." after link?
Replies: 2
Views: 430

Re: Way to remove "on page..." after link?

Hello,

If you are using the DITA Map PDF - based on HTML5 & CSS transformation, there's a dedicated parameter called args.css.param.show-onpage-lbl.
If you set its value to no, this label will not be displayed anymore after all the links in the PDF.

Regards,
Julien
by julien_lacour
Mon Oct 24, 2022 3:23 pm
Forum: Common Problems
Topic: Debugging java.lang.OutOfMemoryError issues
Replies: 18
Views: 4620

Re: Debugging java.lang.OutOfMemoryError issues

Hi Chris, Does -DbaseJVMArgLine=-Xmx require that -Xmx also be specified? (Is it configuring the memory of a launched subprocess?) The -DbaseJVMArgLine parameter can be set alone, without any additional -Xmx (except the one appearing after =). Is -DbaseJVMArgLine=-Xmx specific to PDF Chemistry, or d...
by julien_lacour
Mon Oct 24, 2022 2:00 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Selectable footer text for pdf
Replies: 3
Views: 484

Re: Selectable footer text for pdf

Another solution is to use an XPath expression with the value to be displayed in the PDF: <bookmeta> <data name="security-level" value="Internal only"/> </bookmeta> In this case the CSS rule should be the following: :root { string-set: security-level oxy_xpath("//*[contains(...
by julien_lacour
Mon Oct 24, 2022 1:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Selectable footer text for pdf
Replies: 3
Views: 484

Re: Selectable footer text for pdf

Hello Jeff, Sure you can, for example with the following CSS: /* args.css.param.security-level */ :root[security-level='public'] { string-set: security-level "Public"; } :root[security-level='internal'] { string-set: security-level "Internal only"; } :root[security-level='confide...
by julien_lacour
Mon Oct 24, 2022 9:26 am
Forum: Common Problems
Topic: Debugging java.lang.OutOfMemoryError issues
Replies: 18
Views: 4620

Re: Debugging java.lang.OutOfMemoryError issues

Hi Chris, Actually this indication is present at the end of the Increasing Memory Allocation for Java topic: If the Chemistry PDF CSS processor fails with an Out Of Memory Error, try adding the baseJVMArgLine parameter to the DITA-OT command line. For example: -DbaseJVMArgLine=-Xmx984m But still I w...
by julien_lacour
Fri Oct 21, 2022 1:56 pm
Forum: Common Problems
Topic: Reusable content (terms) in topics: how to make it look without hyperlinks?
Replies: 2
Views: 455

Re: Reusable content (terms) in topics: how to make it look without hyperlinks?

Hello, There is a way to change the display of abbreviated-forms, you can use the following rules in a CSS custom stylesheet : a:has(*[class ~= "abbrev-d/abbreviated-form"]) { -oxy-link: none; /* Remove the link on term */ } *[class ~= "abbrev-d/abbreviated-form"] { color: initia...
by julien_lacour
Fri Oct 21, 2022 12:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Appendix to another topic
Replies: 5
Views: 694

Re: Appendix to another topic

Hello Dorian, For the TOC, you will need to use an XSLT Extension Point, you can follow this topic to setup the publishing template. You will need to obtain something like this: A publishing template declaring the CSS and the XSLT files: <?xml version="1.0" encoding="UTF-8"?> <pu...
by julien_lacour
Thu Oct 20, 2022 1:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Syntax diagram in WebHelp Responsive Output is missing some attributes
Replies: 7
Views: 940

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

Hello Susanne, You're right, there is a problem in the syntaxdiagram elements processing, we added an issue to fix this problem on the next Oxygen 25.0 maintenance build. If you already have upgraded to Oxygen 25.0, the problem will resolve automatically when the maintenance build will be available ...