Search found 482 matches

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: 7
Views: 234

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: 7
Views: 234

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...
by julien_lacour
Wed Mar 13, 2024 6:04 pm
Forum: Common Problems
Topic: com.oxygenxml.chemistry.e.fb error with a custom transform
Replies: 7
Views: 234

Re: com.oxygenxml.chemistry.e.fb error with a custom transform

Hello Vincent, In order to analyze this I need a small sample where this problem occurs: usually one or more topics and the publishing template or at least the CSS stylesheet(s). Is it possible for you to send this at support@oxygenxml.com? Note: If your DITA documents contain some sensitive content...
by julien_lacour
Wed Mar 13, 2024 1:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Styling definition lists like a table
Replies: 1
Views: 115

Re: Styling definition lists like a table

Hello,

You can follow the How to Convert Definition Lists into Tables topic from our user guide to realize this customization, it explains step by step how to create the publishing template and the XSLT stylesheet that transforms <dl> into tables.

Regards,
Julien
by julien_lacour
Mon Mar 11, 2024 12:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Footnotes Related to Tables in PDF Documents
Replies: 22
Views: 3730

Re: Footnotes Related to Tables in PDF Documents

Hello Heidi, 1. To take the callout attribute value into account, you need to change a little bit the stylesheets: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema&quo...
by julien_lacour
Wed Mar 06, 2024 11:06 am
Forum: Common Problems
Topic: NPE / How can i locate an error in CSS Stylesheets?
Replies: 3
Views: 181

Re: NPE / How can i locate an error in CSS Stylesheets?

Hi Frank,

I also added an issue to change the exception into an error message, I will notify this thread when it will be fixed.

Regards,
Julien
by julien_lacour
Tue Mar 05, 2024 2:28 pm
Forum: Common Problems
Topic: NPE / How can i locate an error in CSS Stylesheets?
Replies: 3
Views: 181

Re: NPE / How can i locate an error in CSS Stylesheets?

Hello Frank, The problem is that you declare the CSS variables (like --margin-above) under the :root pseudo-class but use them under the @page rules. The :root class is at document level where @page is "above" it: if you use the variables in @page you should declare them in @page too. Rega...
by julien_lacour
Thu Feb 29, 2024 12:56 pm
Forum: Common Problems
Topic: Floating License with Chemistry
Replies: 1
Views: 113

Re: Floating License with Chemistry

Hello,

Oxygen PDF Chemistry cannot be connected to a license server to get its license, you need to copy the trial or purchased license into the licensekey.txt file as explained in the topic you linked.

Regards,
Julien
by julien_lacour
Fri Feb 16, 2024 12:20 pm
Forum: General XML Questions
Topic: Changing cover page for PDF
Replies: 1
Views: 126

Re: Changing cover page for PDF

Hello,

I think the usage of the oxy_xpath() function as described in How to Use Different Background Cover Images Based on Bookmap or Map Information will help you achieve what you need.
Don't hesitate to give us feedback on the topic, it will help us making it better.

Regards,
Julien
by julien_lacour
Wed Feb 14, 2024 10:47 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Repeating chapter titles at the top of each page
Replies: 2
Views: 299

Re: Repeating chapter titles at the top of each page

Hello, The only solution that came to me in mind is to duplicate the chapter in order to add the title again in the document: <chapter keyref="using_the_product"> <topicref keyref="topic1" outputclass="page-break-after"/> </chapter> <chapter keyref="using_the_produ...
by julien_lacour
Thu Feb 01, 2024 4:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Error "cannot invoke "String.length()" because "<local12>"is null."
Replies: 3
Views: 388

Re: Error "cannot invoke "String.length()" because "<local12>"is null."

Hi,

Could you try to start Oxygen using the oxygen.bat script and launch the transformation again, then copy the stacktrace here?
Or you can try to send us the debugging log of Oxygen in the online form.

Regards,
Julien
by julien_lacour
Thu Feb 01, 2024 10:12 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Error "cannot invoke "String.length()" because "<local12>"is null."
Replies: 3
Views: 388

Re: Error "cannot invoke "String.length()" because "<local12>"is null."

Hello,

Is it possible for you to send us the console output of the transformation? It is in the tab named after the transformation:
image.png
image.png (12.44 KiB) Viewed 374 times
You can send it directly to support@oxygenxml.com for analysis.

Regards,
Julien
by julien_lacour
Mon Jan 29, 2024 1:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Crop marks using Chemistry
Replies: 4
Views: 391

Re: Crop marks using Chemistry

Hello, A workaround for this could be to use an SVG file as background for the whole PDF, I already did an example: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg x...
by julien_lacour
Fri Jan 26, 2024 10:56 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Crop marks using Chemistry
Replies: 4
Views: 391

Re: Crop marks using Chemistry

Hello,

Currently Oxygen PDF Chemistry doesn't support crop marks display in PDF, I added a feature request in our tracking system.
When it will be available, I will post on this topic.

Regards,
Julien
by julien_lacour
Thu Jan 25, 2024 4:36 pm
Forum: Common Problems
Topic: Back-cover page - finding difficulty in adding text after image - screenshot
Replies: 1
Views: 429

Re: Back-cover page - finding difficulty in adding text after image - screenshot

Hello,

Could you indicate which Oxygen version you are using and which transformation scenario?
If you are using DITA, you can already try to search in the user-guide.

Regards,
Julien
by julien_lacour
Tue Jan 09, 2024 2:25 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Can't get z-index to work
Replies: 5
Views: 564

Re: Can't get z-index to work

Hello, Could you send us a small sample at support@oxygenxml.com, we can try to optimize your "last in chain" solution to make it clearer for anybody checking your customization. We will need at least one of the topics with the images, and the stylesheet(s) you are using in your transforma...
by julien_lacour
Thu Jan 04, 2024 11:25 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Difficulty styling TOC content using CSS
Replies: 9
Views: 746

Re: Difficulty styling TOC content using CSS

Hello, I added your CSS to my sample, and using <oXygen/> XML Editor 26.0, build 2023100905 I still obtain aligned numbers in TOC. I tried to debug my CSS and opened the merged.html file in Author mode: *[class~='map/topicref'] > *[class~='map/topicmeta'] > *[class~='topic/navtitle']:after { backgro...
by julien_lacour
Wed Jan 03, 2024 11:20 am
Forum: Common Problems
Topic: Footer text overlapping on Image in PDF
Replies: 2
Views: 446

Re: Footer text overlapping on Image in PDF

Hello, Usually this happens when you have a page break avoid property set in your custom CSS stylesheet. You should debug the CSS to see if there is such rule set on images, and if it exists, remove it and see if the problem disappears. Search for any of these properties: page-break-after / page-bre...
by julien_lacour
Fri Dec 22, 2023 5:56 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Difficulty styling TOC content using CSS
Replies: 9
Views: 746

Re: Difficulty styling TOC content using CSS

Hello,

I don't have <oXygen/> XML Editor 25.1, build 2023042509, only the last maintenance build 2023070306 but the problem doesn't seems to be present on this version.
Maybe you could try to update to this last maintenance build and see if the page numbers align.

Regards,
Julien
by julien_lacour
Fri Dec 22, 2023 4:26 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Difficulty styling TOC content using CSS
Replies: 9
Views: 746

Re: Difficulty styling TOC content using CSS

Hello,

I tested on my side using <oXygen/> XML Editor 26.0, build 2023100905, the CSS I gave you previously and deep numbering, the result is the following:
deep_toc.png
deep_toc.png (45.43 KiB) Viewed 622 times
Maybe you have other rules disrupting the TOC display: different fonts, margins, paddings, etc.

Regards,
Julien
by julien_lacour
Wed Dec 20, 2023 12:36 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Difficulty styling TOC content using CSS
Replies: 9
Views: 746

Re: Difficulty styling TOC content using CSS

Hello, In this case you need to set the args.css.param.title-layout parameter value to "table". Then, you can set a width for each cell containing the chapter numbering: *[class ~= "map/map"][title-layout='table'] *[class ~= "map/topicref"][is-part] > *[class ~= "m...
by julien_lacour
Tue Dec 19, 2023 11:30 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Difficulty styling TOC content using CSS
Replies: 9
Views: 746

Re: Difficulty styling TOC content using CSS

Hello, You're right the <topicref> element includes both chapter number and title, to add a space you should use an deeper element in the structure, for example navtitle: *[class ~= "map/topicref"] *[class ~= "topic/navtitle"] { margin-left: 1em; } You can use your favorite brows...
by julien_lacour
Thu Dec 14, 2023 12:10 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Formatting a glossary like an index...?
Replies: 1
Views: 311

Re: Formatting a glossary like an index...?

Hi David, By default glossentries are displayed following the ditamap apparition order. You can group them in a <glossgroup> element (as a separate file), this element can contains multiple <glossentry>, this could be easier to sort. If you are using a bookmap, you can also wrap them in a <glossaryl...
by julien_lacour
Wed Dec 13, 2023 4:53 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Glossary List in BookMap
Replies: 2
Views: 317

Re: Glossary List in BookMap

Hello, You can hide entries from the WebHelp menu by setting some metadata on the topicref: <backmatter> <booklists> <indexlist/> <glossarylist> <topicref keys="COG" href="glossary/glossaryCOG.dita"> <topicmeta> <data name="wh-menu"> <data name="hide" value=&q...
by julien_lacour
Wed Dec 13, 2023 2:44 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Can't get z-index to work
Replies: 5
Views: 564

Re: Can't get z-index to work

Hello, I'm not sure I fully understood the "last in chain" part, you need to have the image inside the DITA topic? Basically you can directly refer the combined image in the CSS and keep it close to it to make this works. Maybe you could send us a small sample with the topic, the images an...
by julien_lacour
Tue Dec 12, 2023 12:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Xpath epressions in SVG not expanding
Replies: 5
Views: 380

Re: Xpath epressions in SVG not expanding

I've also seen the broken link on this page, we will correct it.
Thank you for the report!

Regards,
Julien
by julien_lacour
Tue Dec 12, 2023 12:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Xpath epressions in SVG not expanding
Replies: 5
Views: 380

Re: Xpath epressions in SVG not expanding

Hello David,

The file extension must be .template.svg for the processor to use it as a template. Default SVGs with classic extensions aren't processed.
You can find more details here: https://www.oxygenxml.com/doc/versions/ ... lates.html

Regards,
Julien
by julien_lacour
Tue Dec 12, 2023 11:17 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Xpath epressions in SVG not expanding
Replies: 5
Views: 380

Re: Xpath epressions in SVG not expanding

Hello,

Could you provide a sample with the SVG template and the CSS you are using?
You can share it here or you can send it to support@oxygenxml.com for analysis.

Regards,
Julien
by julien_lacour
Mon Dec 11, 2023 5:12 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Can't get z-index to work
Replies: 5
Views: 564

Re: Can't get z-index to work

Hello, Oxygen PDF Chemistry doesn't support z-index yet, I added your vote to the feature request and I will notify this thread once the support will be available. The only workaround could be to merge both images in a single one (an SVG for example) and position the final result in the PDF. Regards...
by julien_lacour
Wed Dec 06, 2023 4:35 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF Output: equations are not displayed
Replies: 3
Views: 377

Re: PDF Output: equations are not displayed

Hello,

Basically there's no difference between the Preferences > DITA option and the dita.dir parameter except the scope: the option is set globally when the parameter is only for the edited scenario.

Regards,
Julien