Search found 438 matches

by Dan
Wed Jun 20, 2018 2:46 pm
Forum: Common Problems
Topic: Tables border distort in pdf output
Replies: 10
Views: 2230

Re: Tables border distort in pdf output

The columns have a fixed width specified, something like 30pt, 400px, etc.. The problem is that when they sum up, the result is smaller than the border applied to the table. Until we fix the problem, please use proportional widths as a workaround. For example, if you have colspec width="100pt" colsp...
by Dan
Thu Jun 14, 2018 12:52 pm
Forum: Common Problems
Topic: customize cover page input bottom
Replies: 2
Views: 1390

Re: customize cover page input bottom

In this case I would make an SVG image with the formatted slogan text and colors. Then I would use: @bottom-left { content: " "; background-image:url('slogan.svg'); background-position:50% 50%; background-repeat: no-repeat; } You will need to specify a content, even if empty, otherwise the page marg...
by Dan
Wed Jun 13, 2018 4:35 pm
Forum: Common Problems
Topic: Customize cover page
Replies: 5
Views: 2063

Re: Customize cover page

You might find useful the CSS property text-decoration:overline instead of using a border.
by Dan
Wed Jun 13, 2018 4:30 pm
Forum: Common Problems
Topic: Customize cover page
Replies: 5
Views: 2063

Re: Customize cover page

Hello Thomas, The :after pseudo elements are "inside" the front-page-title, that is why the top border extends and covers the entire width. I propose the following workaround: - In your DITA Map, locate the <title> element and wrap its content in a <ph outputclass="bordered"> element. <map> <title><...
by Dan
Thu May 31, 2018 2:13 pm
Forum: Common Problems
Topic: Page breaks in Glossary
Replies: 4
Views: 1269

Re: Page breaks in Glossary

Hello, The glossref elements are on the first level in the DITA map and the publishing process considers them to be chapters. This is a bug. Workarounds: 1. Wrap the glossref elements into a topicref, or: 2. Change the XSL file [OXYGEN_INSTALL_DIR]/frameworks/dita/DITA-OT2.x/plugins/com.oxygenxml.pd...
by Dan
Thu May 31, 2018 1:50 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Hiding chapter number from selected topics
Replies: 3
Views: 810

Re: Hiding chapter number from selected topics

You can try to use a DITA bookmap instead of DITA map, and wrap the topics you do not need numbered into an appendix element. If the output is still not good, try getting help on the DITA users list: https://groups.google.com/forum/#!forum/dita-ot-users If you decide to use the CSS customizations fr...
by Dan
Wed May 30, 2018 4:31 pm
Forum: Common Problems
Topic: Page breaks in Glossary
Replies: 4
Views: 1269

Re: Page breaks in Glossary

Ok. Please reproduce with a very small sample, then send it to us using the support form: https://www.oxygenxml.com/contact.html

Many regards,
Dan
by Dan
Wed May 30, 2018 11:48 am
Forum: Common Problems
Topic: Page breaks in Glossary
Replies: 4
Views: 1269

Re: Page breaks in Glossary

Hello Anna, I could not reproduce the problem using a simple map. Please try to run the default transformation scenario, with no customization: If the page breaks are not appearing it means there are some selectors in your customization CSS that cause this problem. If the page breaks are still appea...
by Dan
Tue May 29, 2018 11:56 am
Forum: Common Problems
Topic: Chemistry: Omit Cover Page and TOC?
Replies: 19
Views: 4724

Re: Chemistry: Omit Cover Page and TOC?

Hi, In the next oXygen version there will be extension points for XSLT processing of the merged DITA map. Until then you can try to modify the post-process.xsl file from the DITA-OT that comes with oXygen: [OXYGEN_INSTALL_DIR]/frameworks/dita/DITA-OT2.x/plugins/com.oxygenxml.pdf.css/xsl/post-process...
by Dan
Tue May 29, 2018 11:28 am
Forum: Common Problems
Topic: Can't style the number of an ordered list, it always remains bold
Replies: 2
Views: 1528

Re: Can't style the number of an ordered list, it always remains bold

Indeed, there is a difference: For the screen is used the :before pseudo element while for the print the :marker pseudo element.
You should use:

Code: Select all


*[class~="topic/ol"] > *[class~="topic/li"]::marker {
font-weight:normal;
}
by Dan
Wed May 23, 2018 4:14 pm
Forum: Common Problems
Topic: Chemistry: Omit Cover Page and TOC?
Replies: 19
Views: 4724

Re: Chemistry: Omit Cover Page and TOC?

You could try something like:

Code: Select all



*[class ~= 'map/map'] > map {
display:none !important;
}
*[class ~= 'map/map'] > front-page{
display:none !important;
}
Many regards,
Dan
by Dan
Wed May 23, 2018 3:56 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: customize PDF output
Replies: 3
Views: 1022

Re: customize PDF output

Hello, To remove the chapter labels from the table of contents and titles, please add these selectors to your customization CSS: /* Titles in the TOC. */ *[class ~= "map/topicref"][is-part] > *[class ~= "map/topicmeta"] > *[class ~= "topic/navtitle"]:before{ content:none !important; } *[class ~= "ma...
by Dan
Fri May 18, 2018 9:20 am
Forum: General XML Questions
Topic: Blank Page after TOC
Replies: 4
Views: 2208

Re: Blank Page after TOC

Hello,
I am not sure why they appear, I did not reproduce it. But you should try using:

Code: Select all


 *[class ~= "topic/xref"][href][scope='external']:after,
*[class ~= "topic/link"][href][scope='external']:after {
display:none !important;
}
It should solve the problem.
Best regards,
Dan
by Dan
Thu May 17, 2018 3:53 pm
Forum: General XML Questions
Topic: Blank Page after TOC
Replies: 4
Views: 2208

Re: Blank Page after TOC

I think this situation was already solved. You can try to install a new snapshot Chemistry build from: http://mirror.oxygenxml.com/maven-nightly/com/oxygenxml/oxygen-pdf-chemistry/20.1-SNAPSHOT/oxygen-pdf-chemistry-20.1-SNAPSHOT-package.zip See the installation instructions from: https://www.oxygenx...
by Dan
Thu May 17, 2018 3:42 pm
Forum: Common Problems
Topic: Numbering titles
Replies: 1
Views: 776

Re: Numbering titles

One technique is to put an outputclass on the topicref elements in the map and on the root of the topics you do not want them numbered. Then in CSS match elements having this outputclass and avoid incrementing counters: /* Content */ *[class ~= "topic/topic"][is-chapter][outputclass ~= "no-counters"...
by Dan
Thu May 17, 2018 3:36 pm
Forum: Common Problems
Topic: Place caption below image
Replies: 1
Views: 1008

Re: Place caption below image

Unfortunately the flex CSS layout is not supported by the Chemistry PDF processor. I recommend making a change in the XSLT pipeline. Please locate the file "post-process.xsl" in your oXygen installation (the framewords/dita/DITA-OT2.x/plugins/com.oxygenxml.pdf.css/xsl folder) and add the following X...
by Dan
Thu May 17, 2018 11:56 am
Forum: Common Problems
Topic: Styling titles
Replies: 1
Views: 720

Re: Styling titles

Hello, Try adding the following rule to the customization CSS: *[class ~= "topic/topic"] > *[class ~= "topic/title"]{ margin-top: 10em; background-color: pink; } If it does not work (should create huge spaces before the titles and render them in pink), it means there are other CSS rules that change ...
by Dan
Thu May 10, 2018 2:09 pm
Forum: Common Problems
Topic: How to add a customized PDF cover
Replies: 8
Views: 3011

Re: How to add a customized PDF cover

Hello, If you intend to use the WYSIWYG transformation scenario and you do not have installed a Prince XML PDF CSS processor on your system, please upgrade to the latest Oxygen version. This comes with the Oxygen Chemistry PDF CSS processor embedded and this can be selected from the transformation s...
by Dan
Wed May 09, 2018 10:12 am
Forum: Common Problems
Topic: Link with page number on same page
Replies: 1
Views: 1152

Re: Link with page number on same page

Hello Arnaud,

Sorry, there is no support in the PDF processor for this.

But wouldn't be confusing for the reader to see that the majority of links have the "(on page XYZ)" suffix and some of the do not? Probably for these links inside the same page it should be "(on this page)"..

Many regards,
Dan
by Dan
Wed May 09, 2018 9:39 am
Forum: Common Problems
Topic: Hiding shortdesc in related informations
Replies: 2
Views: 1332

Re: Hiding shortdesc in related informations

The link descriptions coming from the DITA relationship tables or from in-topic related links elements are structured in the merged map as: <related-links class="- topic/related-links "> <linkpool class="- topic/linkpool "> <link class="- topic/link " ... role="friend" scope="local" type="topic"> <l...
by Dan
Wed May 09, 2018 8:59 am
Forum: General XML Questions
Topic: SVG obhect centering issue
Replies: 2
Views: 1387

Re: SVG obhect centering issue

Hello Anna, Your CSS is good, it works for me when I refer a small-size SVG sample. Can you send us an SVG that exhibits the problem? You can use the technical support form. The lines: margin: auto; display:block; are not necessary, the content of a @top-center page margin box has the property "text...
by Dan
Fri May 04, 2018 8:53 am
Forum: XSLT and FOP
Topic: Add page break to topicref at map level
Replies: 7
Views: 2702

Re: Add page break to topicref at map level

For clarity I add here an XSL snippet (it should be added to your customization XSL for the PDF2 DITA-OT plugin). It contains a modified copy of the template from the DITA-OT\plugins\org.dita.pdf2\xsl\fo\commons.xsl stylesheet: <xsl:template match="*" mode="commonTopicProcessing"> <xsl:variable name...
by Dan
Wed Apr 11, 2018 12:45 pm
Forum: General XML Questions
Topic: Center image in PDF output by CSS
Replies: 3
Views: 1682

Re: Center image in PDF output by CSS

Yes, there were some delays because of the Orthodox Easter holidays. I've already replied on the private email.

Regards,
Dan
by Dan
Wed Apr 11, 2018 10:07 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customize chapter in toc
Replies: 4
Views: 1235

Re: Customize chapter in toc

Hello, Indeed, the children of the shortdesc are considered blocks. This is a bug - a side effect from the fact we considered the topicmeta elements at any level to be blocks. I corrected it, the fix will enter the next oXygen version. As a workaround, please add to your CSS the following snippet: *...
by Dan
Thu Apr 05, 2018 4:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: hazardstatement output in pdf is distorted
Replies: 2
Views: 735

Re: hazardstatement output in pdf is distorted

Yes, this is a bug, I will record it in our issue tracker. As a workaround add this to your customization CSS:

Code: Select all


*[class~='hazard-d/hazardstatement'] {
min-width: auto;
}
by Dan
Thu Apr 05, 2018 4:13 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customize chapter in toc
Replies: 4
Views: 1235

Re: Customize chapter in toc

Hello, 1) The following is an example of customizing the font size for the items representing chapters. The chapters are level one topics and are marked in the merged DITA document TOC with the "is-chapter" attribute: *[class ~= "map/topicref"][is-chapter = "true"] > *[class ~= "map/topicmeta"] > *[...
by Dan
Thu Apr 05, 2018 2:57 pm
Forum: General XML Questions
Topic: Center image in PDF output by CSS
Replies: 3
Views: 1682

Re: Center image in PDF output by CSS

Hello Anna, Check the placement attribute is set to "break" on your images (others than the ones from the fig element) and use the following CSS snippet: /* This centers the title text and the image if the image has the placement attribute set to inline. The inline placement is the the default. */ *...
by Dan
Thu Apr 05, 2018 12:31 pm
Forum: Common Problems
Topic: Create a copyright page in PDF output from Chemistry
Replies: 3
Views: 2134

Re: Create a copyright page in PDF output from Chemistry

See the replies from that topic.
Cheers,
Dan
by Dan
Thu Apr 05, 2018 10:06 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add a copyright page to PDF output from Chemistry CSS-PDF transformation
Replies: 1
Views: 730

Re: Add a copyright page to PDF output from Chemistry CSS-PDF transformation

Indeed, a bookmap would be more appropriate for your use case. However, you can add a synthetic page using the following technique. In your customization CSS add the following: @namespace oxy "http://www.oxygenxml.com/extensions/author"; /* Declare a new page. */ @page copyright-notice-page { @top-l...
by Dan
Wed Mar 21, 2018 10:31 am
Forum: Common Problems
Topic: Tracking changes in PDF Output
Replies: 5
Views: 1437

Re: Tracking changes in PDF Output

I am not sure what happens. It would be great if you can send us an example PDF and small DITA topic showing the problem. Please zip them and send them using the technical support form: https://www.oxygenxml.com/techSupport.html

Many regards,
Dan