Search found 499 matches

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

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 executa...
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: 5369

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}\cu...
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: 1855

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

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 287 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: 1855

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

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...
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: 3021

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

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

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>...
by julien_lacour
Thu Nov 14, 2019 1:32 pm
Forum: Common Problems
Topic: topicgroup or topicset -- no headers/footers
Replies: 7
Views: 3973

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

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

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 customi...
by julien_lacour
Tue Nov 05, 2019 11:52 am
Forum: Common Problems
Topic: Place ditamap title in left-middle
Replies: 2
Views: 2077

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: Debuggin...
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: 2547

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

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

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:l...
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: 2547

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

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

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...