Search found 9063 matches

by Radu
Thu Apr 14, 2016 4:09 pm
Forum: XSLT and FOP
Topic: Webhelp XSLT glossentry override
Replies: 6
Views: 3861

Re: Webhelp XSLT glossentry override

Hi Nick, WebHelp produced using Oxygen 17.1 should expand abbreviated forms in the table of contents titles. The XSLT stylesheet: OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT2.x\plugins\com.oxygenxml.webhelp\xsl\dita\tocDita.xsl has a template like: <xsl:template match="*[contains(@class, ' map/t...
by Radu
Thu Apr 14, 2016 4:01 pm
Forum: General XML Questions
Topic: xml:lang and lang missing from toc and index files
Replies: 3
Views: 3476

Re: xml:lang and lang missing from toc and index files

Hi,

So I guess this is for WebHelp. Do you publish DITA or Docbook content to WebHelp? What version of Oxygen are you using?

Regards,
Radu
by Radu
Thu Apr 14, 2016 1:44 pm
Forum: XSLT and FOP
Topic: DITA-OT PDF plugin
Replies: 10
Views: 4707

Re: DITA-OT PDF plugin

Hi Simon,

Right, once you enter content inside the xref, the automatic link text generation will not be done.

Regards,
Radu
by Radu
Thu Apr 14, 2016 11:48 am
Forum: General XML Questions
Topic: RELAX NG with Embedded Schematron
Replies: 9
Views: 5466

Re: RELAX NG with Embedded Schematron

Hi, You could try this book from O'Reilly: http://shop.oreilly.com/product/9780596527716.do Ideally you would first develop the Schematron as a standalone file (because Oxygen offers better content completion and validation when doing this) and when it is final you can copy its patterns to the RNG o...
by Radu
Thu Apr 14, 2016 11:32 am
Forum: General XML Questions
Topic: RELAX NG with Embedded Schematron
Replies: 9
Views: 5466

Re: RELAX NG with Embedded Schematron

Hi Toshihiko, Thanks for the samples. This is a small bug in Oxygen, we use an XSLT stylesheet to gather all Schematron patterns from the Relax NG patterns and the XSLT stylesheet should also look in imports but in this case, if you look in the task.rng, it has a <div> in which the includes appear: ...
by Radu
Thu Apr 14, 2016 9:50 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Autogenerating File Names
Replies: 10
Views: 4455

Re: Autogenerating File Names

Hi Eddie,

Request (2) will be available in Oxygen 18.0 which we plan to release in a week or two.
For request (1) we have a registered issue to allow more flexible configuration of the generation pattern. Possibly we'll be able to do this in Oxygen 18.1 (this summer).

Regards,
Radu
by Radu
Thu Apr 14, 2016 9:08 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Problem with using specialized elements in documents
Replies: 7
Views: 1997

Re: Problem with using specialized elements in documents

Hi Arthur, Usually a DITA specialization needs to be bundled as a DITA Open Toolkit plugin. You can find an example of such a plugin here: OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\mathml I created such a DITA Open Toolkit plugin for your specialization and attached it to an email. You can ...
by Radu
Wed Apr 13, 2016 2:10 pm
Forum: Common Problems
Topic: Search doesn't find text inside referenced elements
Replies: 3
Views: 2035

Re: Search doesn't find text inside referenced elements

Hi Ben, Right, usually it is recommended to have a special DITA Map which only refers to such topics which contain reusable topics. And then in the master DITA map to have a reference to this submap containing all the reusables collection. My DITA Reuse Strategies blog post should have more hints ab...
by Radu
Wed Apr 13, 2016 1:38 pm
Forum: Common Problems
Topic: Search doesn't find text inside referenced elements
Replies: 3
Views: 2035

Re: Search doesn't find text inside referenced elements

Hi Ben, The "Find/Replace in Files" feature you are using should search in all topics referenced directly in the DITA Map. Probably you have a special topic containing reusable content and you conref to that content from various places. As a best practice in general, those topics containin...
by Radu
Wed Apr 13, 2016 12:16 pm
Forum: Other Issues
Topic: textarea in footer form shows html tags
Replies: 6
Views: 2880

Re: textarea in footer form shows html tags

By the way,

You can also directly output feedback-enabled webhelp using our WebHelp plugin:

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

Regards,
Radu
by Radu
Wed Apr 13, 2016 12:12 pm
Forum: Feature Request
Topic: Resolve abbreviated-form and term in Webhelp related-links
Replies: 4
Views: 2969

Re: Resolve abbreviated-form and term in Webhelp related-links

Hi Nick,

I created a sample project on my side and indeed I reproduced the problem.
It seems that at some point one of my colleagues opened a DITA Open Toolkit issue about this:

https://github.com/dita-ot/dita-ot/issues/2067

I added a comment on the issue + link to this forum post.

Regards,
Radu
by Radu
Wed Apr 13, 2016 12:00 pm
Forum: Common Problems
Topic: I would like to eliminate the Chapter 1 from the chapter title
Replies: 4
Views: 2403

Re: I would like to eliminate the Chapter 1 from the chapter title

Hi Bogdan, In the XSLT stylesheet: DITA-OT\plugins\org.dita.pdf2\xsl\fo\commons.xsl there is an XSLT template: <xsl:template name="insertChapterFirstpageStaticContent"> in which you could consider making some changes to change the layout of the chapter in the PDF content. About the TOC, th...
by Radu
Wed Apr 13, 2016 11:55 am
Forum: XSLT and FOP
Topic: DITA-OT PDF plugin
Replies: 10
Views: 4707

Re: DITA-OT PDF plugin

Hi Simon, In my initial test I only tested with the DITA OT 2.x which is bundled with Oxygen 17.1 and it behaved the way you want. Indeed the DITA OT 1.8 does reset chapters for each part but this was fixed in DITA OT 2.x: https://github.com/dita-ot/dita-ot/issues/1272 In the XSLT stylesheet: OXYGEN...
by Radu
Wed Apr 13, 2016 8:35 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Copy resource files to output.dir for custom xhtml
Replies: 2
Views: 1748

Re: Copy resource files to output.dir for custom xhtml

Hi Scott, Maybe you could add some <echo>'s in the targets, see if they get called. Also you seem to have defined a new transtype called custom . Shouldn't you also have declared the transtype in your plugin.xml: <feature extension="dita.conductor.transtype.check" value="custom" ...
by Radu
Wed Apr 13, 2016 8:25 am
Forum: Other Issues
Topic: textarea in footer form shows html tags
Replies: 6
Views: 2880

Re: textarea in footer form shows html tags

Hi,

Could you go into more detail about what particular changes you made to the dita2webhelp.xsl?
Maybe post the XSLT changes that you made in a codeblock...

Regards,
Radu
by Radu
Tue Apr 12, 2016 4:03 pm
Forum: XSLT and FOP
Topic: DITA-OT PDF plugin
Replies: 10
Views: 4707

Re: DITA-OT PDF plugin

Hi Simon,

Could you double check the default behavior? From what I tested the chapters are numbered from start to finish of the document without their number being reset in each part.
Would it be possible that you have a PDF customization which changed the default behavior?

Regards,
Radu
by Radu
Tue Apr 12, 2016 3:57 pm
Forum: XSLT and FOP
Topic: How to create a lookup list
Replies: 5
Views: 3052

Re: How to create a lookup list

Hi Edwin, Just to double check, you are using the DITA standard, right? Those specific variables from the DITA OT folder you are referring to are for static texts, texts which are not in the actual DITA content but they appear in the published output. If you want to reuse pieces of content in DITA y...
by Radu
Tue Apr 12, 2016 3:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Error loading hunspell library on windows
Replies: 26
Views: 12795

Re: Error loading hunspell library on windows

Hi Scott, We tested creating a small JavaWebstart JNLP-based application from the Oxygen SDK. It worked in our case, the hunspell spell checker native library was loaded and it was used to spell check. We used the Maven-based SDK so the steps we took were something like: 1. Open the file src/main/jn...
by Radu
Tue Apr 12, 2016 11:14 am
Forum: Common Problems
Topic: How to show conditional text colors in PDF
Replies: 7
Views: 3514

Re: How to show conditional text colors in PDF

Hi Dan, You would have two other possibilities: 1) Use in the transformation scenario a DITAVAL filter file which defines flagging for elements marked with certain profiling attributes: https://docs.oasis-open.org/dita/v1.2/os/spec/common/about-ditaval.html 2) If the main DITA Map is opened in the D...
by Radu
Tue Apr 12, 2016 8:42 am
Forum: Other Issues
Topic: Chunking Not Working When Keys are Used to Aggredate Topics
Replies: 1
Views: 1333

Re: Chunking Not Working When Keys are Used to Aggredate Topics

Hi Danielle, Could you try to put together a small sample DITA project exhibiting the problem? Then you can attach it in an email (support@oxygenxml.com) and send it over. I could try to test it on our side. Oxygen 18.0 which we plan to release in a couple of weeks will come bundled DITA OT 2.2.3 so...
by Radu
Mon Apr 11, 2016 4:10 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Error loading hunspell library on windows
Replies: 26
Views: 12795

Re: Error loading hunspell library on windows

Hi Scott,

And the JNLP has some references to the native JARs, something like:

Code: Select all

<nativelib href="lib/native-hunspell...jar"/>
<nativelib href="lib/native-jna...jar"/>
right?

Regards,
Radu
by Radu
Mon Apr 11, 2016 1:43 pm
Forum: Feature Request
Topic: Including the topic path and title in the PDF output
Replies: 2
Views: 2003

Re: Including the topic path and title in the PDF output

Hi, This seems feasible with an XSLT customization. The XSLT template which outputs the topic title is located in: OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.pdf2\xsl\fo\commons.xsl and is called: <xsl:template match="*" mode="processTopicTitle"> It outputs an fo...
by Radu
Mon Apr 11, 2016 1:28 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Error loading hunspell library on windows
Replies: 26
Views: 12795

Re: Error loading hunspell library on windows

Hi, Is this for a Java applet or for a standalone product built using the SDK? What version of the SDK are you using? After building the SDK you should have a JAR library called something like native-hunspell*.jar or hunspell-win-*.jar which should be included in the application classpath. Regards, ...
by Radu
Mon Apr 11, 2016 11:29 am
Forum: XSLT and FOP
Topic: Generate DITA XML from ... DITA XML
Replies: 12
Views: 5212

Re: Generate DITA XML from ... DITA XML

Hi Jochem, So: 1. How would I achieve dtd specialization in DITA OT 2.0? The dtd folder only holds 'properties.dtd' Usually a proper DITA specialization is wrapped as a DITA Open Toolkit plugin which contributes both the DTDs and the extra catalog entries to the DITA OT. You can find such a sample p...
by Radu
Mon Apr 11, 2016 10:46 am
Forum: Other Issues
Topic: Insert GUID?
Replies: 8
Views: 6036

Re: Insert GUID?

About the question asked by Rick: So a DITA @conref attribute has the following syntax: conref="path/to/topic.dita#topicID/elementID" The topicID is the ID attribute set on the <topic> element and the elementID is the ID attribute set on the target element. So what you would actually want ...
by Radu
Fri Apr 08, 2016 3:52 pm
Forum: XSLT and FOP
Topic: Generate DITA XML from ... DITA XML
Replies: 12
Views: 5212

Re: Generate DITA XML from ... DITA XML

Hi Jochem,

You are right, although it can be made to work with DITA OT 1.8 using that fix, it does not properly work, probably it depends on a certain plugin extension which was not available in 1.8. I tested with DITA OT 2.x and it generates topics in the output folder.

Regards,
Radu
by Radu
Fri Apr 08, 2016 1:36 pm
Forum: XSLT and FOP
Topic: Generate DITA XML from ... DITA XML
Replies: 12
Views: 5212

Re: Generate DITA XML from ... DITA XML

Hi,

My original tests were with DITA OT 2.x.
Now I tested the plugin with DITA OT 1.8 and indeed it does not work with it, I added an issue for it + a fix suggestion that you can use on your side to get things going:

https://github.com/dita-ot/org.dita.normalize/issues/4

Regards,
Radu
by Radu
Fri Apr 08, 2016 1:29 pm
Forum: Common Problems
Topic: Webhelp glossary tooltips appear with line breaks
Replies: 2
Views: 1256

Re: Webhelp glossary tooltips appear with line breaks

Hi Nick, So you have an abbreviated-form element with a keyref to a glossentry, something like that, right? I cannot reproduce the problem, what version of the DITA OT are you running, is it an external DITA OT or a DITA OT bundled with Oxygen? At some point I remember there was such a problem and i...
by Radu
Fri Apr 08, 2016 11:54 am
Forum: XSLT and FOP
Topic: Generate DITA XML from ... DITA XML
Replies: 12
Views: 5212

Re: Generate DITA XML from ... DITA XML

Hi, I just tested integrating the plugin and publishing with it and it worked for me. You should check that you are running the integrator on the same DITA OT where you placed the plugin (the integrator outputs some information in a console view). Also you should check that the DITA OT you use to pu...
by Radu
Fri Apr 08, 2016 10:49 am
Forum: XSLT and FOP
Topic: How to create a lookup list
Replies: 5
Views: 3052

Re: How to create a lookup list

Hi,

I'm not sure I understand what you want. So you want to reuse small pieces of text in various places in the document?
Maybe you should take a look at how key references can be used to reuse content:

http://blog.oxygenxml.com/2015/11/dita- ... orial.html

Regards,
Radu