Search found 165 matches

by julien_lacour
Wed Feb 19, 2020 4:10 pm
Forum: Common Problems
Topic: Chemistry: Omit Cover Page and TOC?
Replies: 20
Views: 7156

Re: Chemistry: Omit Cover Page and TOC?

Hello, The single DITA Topic publishing is available starting with Oxygen 22 Transform Individual DITA Topics to CSS-based PDF Output A new transformation scenario called DITA PDF - based on HTML5 & CSS can be used to transform a single DITA topic to CSS-based PDF output. It automatically detects th...
by julien_lacour
Wed Feb 19, 2020 3:55 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to leverage the rev attribute to put change bars in the output
Replies: 7
Views: 1797

Re: How to leverage the rev attribute to put change bars in the output

Hello,

Starting with Oxygen version 22, content can be flagged using change bars.

For more information and how to use the change bars, please refer the documentation.

Regards,
Julien
by julien_lacour
Wed Feb 19, 2020 3:45 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to remove PDF bookmarks for task headings
Replies: 3
Views: 562

Re: How to remove PDF bookmarks for task headings

Hello Tanja,

This behavior is now set as default in the version 22 of Oxygen (released on February 12, 2020).

Regards,
Julien
by julien_lacour
Wed Feb 19, 2020 3:10 pm
Forum: Common Problems
Topic: Omit alternative title from header
Replies: 3
Views: 844

Re: Omit alternative title from header

Hello,

Please note that starting with Oxygen 22 the workaround isn't needed anymore.

Regards,
Julien
by julien_lacour
Wed Feb 19, 2020 2:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Overflow Wrap in Tables Overriding Hyphenation Rules
Replies: 14
Views: 2970

Re: Overflow Wrap in Tables Overriding Hyphenation Rules

Hello Niels,

Starting with Oxygen PDF Chemistry 22 you can search hyphenated words.
Hyphenated Words are Searchable
Hyphenated words are now searchable, and can be copied from a PDF reader and pasted in their original form without the hyphen.
Regards,
Julien
by julien_lacour
Wed Feb 19, 2020 2:46 pm
Forum: Common Problems
Topic: ::after pseudo-element not working with external links
Replies: 4
Views: 1177

Re: ::after pseudo-element not working with external links

Hello,

Starting with Oxygen 22, the '!important' is not needed anymore in this case.

Regards,
Julien
by julien_lacour
Wed Feb 19, 2020 2:40 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: css/html PDF mini toc customization
Replies: 2
Views: 770

Re: css/html PDF mini toc customization

Hi Adam,

Starting with Oxygen 22 you can configure the args.chapter.layout parameter to MINITOC-BOTTOM-LINKS to add the chapter with the links under its description.

You can find more information inside the documentation.

Regards,
Julien
by julien_lacour
Mon Feb 17, 2020 4:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: how to add version info in publishing PDF cover
Replies: 1
Views: 285

Re: how to add version info in publishing PDF cover

Hello, The easiest way to realize what you want is to use the oxy_xpath function inside a CSS customization. Using this function you can insert the current date in the cover page or collect and process the document contents . Do not hesitate to navigate inside the Chemistry Documentation , it contai...
by julien_lacour
Thu Feb 13, 2020 11:40 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF Customization: Styling step troubleshooting
Replies: 2
Views: 330

Re: PDF Customization: Styling step troubleshooting

Hello, Please note that you can debug your PDF output by using the .merged.html file generated in the output folder during the transformation. Any CSS modification is applied and visible directly on this file. This is the best way to check what selector should be used to match to your content. Regar...
by julien_lacour
Wed Feb 12, 2020 5:22 pm
Forum: Common Problems
Topic: page counter reset issue
Replies: 20
Views: 3383

Re: page counter reset issue

Hello Duncan,

In this case, please use the following:

Code: Select all

*[class ~= "map/map"][p|numbering^='deep-chapter-scope-no-page-reset'] *[class ~= "topic/topic"]:not([is-chapter]) + *[class ~= "topic/topic"][is-chapter] {
  counter-reset:page 1 !important;
}
Regards,
Julien
by julien_lacour
Tue Feb 11, 2020 11:20 am
Forum: Common Problems
Topic: page counter reset issue
Replies: 20
Views: 3383

Re: page counter reset issue

Hello Duncan, To reset your page numbering after the frontmatter do the following: Change the args.css.param.numbering parameter to "deep-chapter-scope-no-page-reset" In your CSS customization add the following lines: @namespace p "http://www.oxygenxml.com/extensions/publishing/dita/css/params"; *[c...
by julien_lacour
Tue Feb 11, 2020 10:02 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Display error with List of Figures on PDF transformation
Replies: 2
Views: 434

Re: Display error with List of Figures on PDF transformation

Hello Matt, Some of the figurelist titles are not displayed correctly because of trademarks element that are displayed as block, you can just display them inline: .figurelist *[class ~= "topic/title"] *[class ~= "topic/tm"] { display: inline; } The other titles are not displayed as expected due to i...
by julien_lacour
Mon Feb 10, 2020 12:12 pm
Forum: Common Problems
Topic: page counter reset issue
Replies: 20
Views: 3383

Re: page counter reset issue

Hello Duncan, The page counter is used to reset the page number, it is used in deep-chapter-scope to reset the page numbering at every chapter. It's not used in the deep-chapter-scope-no-page-reset numbering as we don't want to reset the page at every chapter. If you need more information about coun...
by julien_lacour
Fri Feb 07, 2020 3:31 pm
Forum: Common Problems
Topic: page counter reset issue
Replies: 20
Views: 3383

Re: page counter reset issue

Hello Duncan, Why don't you directly use the "deep-chapter-scope" numbering parameter instead of the "deep-chapter-scope-no-page-reset"? (see here for more details) If you want to customize the numbering, you can copy the default CSS selectors from the Numbering chapter and paste them inside your cu...
by julien_lacour
Fri Feb 07, 2020 3:21 pm
Forum: Common Problems
Topic: Centre tables on a page
Replies: 4
Views: 912

Re: Centre tables on a page

Hello Duncan, Unfortunately, we do not have an option to center the tables automatically inside a page, this should be done by table { margin-right: auto; margin-left: auto; } But this is not yet supported by the Apache FOP engine used inside Oxygen PDF Chemistry. Until we add this support you can u...
by julien_lacour
Wed Feb 05, 2020 3:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Display error with List of Figures on PDF transformation
Replies: 2
Views: 434

Re: Display error with List of Figures on PDF transformation

Hello, I cannot reproduce the problem on our side si is it possible for you to provide us a small sample where you can reproduce the issue (if possible). Could you also tell us which version of Oxygen do you use? Are you using a special numbering in your output (deep)? Do you use any CSS customizati...
by julien_lacour
Wed Feb 05, 2020 1:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF Cover Image in SVG format
Replies: 2
Views: 445

Re: PDF Cover Image in SVG format

Hello,

Could you try to do the following in your SVG file
  1. Declare xmlns:xlink="http://www.w3.org/1999/xlink" in <svg> elemnt
  2. Modify the href="logo.png" attribute to xlink:href="logo.png"
Regards,
Julien
by julien_lacour
Wed Feb 05, 2020 11:48 am
Forum: Common Problems
Topic: Centre tables on a page
Replies: 4
Views: 912

Re: Centre tables on a page

Hello Duncan, You should be able to center your table using the following selector: table { margin-right: 30%; margin-left: 30%; } Feel free to modify the values to fit your needs. There is also an issue on our side to add the 'auto' support for table margins but it will be in a future release. Rega...
by julien_lacour
Tue Feb 04, 2020 10:30 am
Forum: Common Problems
Topic: Landscape page formatting in pdf Chemistry
Replies: 5
Views: 1168

Re: Landscape page formatting in pdf Chemistry

The outputclass solution works as expected: Moving the outputclass onto either the <topic>, or the <figure> worked as desired. In each case it will depend on the content, so for some documents setting outputclass = wide on the figure, instead of the image, will work to keep the caption with the figu...
by julien_lacour
Thu Jan 30, 2020 11:34 am
Forum: Common Problems
Topic: Can I use 'html5' DITA-OT plugins with PDF Chemistry?
Replies: 6
Views: 1349

Re: Can I use 'html5' DITA-OT plugins with PDF Chemistry?

Hello Chris,

You can resolve this situation by adding an XSLT Extension Point to your DITA-OT plugin:

Code: Select all

<feature extension="com.oxygenxml.pdf.css.xsl.merged2merged" value="xref.xsl" type="file"/>
Then use the following stylesheet:
xref.zip
(624 Bytes) Downloaded 56 times
Regards,
Julien
by julien_lacour
Tue Jan 21, 2020 3:10 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: <codeph> trims spaces
Replies: 1
Views: 316

Re: <codeph> trims spaces

Hello Dmitry,

I've logged this issue on our tracking system and we will notify you when a fix will be available.

Regards,
Julien
by julien_lacour
Thu Jan 09, 2020 1:07 pm
Forum: Common Problems
Topic: Can I use 'html5' DITA-OT plugins with PDF Chemistry?
Replies: 6
Views: 1349

Re: Can I use 'html5' DITA-OT plugins with PDF Chemistry?

Hello,

Could you please send us a small sample and your customization at support@oxygenxml.com.
I will check why the extension point isn't applied on the intermediary HTML5 file.

Regards,
Julien
by julien_lacour
Tue Jan 07, 2020 12:44 pm
Forum: Common Problems
Topic: Can I use 'html5' DITA-OT plugins with PDF Chemistry?
Replies: 6
Views: 1349

Re: Can I use 'html5' DITA-OT plugins with PDF Chemistry?

Hello, Your extension points are used by the DITA-OT plugin which means that all the DITA transformation will use these extensions points (including the DITA Map HTML5 and obviously the DITA Map PDF - based on HTML5 & CSS transformations). In DITA Map PDF - based on HTML5 & CSS case, Oxygen PDF Chem...
by julien_lacour
Mon Dec 23, 2019 11:00 am
Forum: Common Problems
Topic: Indent from second line in case a numbered heading wraps
Replies: 4
Views: 1651

Re: Indent from second line in case a numbered heading wraps

This behavior will be controlled (starting with version 22) with the new DITA Map transformation parameter called "args.css.param.title-layout" which dynamically changes how the titles are displayed. normal (inline) The title is displayed in an element and if its content does not fit on one line it ...
by julien_lacour
Tue Dec 17, 2019 1:53 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Current date in PDF footer
Replies: 2
Views: 470

Re: Current date in PDF footer

Hello Joern,

Sure, you just need to use a function. Please see the details here.

Regards,
Julien
by julien_lacour
Fri Dec 13, 2019 4:30 pm
Forum: Common Problems
Topic: Omit alternative title from header
Replies: 3
Views: 844

Re: Omit alternative title from header

Hello, This was a bug on our side, as a workaround could you use the following CSS: *[class ~= "front-page/front-page-title"] > *[class ~= "topic/title"]{ string-set: none; } *[class ~= "front-page/front-page-title"] *[class ~= "bookmap/mainbooktitle"] { string-set: maptitle content(); } Regards, Ju...
by julien_lacour
Thu Dec 12, 2019 10:24 am
Forum: Common Problems
Topic: How do I automatically run a post-processing utility on the PDF file?
Replies: 8
Views: 1961

Re: How do I automatically run a post-processing utility on the PDF file?

Hello Chris, In your case you just need to modify the <exec> declaration: <exec dir="${scriptFolder}" executable="annotate_highlighted_changes.exe" resolveexecutable="true"> Here is the ant exec documentation related: When this attribute is true, the name of the executable is resolved firstly agains...
by julien_lacour
Tue Dec 10, 2019 11:00 am
Forum: Common Problems
Topic: How do I automatically run a post-processing utility on the PDF file?
Replies: 8
Views: 1961

Re: How do I automatically run a post-processing utility on the PDF file?

Hello Chris, You can use a custom build file to call your command line post process using ant. Here is a small example <?xml version="1.0" encoding="UTF-8"?> <project basedir="." default="dist"> <property name="scriptFolder" value="${basedir}\custom\script" /> <!--The DITA OT default build file--> <...
by julien_lacour
Wed Dec 04, 2019 5:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to skip chapter number for the first topic?
Replies: 7
Views: 842

Re: How to skip chapter number for the first topic?

Hello again,

Could you write us an email at support@oxygenxml.com. I can give you a snapshot of a more recent version of the Oxygen DITA-OT CSS Publishing plugin. Normally it should correct the numbering behavior.

Regards,
Julien
by julien_lacour
Wed Dec 04, 2019 11:08 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to skip chapter number for the first topic?
Replies: 7
Views: 842

Re: How to skip chapter number for the first topic?

Hello Dmitry,

I've updated your CSS files on my side and tested successfully.

Please check if this works also on your version:
CSS.zip
(4.88 KiB) Downloaded 55 times
Regards,
Julien