Search found 403 matches

by radu_pisoi
Wed Jun 08, 2016 11:14 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add xml:lang attribute to multiples files at once
Replies: 17
Views: 6552

Re: Add xml:lang attribute to multiples files at once

Great, it works with "lang" and the namespace. I had indeed misunderstood something, sorry about that. I noticed something strange: in the sample "flowers" project, the "local name" field for "attribute" gave me a dropdown list of all valid options. In my pro...
by radu_pisoi
Mon Jun 06, 2016 4:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add xml:lang attribute to multiples files at once
Replies: 17
Views: 6552

Re: Add xml:lang attribute to multiples files at once

I am sending a screenshot of the interface with the unrecognized xml:lang attribute. Maybe I am misunderstanding something. The problem is that you specify the 'xml:lang' value for the attribute local name. An attribute local name does not include the prefix part, only the local name could be speci...
by radu_pisoi
Mon Jun 06, 2016 4:10 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XSLT in batch
Replies: 7
Views: 5633

Re: XSLT in batch

So, to run the XSLT code and actually modify the files, what setting or coded content are we missing?? I think you should select the 'Save as' option in the 'Output' tab of the 'Edit Scenario' dialog. In the right part of the 'Save Option' radio you should specify ${cf} value which points to the cu...
by radu_pisoi
Mon Jun 06, 2016 2:50 pm
Forum: XSLT and FOP
Topic: Justification of text in TOC (multi-line)
Replies: 6
Views: 4425

Re: Justification of text in TOC (multi-line)

Please note that some properties from '__toc__topic__content' attribute set are overridden by the processor specific settings. For DITA-OT 2.x, open the file: {oXygenInstallDir}/frameworks/dita/DITA-OT2.x/plugins/org.dita.pdf2.fop/cfg/fo/attrs/toc-attr_fop.xsl For DITA-OT 1.8, open the file: {oXygen...
by radu_pisoi
Mon Jun 06, 2016 2:29 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add xml:lang attribute to multiples files at once
Replies: 17
Views: 6552

Re: Add xml:lang attribute to multiples files at once

- I tried inserting another attribute just to see if it worked. It did, but when Oxygen parsed my files, it also removed all CDATA elements and replaced all < and > characters by entities in my codeblock elements. Yes, this is the way how the XML Refactoring tool works. The CDATA section are expand...
by radu_pisoi
Fri Jun 03, 2016 8:47 am
Forum: XSLT and FOP
Topic: Justification of text in TOC (multi-line)
Replies: 6
Views: 4425

Re: Justification of text in TOC (multi-line)

What DITA-OT you are using?

Did you modify the sources of DITA-OT to change the '__toc__topic__content' attribute set, or you use a PDF customization plugin or directory?
by radu_pisoi
Thu Jun 02, 2016 8:11 am
Forum: XSLT and FOP
Topic: Justification of text in TOC (multi-line)
Replies: 6
Views: 4425

Re: Justification of text in TOC (multi-line)

Hi, You can fix this problem by setting the 'text-align' XSL-FO property to 'start' for TOC entries. So, you need a PDF customization where you can specify the next attribute set: <xsl:attribute-set name="__toc__topic__content"> <xsl:attribute name="text-align">start</xsl:attribu...
by radu_pisoi
Mon May 30, 2016 4:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Prev - Next arrows for WebHelp Responsive
Replies: 6
Views: 3126

Re: Prev - Next arrows for WebHelp Responsive

Hi, Is there some way to do this without all the manual labor? Yes, you can modify the files from a DITA map hierarchy by using the XML Refactoring tool. To set the collection-type attribute on the empty topicref elements you can use the Add/Change attribute operation. When you specify the parent el...
by radu_pisoi
Thu May 26, 2016 2:45 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Prev - Next arrows for WebHelp Responsive
Replies: 6
Views: 3126

Re: Prev - Next arrows for WebHelp Responsive

Hi,

Did you try to set collection-type="sequence" on the root map?
Are the links between topics generated as you expected in this case?
by radu_pisoi
Thu May 26, 2016 2:31 pm
Forum: XSLT and FOP
Topic: Fonts problem while transforming to PDF
Replies: 5
Views: 6012

Re: Fonts problem while transforming to PDF

Hi, A solution is to uninstall the font from your system and modify the Apache FOP configuration file to use it. In this way the font will be used only when you publish to PDF. For DITA-OT 1.8, open the 'fop.xconf' Apache configuration file from: {oXygenInstallDir}/frameworks/dita/DITA-OT/plugins/or...
by radu_pisoi
Thu May 26, 2016 1:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Responsive WebHelp -- Removing the search bar?
Replies: 5
Views: 2852

Re: Responsive WebHelp -- Removing the search bar?

Hi, The Webhelp Responsive is generated based on a template mechanism. The Webhelp Responsive generates four type of pages and there is a template file for each one. All Webhelp template files are stored in the templates/dita folder located in the root folder of the oXygen XML WebHelp plugin. The te...
by radu_pisoi
Thu May 26, 2016 10:46 am
Forum: XSLT and FOP
Topic: Changing Headings without Changing ToC
Replies: 1
Views: 1927

Re: Changing Headings without Changing ToC

Hi, A solution is to add a parameter (disableNumbering for instance) in your customization template to control if the numbering is computed. I think the template responsible for computing the titles for TOC is 'getNavTitle' from /DITA-OT/plugins/org.dita.pdf2/xsl/fo/commons.xsl. So, you need to also...
by radu_pisoi
Tue May 24, 2016 12:00 pm
Forum: XSLT and FOP
Topic: Fonts problem while transforming to PDF
Replies: 5
Views: 6012

Re: Fonts problem while transforming to PDF

Hi, I've tested with oXygen 18.0, DITA-OT 2.2.3, Apache FOP processor and SimSun font that comes installed on Windows 10 platform. Unfortunately, I was not able to find any Apache FOP configuration to get the bold style for a certain text. It seems to be an Apache FOP limitation. However, there are ...
by radu_pisoi
Thu May 19, 2016 12:01 pm
Forum: Other Issues
Topic: Restart page numbering from 1 in each chapter in PDF
Replies: 6
Views: 3909

Re: Restart page numbering from 1 in each chapter in PDF

Hi,

Could you send us the content of the DITA-OT transformation console to the support@oxygenxml.com?

You can enable to always display the DITA-OT console output from 'Preferences' -> 'DITA' -> 'Show console output' option.
by radu_pisoi
Thu May 19, 2016 11:27 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Remove <glossbody> from pdf
Replies: 2
Views: 1833

Re: Remove <glossbody> from pdf

Hi, A solution is to create a PDF customization. The steps for creating a customization directory are described in our manual: http://oxygenxml.com/doc/versions/18.0/ug-editor/topics/dita_pdf_output_customization.html Now, in the custom.xsl stylehseet you can add the next template that filters the '...
by radu_pisoi
Thu May 19, 2016 10:54 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to add a DocBuild Timestamp
Replies: 16
Views: 9368

Re: How to add a DocBuild Timestamp

Hi, You get this error because the XSLT stylesheet is not welformed. You can find a similar discussion here: http://stackoverflow.com/questions/7817539/fatal-error-during-xsl-transformation From where should the "myFooter" template get called? If you want to modify the footer to add the cu...
by radu_pisoi
Wed May 18, 2016 9:01 am
Forum: Other Issues
Topic: Restart page numbering from 1 in each chapter in PDF
Replies: 6
Views: 3909

Re: Restart page numbering from 1 in each chapter in PDF

Hi, The cause could be that you are modifying the sources of another DITA-OT that you are running. oXygen 18.0 comes with two DITA-OT frameworks: - DITA-OT 1.8 - {oXygenInstallDir}/frameworks/dita/DITA-OT - DITA-OT 2.2.3 - {oXygenInstallDir}/frameworks/dita/DITA-OT2.x By default it is used DITA-OT 2...
by radu_pisoi
Tue May 17, 2016 2:52 pm
Forum: Other Issues
Topic: Restart page numbering from 1 in each chapter in PDF
Replies: 6
Views: 3909

Re: Restart page numbering from 1 in each chapter in PDF

Hi, If you uncomment the content of the 'startPageNumbering' template, the page number should be reset only for the first chapter. If you want to reset the page number for all chapters, you should modify the condition to something like that: <xsl:if test="not( ($mapTopic/ancestor::*[contains(@c...
by radu_pisoi
Mon May 16, 2016 12:15 pm
Forum: General XML Questions
Topic: Step number not aligning with step when using inline graphics
Replies: 3
Views: 3746

Re: Step number not aligning with step when using inline graphics

I've tested with oXygen 18.0 and DITA-OT 2.2.3 that comes bundled with application. <step> <cmd><ph>If you are<image href="../images/logo1.gif" id="image_wls_ww3_zv"/>on a Windows system, click the X in the corner of each program.</ph></cmd> </step> With Apache FOP I've got: http...
by radu_pisoi
Fri May 13, 2016 3:26 pm
Forum: General XML Questions
Topic: Step number not aligning with step when using inline graphics
Replies: 3
Views: 3746

Re: Step number not aligning with step when using inline graphics

Hi, Unfortunately, this is a known issue that cannot be fixed due to limitations in Apache FOP processor. https://github.com/dita-ot/dita-ot/issues/1241 This happens when the image height is greater than the text line height. So, an workaround could be to resize your image. I have tested with a comm...
by radu_pisoi
Thu May 12, 2016 11:05 am
Forum: Common Problems
Topic: xref formatting problem
Replies: 1
Views: 1435

Re: xref formatting problem

Hi Carole, I want my xref to be green Helvetica. If I remove the color definition in <xsl:attribute-set name="xref" I get the green color, but I can't figure how to pick up that Helvetica font. I tried forcing Helvetica in the xref, with <xsl:attribute name="font">Helvetica</xsl:...
by radu_pisoi
Thu May 05, 2016 5:45 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: problem related to bibliography (bookmap/bibliolist)
Replies: 9
Views: 3254

Re: problem related to bibliography (bookmap/bibliolist)

I guess the ultimate resolution is to let the parser know that the bibliography page should be treated just like an index or figure list page, instead of a regular topic. I have added an issue to the DITA-OT project for this improvement: Use for 'bibliolist' the same styling as for 'figurelist or '...
by radu_pisoi
Thu May 05, 2016 1:29 pm
Forum: XSLT and FOP
Topic: cell in a table overflew to the next cell
Replies: 4
Views: 4070

Re: cell in a table overflew to the next cell

Hi,

An workaround is to use the 'Zero Width Space' character (&#x200b;) to mark the places where you want to insert a line break.

Code: Select all

<codeph>SYSTEM_QSG_&#x200b;TRANSMIT_&#x200b;QUEUE</codeph>
by radu_pisoi
Thu May 05, 2016 11:59 am
Forum: Feature Request
Topic: Schematron <extends> not supported by Master Files?
Replies: 1
Views: 2102

Re: Schematron <extends> not supported by Master Files?

Hi,

Thank you for your feedback.

Yes, the Master Files support and the Resource Hierachy view do not recognize the extends element.

We have already registered this feature request. I will add your vote for it.
by radu_pisoi
Thu May 05, 2016 11:42 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: problem related to bibliography (bookmap/bibliolist)
Replies: 9
Views: 3254

Re: problem related to bibliography (bookmap/bibliolist)

Hi, The XPath expression that I have suggested you is wrong. The correct one is: <xsl:when test="contains(key('map-id', @id)[1]/@class, ' bookmap/bibliolist ')"> One thing I didn't quite understand from your reply is this : "If you want to inspect the class of the element used in the ...
by radu_pisoi
Tue May 03, 2016 5:11 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: problem related to bibliography (bookmap/bibliolist)
Replies: 9
Views: 3254

Re: problem related to bibliography (bookmap/bibliolist)

Hi, Did you analyse the 'stage1.xml' file which is the input of the XSLT stylesheet you want to develop? This temporary file is generated by the DITA-OT transformation and it is the input to the stylesheets that produce XSL-FO file. Usually, the temporary folder is cleaned when the transformation fi...
by radu_pisoi
Tue May 03, 2016 3:14 pm
Forum: XSLT and FOP
Topic: Pagination
Replies: 3
Views: 2846

Re: Pagination

Hello, To avoid that a stepresult to be placed at the start of a new page you can set the 'keep-together' XSL-FO property to the 'steps.step' attribute set. To do this, you need to create a DITA PDF customization plugin or to set a Customization Directory for PDF Output. A detailed procedure for the...
by radu_pisoi
Tue May 03, 2016 2:16 pm
Forum: Common Problems
Topic: [BUG] Chunked webhelp topics have no associated CSS
Replies: 6
Views: 3439

Re: [BUG] Chunked webhelp topics have no associated CSS

Hi, I was able to reproduce this issue both with DITA-OT 1.8 and 2.2. But, depending on the DITA-OT version and how the DITA topics are referenced (keyrefs or direct links), the way you can reproduce it is slightly different. Using the direct reference mechanism like in the following sample: <topicr...
by radu_pisoi
Fri Apr 29, 2016 12:12 pm
Forum: XSLT and FOP
Topic: Glyph":" (0xff1a, colonmonospace) not available in font " TimesNewRomanPS-ItalicMT".
Replies: 1
Views: 2694

Re: Glyph":" (0xff1a, colonmonospace) not available in font " TimesNewRomanPS-ItalicMT".

Hi, The PDF plugin allows you to identify special characters that the transformer might encounter in the DITA topics and associate those characters with fonts that implement them. The folder cfg/fo/i18n contains a series of language-specific files that identify these special characters. Each charact...
by radu_pisoi
Thu Apr 28, 2016 2:44 pm
Forum: Common Problems
Topic: Background image on cover page
Replies: 2
Views: 4062

Re: Background image on cover page

Hello, For DITA-OT 1.8 you can try the next procedure: 1. Create a PDF customization folder, see Creating a Customization Directory for PDF Output . 2. Copy the background image to the {DITA-PDF-Customization}/common/artwork/ folder. 3. Edit the '{DITA-PDF-Customization}/fo/attrs/custom.xsl' stylesh...