Search found 447 matches

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: 9
Views: 1108

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

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: 9
Views: 1108

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

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

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

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

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

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

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

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

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: 4
Views: 698

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

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

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

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: 14
Views: 1993

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: 14
Views: 1993

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: ";...
by Dan
Mon Mar 18, 2019 3:01 pm
Forum: Common Problems
Topic: Border has unneccesaty padding
Replies: 4
Views: 956

Re: Border has unneccesaty padding

Hello, This thread is about the CSS PDF customization (oXygen Specific), not about the standard transformation provided by the PDF2 DITA-OT plugin. If you have problems with the PDF2 plugin you can: - request details on the DITA users list: https://groups.google.com/forum/#!forum/dita-ot-users - fil...
by Dan
Fri Mar 15, 2019 12:21 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: extra margins by empty elements
Replies: 3
Views: 547

Re: extra margins by empty elements

Hello, Yes, this is a bug, i will record it. The IDs are generating anchor elements that separate the adjacent margins of the siblings. For instance, the empty context element will generate an inline that inhibits the automatic collapse of the margins of the prereq (the element before) and steps (th...
by Dan
Wed Mar 06, 2019 5:08 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Overflow Wrap in Tables Overriding Hyphenation Rules
Replies: 12
Views: 1820

Re: Overflow Wrap in Tables Overriding Hyphenation Rules

Hello, Thank you for the examples. First, make sure you remove the quotes from the hyphenation properties: -oxy-hyphenation-push-character-count: 6 !important; /* Minimum 3 characters pushed to next line */ -oxy-hyphenation-remain-character-count: 2 !important; /* Minimum 4 characters remain on prev...
by Dan
Tue Mar 05, 2019 4:50 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Figures in steps and substeps
Replies: 1
Views: 351

Re: Figures in steps and substeps

Do you mean a background image for the task? Set an outputclass on the tasks you want to have that background and write a CSS rule to match it and set the background to the element. Another way would be to have a special page and associate it to the tasks class. Read about page backgrounds here: htt...
by Dan
Tue Mar 05, 2019 4:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Overflow Wrap in Tables Overriding Hyphenation Rules
Replies: 12
Views: 1820

Re: Overflow Wrap in Tables Overriding Hyphenation Rules

Can you send us to support some sample API words that are not hyphenated?

Many regards,
Dan
by Dan
Fri Mar 01, 2019 3:59 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Overflow Wrap in Tables Overriding Hyphenation Rules
Replies: 12
Views: 1820

Re: Overflow Wrap in Tables Overriding Hyphenation Rules

I verified the current implementation (from oXygen 21) and it does hyphenation at the case change. Do you use oXygen 20.1? If running with oXygen 21 and you still have problems, please send us using the transformation console log: https://www.oxygenxml.com/techSupport.html You can also download and ...
by Dan
Fri Mar 01, 2019 1:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Overflow Wrap in Tables Overriding Hyphenation Rules
Replies: 12
Views: 1820

Re: Overflow Wrap in Tables Overriding Hyphenation Rules

Hello,

Ok. We will send you a download link when we will have the fix ready.

Many regards,
Dan
by Dan
Thu Feb 28, 2019 4:47 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF - CSS (DITA) Transform Creates a Duplicate Blank First Page
Replies: 3
Views: 689

Re: PDF - CSS (DITA) Transform Creates a Duplicate Blank First Page

I think you can safely remove them from your customization.

Many regards,
Dan
by Dan
Thu Feb 28, 2019 12:08 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Overflow Wrap in Tables Overriding Hyphenation Rules
Replies: 12
Views: 1820

Re: Overflow Wrap in Tables Overriding Hyphenation Rules

Another idea: If your API names are wrapped in an element, like a codeph, you can set overflow-wrap: break-word; on this element, and leave the parent table with the hyphenation settings.

Many regards,
Dan
by Dan
Thu Feb 28, 2019 12:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Overflow Wrap in Tables Overriding Hyphenation Rules
Replies: 12
Views: 1820

Re: Overflow Wrap in Tables Overriding Hyphenation Rules

The problem is that we implemented overflow wrap using hyphenation. Anyway, is not a good idea to mix both of them, as there is no priority defined in the standard. Your situation is like this: - Some of the table cells contain API names, that are long, without dashes or underscores, but having a ca...
by Dan
Tue Feb 26, 2019 1:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Differences in PDF Output Between 20.1 and 21.0
Replies: 2
Views: 537

Re: Differences in PDF Output Between 20.1 and 21.0

Hello Carl, Starting with version 21.0 the DITA publishing respects the DITA specification for the bookmaps. A bookmap will have the frontmatter and backmatter shown in the table of contents, bookmarks tree, etc.. To avoid the frontmatter and backmatter topics being listed in the TOC, you need to se...