Search found 237 matches

by Patrik
Tue Sep 13, 2016 3:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding custom pre-process param to all transtypes
Replies: 1
Views: 664

Adding custom pre-process param to all transtypes

I created a custom pre-process step for DITA-OT that has it's own parameter. To make it visible in oXygen when configuring a transformation scenario I added it to my custom transtype in the plugin.xml. But actually my plugin will affect any transtype. So I'm wondering if there is already any mechani...
by Patrik
Tue Sep 13, 2016 2:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding topic numbers to webhelp
Replies: 2
Views: 817

Re: Adding topic numbers to webhelp

Hi Radu, thanks for your thoughts. Since I found several other things I'd have to modify (especially all kind of links within the map) I decided to implement it as an additional step in the preprocess. So if anyone else should have the same requirement and comes across this thread - just tell me and...
by Patrik
Mon Sep 12, 2016 2:25 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding topic numbers to webhelp
Replies: 2
Views: 817

Adding topic numbers to webhelp

I have a use-case where the topic numbers need to be visible not only in the PDF but in the webhelp output as well. While adding this was pretty simple for the pdf it appears to require quite some effort for the webhelp!? What i got so far is: I modified the build_dita_template.xml to allow a custom...
by Patrik
Mon Sep 05, 2016 1:51 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customize WebHelp XSL with custom DITA-OT plugin
Replies: 8
Views: 2000

Re: Customize WebHelp XSL with custom DITA-OT plugin

It would be nice if you could add an extension point for adding parameters like it is possible for pdf.

Patrik
by Patrik
Fri Sep 02, 2016 9:55 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customize WebHelp XSL with custom DITA-OT plugin
Replies: 8
Views: 2000

Re: Customize WebHelp XSL with custom DITA-OT plugin

Thanks, sounds great.

However, I also just managed to create my own custom webhelp transtype that imports the original xsl and overwrites specific templates.

Regards,
Patrik
by Patrik
Thu Sep 01, 2016 10:26 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customize WebHelp XSL with custom DITA-OT plugin
Replies: 8
Views: 2000

Customize WebHelp XSL with custom DITA-OT plugin

Hi, I'm trying to customize the dita2webhelp transformation on XSL level. Since I have specialized classes I also need to modify the underlying xhtml transformation. I very much dislike the idea of mixing standard and custom source by directly modifying the xhtml and webhelp plugin. So I was hoping ...
by Patrik
Wed Aug 31, 2016 8:57 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp causes MalformedInputException when file names contain umlauts
Replies: 2
Views: 818

WebHelp causes MalformedInputException when file names contain umlauts

Hi, when I perform a WebHelp transformation on a DITA map with topics that have umlauts in their file name I get an exception: ...DITA-OT\plugins\com.oxygenxml.webhelp\build_dita.xml:161: Fatal error during transformation using ...DITA-OT\plugins\com.oxygenxml.webhelp\xsl\dita\indexterms\collectInde...
by Patrik
Wed Aug 31, 2016 7:56 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding custom library to DITA-OT class path
Replies: 2
Views: 889

Adding custom library to DITA-OT class path

Hi, I added a java-based preprocessing step to DITA-OT (2.3). Thus, every DITA-OT-transformation needs to have two custom libraries added to the classpath. I've added these in my plugin and in the DITA-OT/build.xml they are listed within <path id="dost.class.path">. So I'd guess I have done this cor...
by Patrik
Fri Aug 26, 2016 8:47 am
Forum: Other Issues
Topic: css inspector for less files
Replies: 1
Views: 1040

css inspector for less files

Hi, I switched to using less insted of css for my custom framework. But now the css inspector will no more show me the right location ofa rule. It will always link to my root less file. But in my case this one includes several other les files so it is not very helpful. Are there any plans to improve...
by Patrik
Thu Aug 11, 2016 2:34 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Dita profiling validation doesn't check topicrefs(?)
Replies: 1
Views: 537

Dita profiling validation doesn't check topicrefs(?)

Hi, when validating my DITA Map from the DITA Maps Manager inconsistent profiling in topics is reported. But I had several cases of a topicref in a without profiling attributes to a topic with a profiling attribute. e.g. map: <map> <topicref href="product-1.dita"/> </map> and the topic product-1.dit...
by Patrik
Fri Aug 05, 2016 9:27 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Constraining DITA with xsd
Replies: 4
Views: 1067

Re: Constraining DITA with xsd

I could find the relevant part in the spec and it basically says that when extending a group by xs:redefine indeed a reference to itself is required... However, I still have a problem with my DITA constraints. intermediate file 'my_commonTopicsConstraintModInt.xsd': [...] <xs:redefine schemaLocation...
by Patrik
Thu Aug 04, 2016 7:48 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Constraining DITA with xsd
Replies: 4
Views: 1067

Re: Constraining DITA with xsd

Hi again, I just managed to make it work. It appears that Saxon expects that groups that are extended in an xs:redefine to reference themselves. So the sample needs to look like this to work: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:redefine schemaLocation="highlightOnlyPConstrain...
by Patrik
Wed Aug 03, 2016 5:07 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Constraining DITA with xsd
Replies: 4
Views: 1067

Constraining DITA with xsd

Hi, I'm trying to create a constraints on DITA - e.g. enforce <title> to be the first element of a section. While this was very simple to do with Relax NG I didn't manage to realize this with XSD. Even the simple sample I found http://dita4practitioners.github.io/dita-specialization-tutorials/body/p...
by Patrik
Wed May 25, 2016 6:01 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Result view for a plugin
Replies: 1
Views: 2387

Result view for a plugin

Hi, I'd like to open a file not int a tab of the main editing area but on the buttom, just like a result view is opened. I could find this post which appears to be the same request: https://www.oxygenxml.com/pipermail/oxygen-user/2013-January/004503.html Is it already possible (in a simple way) to d...
by Patrik
Fri May 20, 2016 6:32 pm
Forum: Common Problems
Topic: different libs in single framework
Replies: 4
Views: 1556

different libs in single framework

Hi, the requirement is to have a framework that works with different oxygen versions. And this framework includes a saxon extension library. Since Saxon has changed the internal interface from 9.5 to 9.6 a library that works with oxygen 16.1 won't work with oxygen 17.0. Now the question is if there ...
by Patrik
Fri Apr 15, 2016 2:18 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Change appearence for read-only content by css
Replies: 2
Views: 1761

Re: Change appearence for read-only content by css

Hi Alex, the button is disabled but since it consists only of a single "*" without a frame it doesn't look different from an enabled one... Additional situations are that I've set an ancestor element to read-only, but I can handle these explicitly as well. The more important use-case is the one with...
by Patrik
Fri Apr 15, 2016 7:56 am
Forum: SDK-API, Frameworks - Document Types
Topic: Change appearence for read-only content by css
Replies: 2
Views: 1761

Change appearence for read-only content by css

Hi, I have a css rule that adds for specific elements a button next to it that will open a dialog for editing the content: MyElement:after(8) { content:oxy_editor(...); } When the content is not editable the button makes no sense and I'd like to hide it. Is there a simple and universal way to do thi...
by Patrik
Sun Feb 28, 2016 8:30 pm
Forum: Common Problems
Topic: SQF adds invalid xmlns value in keyword
Replies: 3
Views: 1122

Re: SQF adds invalid xmlns value in keyword

I guess that <keyword> should have no namespace at all. But in your schematron file you have most likely declared at the root the default namespace to be "http://purl.oclc.org/dsdl/schematron": <schema xmlns="http://purl.oclc.org/dsdl/schematron" ... Thus, it is applied to all elements without names...
by Patrik
Thu Feb 18, 2016 9:19 am
Forum: XML Schemas
Topic: Schematron: Replace on root element not working
Replies: 1
Views: 1807

Schematron: Replace on root element not working

Applying this (simplified) quick fix causes an error in oXygen: <sqf:fix id="test"> <sqf:description> <sqf:title>replace root element</sqf:title> </sqf:description> <sqf:replace match="/*" select="."/> </sqf:fix> error: Cannot perform the quick fix: Cannot execute operation: Delete Node. Cause: ro.s...
by Patrik
Mon Feb 15, 2016 2:49 pm
Forum: Feature Request
Topic: Remove entry from project history
Replies: 1
Views: 1403

Remove entry from project history

Hi, as far as I know it's currently not possible to remove a single entry from the project history. It will only be removed when trying to open it and it is not available. But the project might be only temporarly not available due to network issues. The following error message could provide options:...
by Patrik
Mon Feb 15, 2016 11:48 am
Forum: Feature Request
Topic: Explicit Schematron Saxon Settings
Replies: 1
Views: 1204

Explicit Schematron Saxon Settings

Hi, just as a reminder for what i shortly already discussed with Octavian in Prague: It would be nice to have a dedicated Saxon configuration page to be used for Schematron. The concrete use case was to use the DITA-SEMIA html-dialog from within a Schematron Quick Fix. Current workaround: Set the ge...
by Patrik
Thu Jan 21, 2016 8:17 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing cross reference dialog!
Replies: 6
Views: 1512

Re: Customizing cross reference dialog!

Hi Alex, css: I dislike "hacking" the buitl-in files. Ist it maybe possible to overwrite it using catalogs in my derived framework? change xref: Fine! initial selection: I understand. Other ideas would be a button to go to the current location or somehow highlight the current position. But this is o...
by Patrik
Tue Jan 19, 2016 9:13 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom DITA-OT parameters for custom PDF
Replies: 12
Views: 6574

Re: Custom DITA-OT parameters for custom PDF

After adding the transtype element is my parameters are listed now. Really nice solution! Thanks again.

Patrik
by Patrik
Tue Jan 19, 2016 10:05 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom DITA-OT parameters for custom PDF
Replies: 12
Views: 6574

Re: Custom DITA-OT parameters for custom PDF

Hi Radu,

I didn't realize that transtype itself is metadata as well. Thanks, I will try that.

Regards,
Patrik
by Patrik
Mon Jan 18, 2016 7:50 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing cross reference dialog!
Replies: 6
Views: 1512

Re: Customizing cross reference dialog!

Hi Alex, I also have this issue already on my todo list (not for short-term though): I'd like to provide some custom css to be used for the preview. Actually I want the same css to be used that is active for the author view. I'm especially missing some content generated by the css (e.g. for the befo...
by Patrik
Mon Jan 18, 2016 6:45 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom DITA-OT parameters for custom PDF
Replies: 12
Views: 6574

Re: Custom DITA-OT parameters for custom PDF

Hi Radu, thanks, but I don't have a transtype element since I'm only customizing the existing pdf2 transtype. My plugin.xml looks like this: <plugin id="org.dita-semia.pdf"> <require plugin="org.dita.pdf2"/> <feature extension="dita.conductor.transtype.check" value="dita-semia-pdf"/> <feature extens...
by Patrik
Mon Jan 18, 2016 6:23 pm
Forum: SDK-API, Frameworks - Document Types
Topic: problem with less attr function and namespace prefixes
Replies: 2
Views: 1734

Re: problem with less attr function and namespace prefixes

Hi Radu,

using quotes completely solved this problem for me, thanks!

Patrik
by Patrik
Mon Jan 18, 2016 8:26 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom DITA-OT parameters for custom PDF
Replies: 12
Views: 6574

Re: Custom DITA-OT parameters for custom PDF

Hi Stefan, Silly me... All the time I was expactin oXygen to automatically add my own parameter to the list. Simply by adding a new parameter manually with the appropriate name it's working fine now. Thanks again. However, I'm still wondering if there is a way to declare my parameter with a descript...