Search found 24 matches

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: 3
Views: 235

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: 3
Views: 235

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

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

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: 2
Views: 143

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

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

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

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

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 8 times
Regards,
Julien
by julien_lacour
Tue Dec 03, 2019 1:42 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to skip chapter number for the first topic?
Replies: 7
Views: 267

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

Hello,

Could you give us a small sample in which the issue appears?
Like this we can analyze where is the problem and fix it.

Regards,
Julien
by julien_lacour
Mon Dec 02, 2019 1:29 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to skip chapter number for the first topic?
Replies: 7
Views: 267

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

Hello, You can do this using the following selector in your CSS customization: *[class ~= "map/map"][numbering^='deep'] *[class ~= "topic/topic"][outputclass="before-toc"] + *:not([outputclass="before-toc"]) { counter-reset: chapter; } Please note that you can debug your customization using the tran...
by julien_lacour
Wed Nov 20, 2019 10:55 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How can I change monospace elements to sans-serif
Replies: 9
Views: 379

Re: How can I change monospace elements to sans-serif

Hello Adam, I can provide you a snapshot of the current version of the oxygen-publishing-engine, can you contact us at support@oxygenxml.com. If the problem still reproduces in this version feel free to send us an email with a sample of your customization, like this we will try to reproduce your pro...
by julien_lacour
Fri Nov 15, 2019 12:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How can I change monospace elements to sans-serif
Replies: 9
Views: 379

Re: How can I change monospace elements to sans-serif

If what you want is simply replacing the default font for monospace contents you should do the following in your custom CSS file: .pre, .filepath, .codeph, .codeblock { font-size: 10pt; font-family: Roboto; } Feel free to modify this sample, add some classes, etc... if I omit something. Regards, Jul...
by julien_lacour
Thu Nov 14, 2019 6:11 pm
Forum: Common Problems
Topic: topicgroup or topicset -- no headers/footers
Replies: 7
Views: 492

Re: topicgroup or topicset -- no headers/footers

The idea is this is semantic, this is why I linked the topics from DITA documentation. In the topicgroup documentation it's indicated "The <topicgroup> element groups <topicref> elements for common treatment without affecting the structural hierarchy of the map, as opposed to nesting <topicref> elem...
by julien_lacour
Thu Nov 14, 2019 1:32 pm
Forum: Common Problems
Topic: topicgroup or topicset -- no headers/footers
Replies: 7
Views: 492

Re: topicgroup or topicset -- no headers/footers

Hello, The part with <topicset> was related to 'is-chapter' propagation inside the output only: When using <topicgroup> the child <topicref> will receive the correct attribute as if the parent did not exists. When using <topicset>, all children will remain without attribute as the parent receive the...
by julien_lacour
Mon Nov 11, 2019 5:04 pm
Forum: Common Problems
Topic: topicgroup or topicset -- no headers/footers
Replies: 7
Views: 492

Re: topicgroup or topicset -- no headers/footers

Hello, There is an issue on our side, as you indicated the topicgroup element should be ignored by the process in this case. We are correcting this asap and get back to you with a link to dita-publishing-engine snapshot version to generate correctly your output. Moreover, the only behavior modified ...
by julien_lacour
Tue Nov 05, 2019 4:59 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How can I change monospace elements to sans-serif
Replies: 9
Views: 379

Re: How can I change monospace elements to sans-serif

Hello Adam, What I will recommend for you is NOT using the * selector inside you customization. Instead you should prefer: /* This will customize the main title */ *[class ~= "front-page/front-page-title"] { font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif; } /* This will customize the con...
by julien_lacour
Tue Nov 05, 2019 11:52 am
Forum: Common Problems
Topic: Place ditamap title in left-middle
Replies: 2
Views: 204

Re: Place ditamap title in left-middle

Hello, I think your customization is setting the title on the left part of the page, can you please try the default scenario and see if you can reproduce the problem? Furthermore, you can debug your transformation by using the "merged.html" file, please refer to our documentation: Debugging the CSS ...
by julien_lacour
Wed Oct 30, 2019 3:24 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to change the Content and Chapter to Chinese character in generated PDF
Replies: 8
Views: 277

Re: How to change the Content and Chapter to Chinese character in generated PDF

Hello,

We have corrected this behavior in the current release of DITA-OT CSS Publishing to PDF Plugin.
If you want, you can contact us at support@oxygenxml.com and we can provide you a SNAPSHOT of the new version for testing.

Regards,
Julien
by julien_lacour
Wed Oct 30, 2019 2:35 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to remove PDF bookmarks for task headings
Replies: 2
Views: 140

Re: How to remove PDF bookmarks for task headings

Hello Tanja,

Sure you can disable the bookmarks for task label using the following code in your CSS:

Code: Select all

*[class~="tasklabel"] {
	bookmark-label: none;
	-ah-bookmark-label:none;
}
Regards,
Julien
by julien_lacour
Tue Oct 29, 2019 12:43 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to change the Content and Chapter to Chinese character in generated PDF
Replies: 8
Views: 277

Re: How to change the Content and Chapter to Chinese character in generated PDF

Hello, As I explain in my first answer, the ditamap xml:lang attribute must be set to "zh-cn". In your case the result should be like this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd"> <map xml:lang="zh-cn"> <title xml:lang="zh">CBS产品文档中文</title...
by julien_lacour
Mon Oct 28, 2019 11:01 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to change the Content and Chapter to Chinese character in generated PDF
Replies: 8
Views: 277

Re: How to change the Content and Chapter to Chinese character in generated PDF

Hello,

Can you please verify if the attribute xml:lang is not set inside one of your topics.
If this attribute is set, it changes the display in the output PDF.
If this not resolve your problem, can you please send us a small sample of your map?

Regards,
Julien
by julien_lacour
Wed Oct 23, 2019 5:12 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to change the Content and Chapter to Chinese character in generated PDF
Replies: 8
Views: 277

Re: How to change the Content and Chapter to Chinese character in generated PDF

Hello,

For now, if you want the Content, Chapter 1, etc... texts to be translated in chinese you have to set your ditamap @xml:lang attribute to "zh-cn" (the value should be all in lower case).

Regards,
Julien
by julien_lacour
Wed Oct 16, 2019 4:15 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Formatting of Footers for PDF Output
Replies: 4
Views: 266

Re: Formatting of Footers for PDF Output

Hello, The usage of SVG background image is a good practice in this case: it will allow you to fine tune your content and the SVG format can adapt to all your different output formats. You can find more information about customization with SVG by following this link: How to Decorate the Header by Us...