Search found 368 matches

by Dan
Mon Apr 15, 2019 3:36 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Topic titles in a header
Replies: 9
Views: 284

Re: Topic titles in a header

You should use the string defined earlier, like: @page { ... @bottom-right { content: string(chaptertitle)" - " "Page " counter(page); font-size: 10pt; } .. } Please read more information about string sets here (this is the userguide for the Oxygen PDF Chemistry engine that is used by the DITA PDF C...
by Dan
Fri Apr 12, 2019 3:54 pm
Forum: Common Problems
Topic: How to change the project language?
Replies: 9
Views: 1417

Re: How to change the project language?

In the PDF there are still i18n problems - we are preparing a nightly build with fixes. Please write on support@oxygenxml.com to get details about how to download it. The idea will be to change the output language just by setting the xml:lang on the root element or by using the 'default.language' tr...
by Dan
Fri Apr 12, 2019 8:30 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to skip numbering for some first topics?
Replies: 1
Views: 64

Re: How to skip numbering for some first topics?

You may find useful the documentation: https://www.oxygenxml.com/doc/versions/21.0/ug-pdf-css/topics/dcpp_numbering_intro.html The built-in CSS rules are in: [PLUGIN_DIR]/css/print/p-numbering-shallow.css and [PLUGIN_DIR]/css/print/p-numbering-deep.css . The first CSS contains the rules that add a "...
by Dan
Fri Apr 12, 2019 8:19 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Page breaks for chapters and sections titles
Replies: 3
Views: 103

Re: Page breaks for chapters and sections titles

Can you give details?

Thank you,
Dan
by Dan
Thu Apr 11, 2019 3:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Page breaks not working as intended
Replies: 6
Views: 161

Re: Page breaks not working as intended

We reproduced the problem, and we are now working to find a solution for this. We will let you know when we have a fix for that.
Many regards,
Dan
by Dan
Thu Apr 11, 2019 2:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Topic titles in a header
Replies: 9
Views: 284

Re: Topic titles in a header

You should change the stringset definition for chapter: In your case you can remove the " | " counter(chapter) from the string-set: *[class ~= "map/map"] *[class ~= "topic/topic"][is-chapter]:not([is-part]) > *[class ~= "topic/title"] { string-set: chaptertitle " | " counter(chapter) " - " content()...
by Dan
Wed Apr 10, 2019 3:55 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Page breaks not working as intended
Replies: 6
Views: 161

Re: Page breaks not working as intended

What oXygen version are you using?
Can you let us know the Chemistry build ID from the transformation console?

Thank you,
Dan
by Dan
Wed Apr 10, 2019 3:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Generation of Table of contents and index page
Replies: 7
Views: 255

Re: Generation of Table of contents and index page

Hello, Unfortunately putting the chapter number before the page number is not supported by the transformation. But putting a line of dots between the indexterm and the page can be done like this: *[class~="index/formatted-value"], *[class~="index/refid"] { display:inline; } *[class~="index/entry"] {...
by Dan
Tue Apr 09, 2019 9:05 am
Forum: Common Problems
Topic: Figure and Table numbering
Replies: 12
Views: 2369

Re: Figure and Table numbering

Hello,
Currently there is no way of doing this chapter-wise figure and table numbering. I will record a feature request.
Thank you,
Dan
by Dan
Mon Apr 08, 2019 3:40 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Topic titles in a header
Replies: 9
Views: 284

Re: Topic titles in a header

@Manohar_1024 Please change the string set definitions, or modify the headers directly, using the @page selectors: https://www.oxygenxml.com/doc/versions/21.0/ug-editor/topics/dcpp_headers_and_footers.html#ariaid-title9 Please read the entire page. Let me know if the documentation is not clear. Many...
by Dan
Mon Apr 08, 2019 3:30 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Generation of Table of contents and index page
Replies: 7
Views: 255

Re: Generation of Table of contents and index page

It is not clear, you succeeded in having a TOC and Index? If not, please read below: The index section collects all the index terms from the publication and shows them in a sorted tree. To add index to your publication, you just need to add index terms to the topics metadata: <title>The topic title....
by Dan
Fri Apr 05, 2019 12:59 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Topic titles in a header
Replies: 9
Views: 284

Re: Topic titles in a header

You need to reset that string on chapters of higher level. See that a string-set may define multiple values at once. For example in the default CSS we have a reset of the sectiontitle at each top level chapter title element: .. *[class ~= "topic/topic"][is-chapter]:not([is-part]) > *[class ~= "topic...
by Dan
Fri Apr 05, 2019 12:53 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Generation of Table of contents and index page
Replies: 7
Views: 255

Re: Generation of Table of contents and index page

Any DITA map generates in the PDF output a table of contents.
If the topics contain indexterms, these are collected and added to an index page at the end of the publication.
Try transforming the DITA samples bundled in oXygen and see the output.

Many regards,
Dan
by Dan
Thu Apr 04, 2019 3:40 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Picture titles formatting with CSS
Replies: 4
Views: 133

Re: Picture titles formatting with CSS

Hello, First of all, you need to use the CSS inspector over the merged HTML file, as it explained here: https://www.oxygenxml.com/doc/versions/21.0/ug-pdf-css/topics/dcpp_debugging_the_css.html Next, read: https://www.oxygenxml.com/doc/versions/21.0/ug-pdf-css/topics/dcpp_images.html?hl=figures#aria...
by Dan
Mon Apr 01, 2019 9:15 am
Forum: Common Problems
Topic: Extra point dot in Warning
Replies: 3
Views: 112

Re: Extra point dot in Warning

Please specify the context. Is it a PDF transformation, a Webhelp one, or you get this when editing?
Regards,
Dan
by Dan
Thu Mar 28, 2019 1:45 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Mathml in CSS based PDF output
Replies: 6
Views: 171

Re: Mathml in CSS based PDF output

Are the mathML equations inline or are stored as separate files?
by Dan
Thu Mar 28, 2019 12:47 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Mathml in CSS based PDF output
Replies: 6
Views: 171

Re: Mathml in CSS based PDF output

We will try to find a fix. Can you let us know what font do you want to use for the equations?

Many regards,
Dan
by Dan
Thu Mar 28, 2019 9:18 am
Forum: Common Problems
Topic: Positioning of content in footer in vertical alignment
Replies: 6
Views: 200

Re: Positioning of content in footer in vertical alignment

Hello, Please note that the page margin boxes do not have margins. You can try to use padding to obtain a similar effect: @page{ @bottom-center{ padding:1em; /* or: */ vertical-align:bottom; } } If you need to style the page margin boxes with some colors/graphics, you may consider creating an SVG as...
by Dan
Fri Mar 22, 2019 1:26 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Tables with split rows have extra padding in the second row
Replies: 1
Views: 98

Re: Tables with split rows have extra padding in the second row

Hello, What scenario are you using? The one based on HTML? I tested with: *[class ~= 'topic/entry'] { padding-top:0.5em; padding-bottom:0.25em; color:green; } and I see that the text is aligned correctly on the baseline of the table row. I recommend to try a transformation without a CSS customizatio...
by Dan
Wed Mar 20, 2019 4:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Named pages for Appendix and Glossary
Replies: 4
Views: 177

Re: Named pages for Appendix and Glossary

Make sure you set a navtitle on your appendix in the DITA map:

Code: Select all


	<appendix navtitle="The appendix title that shows in the TOC and content.">
<topicref href="first.dita"/>
<topicref href="second.dita"/>
<topicref href="third.dita"/>
</appendix>
Many regards,
Dan
by Dan
Tue Mar 19, 2019 4:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Named pages for Appendix and Glossary
Replies: 4
Views: 177

Re: Named pages for Appendix and Glossary

Is it the PDF CSS based on HTML transformation?

Regards,
Dan
by Dan
Tue Mar 19, 2019 4:17 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to customize appendix titles
Replies: 2
Views: 134

Re: How to customize appendix titles

Hello, There are some counters that are managed already by the builtin CSS: toc-section1, section1. You can use them like this: @namespace oxy "http://www.oxygenxml.com/extensions/author"; /* TOC */ /* * Start with a cleanup: remove all befores for all topicrefs in the appendix, no matter the depth....
by Dan
Tue Mar 19, 2019 3:34 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to leverage the rev attribute to put change bars in the output
Replies: 3
Views: 162

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

Hello,

Chemistry does not support PDF change bars - yet.

Can you post a screenshot with what you want to obtain? Maybe we can help.

Many regards,
Dan
by Dan
Tue Mar 19, 2019 3:32 pm
Forum: Common Problems
Topic: Cannot render the ⌥ symbol
Replies: 5
Views: 230

Re: Cannot render the ⌥ symbol

Hello,

Please try:

Code: Select all


*[class ~= "ui-d/uicontrol"], .uicontrol {
font-family: "Cambria Math", Symbol;
}
Many regards,
Dan
by Dan
Tue Mar 19, 2019 3:21 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Formatting for Index
Replies: 4
Views: 154

Re: Formatting for Index

If you are using the PDF CSS based on HTML, in the output folder you will find a HTML file representing the merged map. You can open it in a browser (Chrome for instance) and use the browser development tools to inspect the elements and styles. Please read: https://www.oxygenxml.com/doc/versions/21....
by Dan
Tue Mar 19, 2019 3:15 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA map PDF – based on HTML5 & CSS transformation
Replies: 13
Views: 511

Re: DITA map PDF – based on HTML5 & CSS transformation

Ok, I see now you are using the HTML5 based transformation. The fix I gave earlier is for the direct transformation, where the CSS is applied on the merged map. As a workaround, you can hide the "Note: " label: *[class ~= "glossentry/glossUsage"] > .note__title { display: none; } If you want to show...
by Dan
Mon Mar 18, 2019 3:26 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA map PDF – based on HTML5 & CSS transformation
Replies: 13
Views: 511

Re: DITA map PDF – based on HTML5 & CSS transformation

Hello, Thank you for the feedback! Indeed, this is a bug. The "glossary" CSS selectors in the -i18n.css should be after the "note" ones. We will fix this in the new version. As a workaround, copy the selector in your customization CSS: *[class ~= "glossentry/glossUsage"]:before { content: "Usage: ";...