Search found 6654 matches

by Radu
Thu Jan 23, 2020 10:26 am
Forum: Common Problems
Topic: Can I use text file as primary input of XSLT?
Replies: 7
Views: 2743

Re: Can I use text file as primary input of XSLT?

Hi André, Thanks for posting the sample XSLT content. This limitation of having an XML input is not imposed implicitly by Oxygen but by the XSLT standard. In such cases you can use as XML source even the XSLT stylesheet if you do not want to have a blank XML document lying around on the hard drive. ...
by Radu
Thu Jan 23, 2020 10:17 am
Forum: XSLT and FOP
Topic: Using <with-param> in <xsl:apply-templates> (and not in <xsl:call-templates/>)
Replies: 1
Views: 23

Re: Using <with-param> in <xsl:apply-templates> (and not in <xsl:call-templates/>)

Hi, This should work also when you have templates in various modes. Here's what I'm testing on my side: XML: <TEI xmlns="http://www.tei-c.org/ns/1.0"> <text> <body> <p>Some <pb/> text <hi>HI THERE</hi>here.</p> </body> </text> </TEI> XSL: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:...
by Radu
Thu Jan 23, 2020 10:04 am
Forum: Feature Request
Topic: Split a Table in Two
Replies: 3
Views: 56

Re: Split a Table in Two

Hi, I would agree copying the header on the new split table would save some time. One thing I remembered, at some point I created a custom Author action to split a table: https://github.com/oxygenxml/javascript-sample-operations/tree/master/split-table The action uses Javascript code working with Ox...
by Radu
Wed Jan 22, 2020 10:45 am
Forum: Feature Request
Topic: Split a Table in Two
Replies: 3
Views: 56

Re: Split a Table in Two

Hi, Thanks for the improvement request, we already have an internal issue to add such an action, I will add your feedback on the issue and try to increase its priority. We'll update this forum thread when the issue is fixed. In the meantime you can select rows in the table using Shift and arrows, th...
by Radu
Wed Jan 22, 2020 9:52 am
Forum: Feature Request
Topic: Improve Spellcheck for Multiple Files
Replies: 4
Views: 75

Re: Improve Spellcheck for Multiple Files

Hi, Right, as I previously mentioned for fixing content using the "Open Map in editor with resolved topics" you would have to open the target topic: If you encounter a misspelled word you will need to right click the word and choose "Edit reference" in order to open the target topic and correct the ...
by Radu
Tue Jan 21, 2020 3:05 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Schematron: add attribute value to XREF
Replies: 1
Views: 33

Re: Schematron: add attribute value to XREF

Hi Pieterjan, I would suggest these changes: <schema xmlns="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" queryBinding="xslt2"> <pattern abstract="true" id="requiredAttribute"> <title>Required Attributes</title> <rule context="$context"> <asse...
by Radu
Tue Jan 21, 2020 2:45 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Including Prolog content in PDF output
Replies: 4
Views: 120

Re: Including Prolog content in PDF output

Hi,

Dan's link above covers just the CSS-based PDF publishing.

Regards,
Radu
by Radu
Tue Jan 21, 2020 1:33 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: XSL-FO to PDF fails due to font error
Replies: 4
Views: 86

Re: XSL-FO to PDF fails due to font error

Hi, Looks like this bug: https://issues.apache.org/jira/browse/FOP-2704 There is a fop.xconf file in: OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT3.x/plugins/org.dita.pdf2.fop/cfg/fop.xconf Maybe you can try the advice on the issue above and add to it an element to disable complex scripts: <complex-sc...
by Radu
Tue Jan 21, 2020 12:56 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: XSL-FO to PDF fails due to font error
Replies: 4
Views: 86

Re: XSL-FO to PDF fails due to font error

Hi, After the transformation fails there is a DITA OT console view at the bottom of Oxygen, you can try to look inside it to see if there are more details about the failure. The problem is not necessarily generated by the fact that the Apache FOP processor bundled with Oxygen cannot locate the file,...
by Radu
Tue Jan 21, 2020 10:37 am
Forum: General XML Questions
Topic: Oxygen not finding customized framework/templates
Replies: 1
Views: 30

Re: Oxygen not finding customized framework/templates

Hi, The fact that you are using Windows 10 should not be a factor here. Please double check that the templates folder you configured in Oxygen actually points to a location on disk where the new file templates are located. If you want further help with this you will need to give us more details abou...
by Radu
Tue Jan 21, 2020 10:34 am
Forum: Feature Request
Topic: Improve Spellcheck for Multiple Files
Replies: 4
Views: 75

Re: Improve Spellcheck for Multiple Files

Hi, Thanks for the improvement request, I added an internal issue for it. As possible workarounds: - In the DITA Maps manager view there is a toolbar called "Open Map in editor with resolved topics". If you press it Oxygen should open the DITA Map with expanded topic references in the main editor ar...
by Radu
Tue Jan 21, 2020 10:20 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Warning for keyref in ditamap?
Replies: 1
Views: 53

Re: Warning for keyref in ditamap?

Hi Riley, I cannot reproduce the problem on my side. If you look in the DITA Maps Manager at the reference to that "globalizing.ditamap", is the node which refers to the map expandable? Can you expand it and see the contents of that submap? If not, this might be an explanation, it might mean that in...
by Radu
Mon Jan 20, 2020 2:47 pm
Forum: Feature Request
Topic: Enabling formatting from command line
Replies: 3
Views: 178

Re: Enabling formatting from command line

Hi Ozana,

Sure, I will add a +1 on the internal issue. But if/when the command line will be available it will require a separate commercial license to be bought.

Regards,
Radu
by Radu
Fri Jan 17, 2020 1:21 pm
Forum: Other Issues
Topic: Problems with Batch converter
Replies: 3
Views: 98

Re: Problems with Batch converter

Hi Ozana,

Maybe indeed you can create a custom XSLT stylesheet which does the cleanup and apply it as an XML refactoring action in Oxygen:

https://www.oxygenxml.com/doc/versions/ ... tools.html

Regards,
Radu
by Radu
Fri Jan 17, 2020 12:11 pm
Forum: Other Issues
Topic: Problems with Batch converter
Replies: 3
Views: 98

Re: Problems with Batch converter

Hi Ozana, Please see some answers below: Long story short, since there is no way to do a dita2dita transformation that does all the filtering and key replacing, I am trying to do a DITA->(X)HTML->DITA conversion (the map export transformation doesn't resolve the keys/remove comments/etc, so it doesn...
by Radu
Thu Jan 16, 2020 12:41 pm
Forum: Common Problems
Topic: Can I use text file as primary input of XSLT?
Replies: 7
Views: 2743

Re: Can I use text file as primary input of XSLT?

Hi,

There is no way to do this with XSLT, the XSLT templates are applied directly on XML elements and you can only load other files using the "unparsed-text" function:

https://stackoverflow.com/questions/159 ... -with-xslt

Regards,
Radu
by Radu
Thu Jan 16, 2020 12:20 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Context.xml in Eclipse help
Replies: 9
Views: 210

Re: Context.xml in Eclipse help

Hi Syed,

If by "cs help" you mean context-sensitive help, our Oxygen WebHelp responsive output has this feature as it maps IDs to topics:

https://www.oxygenxml.com/doc/versions/ ... itive.html

Regards,
Radu
by Radu
Wed Jan 15, 2020 12:20 pm
Forum: Common Problems
Topic: Removing margins on title page
Replies: 4
Views: 108

Re: Removing margins on title page

Hi Carole, I don't know, PDF customization problems are hard to figure out, if at some point you send us an email containing the PDF customization and some steps to reproduce the problem, I could try to look more into this. My advice to you is that maybe you should consider switching to CSS as a mea...
by Radu
Wed Jan 15, 2020 12:05 pm
Forum: Other Issues
Topic: Prevent deletion of section
Replies: 1
Views: 46

Re: Prevent deletion of section

Hi Julie, If for example you mark that XML element with a certain attribute: <p outputclass="read-only">Oil should be changed every 6000 kilometers.</p> you can set the element as read-only from the CSS: p[outputclass='read-only'] { -oxy-editable:false; } but the element will have read-only contents...
by Radu
Wed Jan 15, 2020 10:35 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Context.xml in Eclipse help
Replies: 9
Views: 210

Re: Context.xml in Eclipse help

Hi Syed, From what I looked the "<description>" tag inside the Eclipse Help contexts.xml only allows plain text. So you would need some kind of ASCII graphics plain text equivalent of the HTML content, using * to mark list items, adding line breaks between paragraphs. This is probably feasible with ...
by Radu
Wed Jan 15, 2020 10:32 am
Forum: XSLT and FOP
Topic: PDF Syntax Highlighting
Replies: 4
Views: 264

Re: PDF Syntax Highlighting

Hi,

Sorry but we no longer support such old DITA OT versions.

Regards,
Radu
by Radu
Wed Jan 15, 2020 10:30 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Responsive warning messages
Replies: 3
Views: 124

Re: Webhelp Responsive warning messages

Hi,

We plan to release Oxygen 22 in about 3 weeks and it will no longer issue those warnings. But as I said the warnings do not impact the published output in any way.

Regards,
Radu
by Radu
Mon Jan 13, 2020 11:40 am
Forum: General XML Questions
Topic: Basic Question-XML/DTD
Replies: 3
Views: 1599

Re: Basic Question-XML/DTD

Hi, This particular Word to DITA conversion you are using is based on the DITA For Publishers plugins created by Eliot Kimber and we are not very familiar with them: http://www.dita4publishers.org/d4p-users-guide/user_docs/d4p-users-guide/word2dita/word-to-dita-plugin.html Maybe in the case of your ...
by Radu
Fri Jan 10, 2020 2:06 pm
Forum: Other Issues
Topic: Adding external ref causes output to build entire project structure.
Replies: 2
Views: 53

Re: Adding external ref causes output to build entire project structure.

Hi, So if you want to refer to resources outside of the DITA Map folder you will definitely need to enable the "fix.external.refs..." parameter: https://www.oxygenxml.com/doc/versions/21.1/ug-editor/topics/dita-ot-external-refs.html I'm not sure why it does not work for you though, did you make any ...
by Radu
Fri Jan 10, 2020 2:02 pm
Forum: Common Problems
Topic: Removing margins on title page
Replies: 4
Views: 108

Re: Removing margins on title page

Hi, How exactly do you customize the PDF publishing? PDF customization folder, PDF customization plugin or just make direct changes to the XSLTs? Maybe you can look at how the "basic-settings.xsl" stylesheet looks like in the DITA OT 3.4: DITA-OT3.4/plugins/org.dita.pdf2/cfg/fo/attrs/basic-settings....
by Radu
Fri Jan 10, 2020 1:56 pm
Forum: Common Problems
Topic: Problems with Inkscape SVG images
Replies: 9
Views: 3221

Re: Problems with Inkscape SVG images

Hi Matt, I'm also registered on the "Write The Docs Slack" channel but I'm having a hard time following everything so you can tag me if you want an answer there although I prefer the forum because the conversation here is persistent. Anyway, Oxygen uses the Apache Batik libraries for SVG rendering, ...
by Radu
Fri Jan 10, 2020 9:26 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Section numbering not showing up - numbering parameter set to "deep"
Replies: 4
Views: 280

Re: Section numbering not showing up - numbering parameter set to "deep"

Hi, Linking here to the similar thread Matt started on the DITA Users list: https://groups.io/g/dita-users/topic/69583547#45033 So Matt is interested in having DITA <section> elements numbered in the published PDF output. Costin, can you double check if this works for you, because it does not work f...
by Radu
Thu Jan 09, 2020 11:58 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Including Prolog content in PDF output
Replies: 4
Views: 120

Re: Including Prolog content in PDF output

Hi, There is an XSLT stylesheet which matches the DITA prolog element: OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT3.x/plugins/org.dita.pdf2/xsl/fo/topic.xsl <xsl:template match="*[contains(@class,' topic/prolog ')]"/> As you see it does nothing by default. You could try to replace it with something l...
by Radu
Wed Jan 08, 2020 3:34 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Context.xml in Eclipse help
Replies: 9
Views: 210

Re: Context.xml in Eclipse help

Hi Syed,

Sorry, the shortdesc variable definition should be something like:

Code: Select all

<xsl:variable name="shortdesc" select="normalize-space(string-join(/xhtml:html/xhtml:body//text(), ''))"/>
Regards,
Radu
by Radu
Wed Jan 08, 2020 3:25 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom DITA map to Word
Replies: 1
Views: 81

Re: Custom DITA map to Word

Hi Linda, We are not very familiar with the DITA to Word plugin, maybe you can try registering on the DITA Users List (groups.io) and ask there. What I do know is that you cannot use CSS to style the word output. With Oxygen you can use CSS to customize the PDF output but for Word you will probably ...