Search found 501 matches
- by Dan
- Fri Sep 07, 2018 2:34 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: CSS-based PDF: Question about Avoid rules
- Replies: 2
- Views: 1673
Re: CSS-based PDF: Question about Avoid rules
Hello,
Indeed, the property controls the break on columns and pages at the same time, and there is no workaround for this.
We will take a look to see if this can be implemented to ignore by default the column breaks.
Thank you,
Dan
Indeed, the property controls the break on columns and pages at the same time, and there is no workaround for this.
We will take a look to see if this can be implemented to ignore by default the column breaks.
Thank you,
Dan
- by Dan
- Fri Sep 07, 2018 10:00 am
- Forum: Common Problems
- Topic: Chapter First Page -- Big Logo and Big Top Margin
- Replies: 2
- Views: 2576
Re: Chapter First Page -- Big Logo and Big Top Margin
The "top-left-corner", "top-left", "top-center", "top-right", "top-right-corner" are all placed in the top margin of your page. (See https://www.oxygenxml.com/doc/versions/20.1/ug-chemistry/topics/ch_page_formatting.html, the "Page Margin Boxes&...
- by Dan
- Thu Sep 06, 2018 4:27 pm
- Forum: Common Problems
- Topic: Chemistry chokes on extended-ISO entity
- Replies: 3
- Views: 2872
Re: Chemistry chokes on extended-ISO entity
I checked with Arial Unicode MS font and it works better. The correct version (the above selector works only for the DITA and CSS direct transformation, not the one that uses HTML as intermediate format): *[class ~= "topic/dl"], .dl { font-family: "Times New Roman", "Arial U...
- by Dan
- Thu Sep 06, 2018 9:56 am
- Forum: Common Problems
- Topic: Chemistry chokes on extended-ISO entity
- Replies: 3
- Views: 2872
Re: Chemistry chokes on extended-ISO entity
To fix this you will need to use a fallback font. If you are using Times New Roman for the entire publication, you may consider adding Symbol as a fallback. In your customization CSS add: *[class ~= "topic/dlentry"] { font-family: "Times New Roman", Symbol; } Or other font that c...
- by Dan
- Wed Sep 05, 2018 2:57 pm
- Forum: Common Problems
- Topic: Chemistry: Omit Cover Page and TOC?
- Replies: 20
- Views: 12498
Re: Chemistry: Omit Cover Page and TOC?
I am glad it worked! I added more info about your usecase to the userguide of the DITA CSS PDF plugin, it will be available when we release the next version. The built-in CSS rules contain something like: *[class~='topic/topic'][is-chapter] { -oxy-page-group : start; } The "start" value ma...
- by Dan
- Tue Sep 04, 2018 3:13 pm
- Forum: Common Problems
- Topic: format-date(current-date()) problem
- Replies: 5
- Views: 4686
Re: format-date(current-date()) problem
It looks like Saxon HE is limited by design: https://sourceforge.net/p/saxon/mailman/message/26849522/ The only workaround is to format the date like this: ... content: oxy_xpath("let $cm:= format-date(current-date(), '[MNn]') \ return concat( \ if ($cm= 'January') then 'JAN' else \ if ($cm= 'F...
- by Dan
- Tue Sep 04, 2018 2:52 pm
- Forum: Common Problems
- Topic: format-date(current-date()) problem
- Replies: 5
- Views: 4686
Re: format-date(current-date()) problem
Yes, indeed, I tested the expression using the Saxon SA XPath processor, while the Chemistry distribution contains Saxon HE. I will check what happens.
Thank you for the feedback!
Dan
Thank you for the feedback!
Dan
- by Dan
- Tue Sep 04, 2018 2:14 pm
- Forum: Common Problems
- Topic: Create a copyright page in PDF output from Chemistry
- Replies: 3
- Views: 3598
- by Dan
- Tue Sep 04, 2018 12:52 pm
- Forum: Common Problems
- Topic: Create copyright page
- Replies: 8
- Views: 7373
Re: Create copyright page
Regular DITA maps do not have the concept of a copyright notice. This is available only in the DITA bookmap structure. If you are constrained to using a regular map and you need to add a copyright page between the front cover and the TOC, use the following technique: In your customization CSS, decla...
- by Dan
- Tue Sep 04, 2018 12:43 pm
- Forum: Common Problems
- Topic: Chemistry: Omit Cover Page and TOC?
- Replies: 20
- Views: 12498
Re: Chemistry: Omit Cover Page and TOC?
I tested again a snippet from a previous post, and the empty page dissapears if adding the last selector: *[class ~= 'map/map'] > *[class ~= 'toc/toc'] { display:none !important; } *[class ~= 'map/map'] > *[class ~= 'front-page/front-page']{ display:none !important; } *[class~='topic/topic'][is-chap...
- by Dan
- Tue Sep 04, 2018 12:38 pm
- Forum: Common Problems
- Topic: Chemistry: Omit Cover Page and TOC?
- Replies: 20
- Views: 12498
Re: Chemistry: Omit Cover Page and TOC?
Please add to your customization CSS the following snippet: *[class~='topic/topic'][is-chapter] { -oxy-page-group : auto; } This should fix the page breaking problem. The customization CSS can be referred from the template descriptor, or passed as the args.css parameter to the transformation scenari...
- by Dan
- Tue Sep 04, 2018 10:39 am
- Forum: Common Problems
- Topic: format-date(current-date()) problem
- Replies: 5
- Views: 4686
Re: format-date(current-date()) problem
There is a syntax error in your XPath expression, it misses a comma and you should use singe quotes around the 'ru' token, since the entire expression is already enclosed in double quotes: The correct form is: ... content: oxy_xpath("format-date(current-date(), '[MNn] [Y0001]', 'ru', (), ())&qu...
- by Dan
- Fri Aug 24, 2018 9:04 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: CSS-based PDF: Table font size
- Replies: 2
- Views: 1759
Re: CSS-based PDF: Table font size
Hello, This is caused by a compatibility mode that sets the HTML tables font size to "medium". In fact this should not apply, as the format is HTML 5. I will log a bug about this. Meantime, you should add also this selector: *[class ~= "topic/table"] { font-size: 13px; } Many reg...
- by Dan
- Thu Aug 23, 2018 12:56 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: SVG files not scaling properly in PDF publishing
- Replies: 3
- Views: 2255
Re: SVG files not scaling properly in PDF publishing
What scenario are you using to transform your documents? Your SVGs have information about their size? A small sample would be good to determine the fix.
Many regards,
Dan
Many regards,
Dan
- by Dan
- Thu Aug 16, 2018 3:56 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Hazard Statement Styling
- Replies: 18
- Views: 7677
Re: Hazard Statement Styling
Hello Mr. Kim, I think you should write your CSS customization rules as: *[class~="hazard-d/hazardstatement"][type="notice"]:before { content: oxy_uppercase(attr(type)); } *[class~="hazard-d/hazardstatement"][type="notice"] { display:block; background-color:bl...
- by Dan
- Thu Aug 16, 2018 3:46 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: CSS-Based PDF: Uppercase/lowercase CAUTION vs Warning
- Replies: 3
- Views: 2328
Re: CSS-Based PDF: Uppercase/lowercase CAUTION vs Warning
The selectors you pointed to apply to the WYSYWIG PDF transformation only. In the HTML based transformation, the intermediate merged DITA map is transformed to HTML5 using the DITA-OT built-in support, so the generation of the static strings (the labels for chapters, parts, figures, tables, notes, e...
- by Dan
- Tue Aug 07, 2018 10:49 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: CSS-based PDF: Changes to DPI
- Replies: 4
- Views: 2755
Re: CSS-based PDF: Changes to DPI
Hello, What image format are you using? Can you send us a sample image file? You are using it in the topic content, or to decorate the page background or headers? We have tested with PNG images (created with GIMP) and it works fine. For more information see the "Image Resolution" section f...
- by Dan
- Tue Jul 31, 2018 4:22 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Apply formatting to first column of table based on "otherprops" attribute value
- Replies: 6
- Views: 2829
Re: Apply formatting to first column of table based on "otherprops" attribute value
Hello Paul, Fist you should use instead of "otherprops" attribute the "outputclass" attribute. The "otherprops" attribute is filetered out during the processing of the merged map. You can use the oXygen refactoring actions to make this change (or a simple find/replace i...
- by Dan
- Fri Jun 29, 2018 2:31 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: PDF Bookmarks - Bookmaptitlealt duplicated - DITA Map PDF - based on DITA & CSS (WYSIWYG)
- Replies: 4
- Views: 2293
Re: PDF Bookmarks - Bookmaptitlealt duplicated - DITA Map PDF - based on DITA & CSS (WYSIWYG)
I understand that you need in fact the title of the product to be placed a the top of the bookmarks tree. The booktitlealt is duplicated by the transformation process in the TOC structure so that it can be shown there if needed. Your selector matches both the element from the front page and the one ...
- by Dan
- Fri Jun 29, 2018 12:46 pm
- Forum: Common Problems
- Topic: Figure and Table numbering
- Replies: 12
- Views: 8714
Re: Figure and Table numbering
There are two solutions: 1. You are using the pdf-css-html5 transformation. With this you should get automatically the numbers of the tables before the table titles, with no change in your CSS file. However, I just learned that there is a "com.oxygenxml.html.custom" plugin in the DITA-OT d...
- by Dan
- Fri Jun 29, 2018 11:31 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Populating <bookmap> element attributes on cover page.
- Replies: 3
- Views: 1799
Re: Populating <bookmap> element attributes on cover page.
If you plan to reuse styles between the WebHelp output, which is HTML5 based, I recommend to use the DITA to PDF based on HTML5 and CSS.
See the video presentation for details:
https://www.oxygenxml.com/demo/opt.html
Many regards,
Dan
See the video presentation for details:
https://www.oxygenxml.com/demo/opt.html
Many regards,
Dan
- by Dan
- Fri Jun 29, 2018 11:28 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: PDF: How do I implement a Last Page Footer different from other pages?
- Replies: 5
- Views: 2952
Re: PDF: How do I implement a Last Page Footer different from other pages?
Is hard to tell what is wrong. We are not doing XSLT customization but we will try to help you by taking a look at your plugin. Please use the https://www.oxygenxml.com/techSupport.html form to send it to us.
Many regards,
Dan
Many regards,
Dan
- by Dan
- Fri Jun 29, 2018 11:25 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: PDF from ditamap, force pagebreak between topics
- Replies: 6
- Views: 3261
Re: PDF from ditamap, force pagebreak between topics
The page break processing instructions should be placed inside the topic files, not in the map between topic references.
Many regards,
Dan
Many regards,
Dan
- by Dan
- Fri Jun 29, 2018 10:51 am
- Forum: Common Problems
- Topic: draft watermark until approved?
- Replies: 6
- Views: 4546
Re: draft watermark until approved?
I think there is no such class on the body element. You will need to use a more complex strategy. The approved element is located in the bookmeta/bookchangehistory element. <bookmeta> <author>Howe Tuduit</author> <critdates> <created date="1/1/2015"/> <revised modified="3/4/2016"...
- by Dan
- Thu Jun 28, 2018 11:16 am
- Forum: Common Problems
- Topic: Chemistry: Omit Cover Page and TOC?
- Replies: 20
- Views: 12498
Re: Chemistry: Omit Cover Page and TOC?
In case you are using the WYSIWIG transformation scenario you can add the template to the file: [DITA-OT-DIR]/plugins/com.oxygenxml.pdf.css/xsl/merged2merged/merged.xsl In case you are using the HTML5 based PDF transformation (not WYSIWYG), this is the recommended transformation now, you may use an ...
- by Dan
- Thu Jun 28, 2018 10:26 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Populating <bookmap> element attributes on cover page.
- Replies: 3
- Views: 1799
Re: Populating <bookmap> element attributes on cover page.
The attr() function applies to the element matched by the CSS rule selector. In this case it matches the booktitle. If your attributes are on the root element "bookmap", you will need to use XPath to extract the values from this element. Here is a snippet for this: *[class ~= "bookmap...
- by Dan
- Tue Jun 26, 2018 11:02 am
- Forum: Common Problems
- Topic: Vertical text on cover
- Replies: 4
- Views: 3543
Re: Vertical text on cover
This expression worked for me: :root { string-set: author oxy_xpath('//*[contains(@class, "front-page/front-page")]/*[contains(@class, "map/topicmeta")]/*[contains(@class, "topic/author")]/text()'); } In the map there was: <map> <title>The Art of Bike Repair</title> <to...
- by Dan
- Mon Jun 25, 2018 4:04 pm
- Forum: Common Problems
- Topic: Vertical text on cover
- Replies: 4
- Views: 3543
Re: Vertical text on cover
You can collect the metadata and keep it into a string variable. For example, to collect the value of the "author" element : :root { string-set: author oxy_xpath('//*[contains(@class, "bookmap/bookmeta")]/*[contains(@class, "topic/author")]/text()'); } Please note that ...
- by Dan
- Mon Jun 25, 2018 12:14 pm
- Forum: Common Problems
- Topic: Customize cover page
- Replies: 5
- Views: 4525
Re: Customize cover page
See the response from: post48027.html#p48027
- by Dan
- Mon Jun 25, 2018 12:11 pm
- Forum: Common Problems
- Topic: Header / Footer equivalents from FO
- Replies: 6
- Views: 4427
Re: Header / Footer equivalents from FO
Hello Scott, To define multiple string sets for an element, please use a single string-set property with a list of comma separated definitions: :root { string-set: prodname oxy_xpath("//bookmeta//prodinfo/prodname"), prodversion oxy_xpath("//bookmeta//prodinfo/vrmlist/vrm/@version&quo...
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service