Search found 512 matches

by julien_lacour
Fri Feb 07, 2020 3:31 pm
Forum: Common Problems
Topic: page counter reset issue
Replies: 20
Views: 9776

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...
by julien_lacour
Fri Feb 07, 2020 3:21 pm
Forum: Common Problems
Topic: Centre tables on a page
Replies: 4
Views: 3129

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

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

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

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

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

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 347 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: 639

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

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

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

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 on...
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: 1208

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

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"] { strin...
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: 5415

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

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

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

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 304 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: 1879

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

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

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

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

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

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

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

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

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

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

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

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

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