Search found 247 matches

by Patrik
Thu Feb 18, 2016 9:19 am
Forum: XML Schemas
Topic: Schematron: Replace on root element not working
Replies: 1
Views: 1888

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: 1521

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: 1284

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: 1697

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: 6941

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: 6941

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: 1697

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: 6941

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: 1855

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: 6941

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...
by Patrik
Sun Jan 17, 2016 7:13 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom DITA-OT parameters for custom PDF
Replies: 12
Views: 6941

Re: Custom DITA-OT parameters for custom PDF

Hi Stefan, thanks fot the answer, but I couldn't see how it should help me. As I wrote I have alreay successfully added a parameter into the PDF2-XSLT-Stylesheet (e.g. "my-param") and I'm also evaluating it in my pdf customization. But so far it is passed only with the contant value "#CCCCFF". And I...
by Patrik
Sun Jan 17, 2016 3:41 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom DITA-OT parameters for custom PDF
Replies: 12
Views: 6941

Custom DITA-OT parameters for custom PDF

Hi, I successfully created my own pdf customization and also added custom parameters like this: in plugin.xml I added <feature extension="dita.conductor.pdf2.param" file="insert-parameters.xml"/> and insert-parameters.xml looks like this: <dummy> <param name="my-param" expression="#CCCCFF"/> </dummy...
by Patrik
Sat Jan 16, 2016 7:05 pm
Forum: SDK-API, Frameworks - Document Types
Topic: problem with less attr function and namespace prefixes
Replies: 2
Views: 1855

problem with less attr function and namespace prefixes

Hi, I just wanted to use the attr function in a less file to output the value of a namespace attribute. Using a css file the same works fine but within a less file I get an error message: [CSS]:Error: ParseError: Unrecognised input in ... (jar:file:/C:/Program%20Files/Oxygen%20XML%20Editor%2017.1/li...
by Patrik
Thu Jan 07, 2016 8:22 pm
Forum: XML Schemas
Topic: Further development on schematron
Replies: 13
Views: 5598

Re: Further development on schematron

Hi Steve, assuming that there is no easy solution with classpath or anything, this might be an acceptable workaround: 1. Create the file oXygenSchematronDispatcher.xsl at some folder where you are allowed to modify files. 2. Create another oXygenSchematronDispatcher.xsl file that only includes the f...
by Patrik
Wed Dec 09, 2015 12:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA-OT 2.2 + Oxygen 17.0 = NoSuchMethodError
Replies: 5
Views: 1248

Re: DITA-OT 2.2 + Oxygen 17.0 = NoSuchMethodError

Hi Radu, also note that "oxygen.jar" contains an (older) implmentation of the class "org.apache.commons.io.FileUtils" as well. So removing the "commons-io-1.3.1.jar" would probably not be enough. And when I removed the "oxygen.jar" from the list of libraries DITA-OT could no more load the schema: C:...
by Patrik
Wed Dec 09, 2015 12:07 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA-OT 2.2 + Oxygen 17.0 = NoSuchMethodError
Replies: 5
Views: 1248

Re: DITA-OT 2.2 + Oxygen 17.0 = NoSuchMethodError

Hi Radu,

thanks for the hint.

Simply adding the lib didn't help, though. I had to
  1. uncheck "Allow <oXygen/> to add high priority libraries to classpath" und
  2. change the first entry to "${configured.ditaot.dir.url}/lib/commons-io-2-4.jar".
Then it works fine.

Regards,
Patrik
by Patrik
Wed Dec 09, 2015 9:46 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA-OT 2.2 + Oxygen 17.0 = NoSuchMethodError
Replies: 5
Views: 1248

DITA-OT 2.2 + Oxygen 17.0 = NoSuchMethodError

Hi, I'm trying to use DITA-OT 2.2 with Oxygen 17.0 but get an error when generating a PDF: BUILD FAILED C:\Testteamserver\DITA-OT\build.xml:42: The following error occurred while executing this line: C:\Testteamserver\DITA-OT\plugins\org.dita.base\build_preprocess.xml:226: java.lang.NoSuchMethodErro...
by Patrik
Tue Nov 24, 2015 4:17 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Display topic numbers
Replies: 2
Views: 885

Re: Display topic numbers

Hi Radu, in all our PDFs each topic has a number like 1.2.3.4 for a topic on 4th level. Abd we never use the same topic twice in a ditamap - so it's always unique. Actually, in my custom framework I already implemented it, so I will convert it to using DITA maps as well. Just wanted to make sure I'm...
by Patrik
Tue Nov 24, 2015 8:29 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Display topic numbers
Replies: 2
Views: 885

Display topic numbers

Hi, the topic number from the PDF is an important key information when modifying the DITA sources in oXygen. Thus, it would be very helpful to display them in oxygen as well. That is, in - the author mode on each title for topics and maps - the DITA Maps Manager - the Outline window Is such a featur...
by Patrik
Mon Nov 16, 2015 10:48 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Modifying DitaLinkTextResolver
Replies: 5
Views: 1350

Re: Modifying DitaLinkTextResolver

OK, thanks.

Patrik
by Patrik
Fri Nov 13, 2015 9:55 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Modifying DitaLinkTextResolver
Replies: 5
Views: 1350

Re: Modifying DitaLinkTextResolver

Hi Mihaela, my question was not about modifying part of a framework but about modifying part of the DitaLinkTextResolver . I only want to modify the link text when the rerefenced element is of some special kind. Overriding the method resolveReference would mean that I have to implement all the funct...
by Patrik
Fri Nov 13, 2015 6:00 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Modifying DitaLinkTextResolver
Replies: 5
Views: 1350

Modifying DitaLinkTextResolver

Hi, I'd like to adapt the text being generated for some special cases of referenced elements. Is there any way to adapt the existing code (probably of DitaLinkTextResolver.resolveElement() and/or DITAAccess.computeLinkText) to deal only with my special cases? Or will I have to re-implement the compl...
by Patrik
Fri Nov 13, 2015 1:06 am
Forum: SDK-API, Frameworks - Document Types
Topic: less: begin(@n) not working?
Replies: 1
Views: 1202

Re: less: begin(@n) not working?

Sorry, should have looked into the spec first...

Using the correct syntax (with curly braces) it works fine:

Code: Select all

@index: 5;
*MyElement:before(@{index}) {
...
}
Patrik
by Patrik
Fri Nov 13, 2015 12:11 am
Forum: SDK-API, Frameworks - Document Types
Topic: less: begin(@n) not working?
Replies: 1
Views: 1202

less: begin(@n) not working?

Hi,

I wanted to define a less variable for the index I'm using within a number of :begin(n) and :after(n):

Code: Select all

@index: 5;
*MyElement:before(@index) {
...
}
But I get the ParseError "Unrecognised Input".

Is this an intentional limitation?

Thanks and regards,

Patrik
by Patrik
Tue Nov 10, 2015 4:47 pm
Forum: Other Issues
Topic: CSS: -oxy-append-content kills original icons
Replies: 1
Views: 1045

CSS: -oxy-append-content kills original icons

Hi, in one css file I'm adding some buttons to an element using relative urls for the icons. Now in another css file (located in another folder) I'm adding additional content (i.e. another button with icon) using -oxy-append-content. The effect is now that the icons of the original buttons are no mo...
by Patrik
Fri Nov 06, 2015 10:02 am
Forum: Feature Request
Topic: User defined css functions
Replies: 2
Views: 1427

Re: User defined css functions

Thanks Alex.

Patrik
by Patrik
Thu Nov 05, 2015 1:02 pm
Forum: Feature Request
Topic: User defined css functions
Replies: 2
Views: 1427

User defined css functions

Hi, oXygen already provides several custom css functions, but there are special cases where I'd like to call my own java methods. I know I can implement my own StylesFilter but this has two disadvantages: 1. I have to implement the java code for selecting the right node as well (which is easier in c...
by Patrik
Mon Nov 02, 2015 10:59 am
Forum: SDK-API, Frameworks - Document Types
Topic: Non-modifying custom actions
Replies: 4
Views: 1545

Re: Non-modifying custom actions

Hi Radu,

I understand, thanks for the explanation.

Patrik
by Patrik
Mon Nov 02, 2015 10:42 am
Forum: SDK-API, Frameworks - Document Types
Topic: Non-modifying custom actions
Replies: 4
Views: 1545

Re: Non-modifying custom actions

Hi Radu, I checked again and indeed: opening another file did neither mark the document as modified nor did it add an entry to the undo list. So that's fine. But calling AuthorDocumentController.refreshNodeReferences() marks the document as modified. And you can undo this operation as well. You migh...
by Patrik
Mon Nov 02, 2015 9:47 am
Forum: SDK-API, Frameworks - Document Types
Topic: Non-modifying custom actions
Replies: 4
Views: 1545

Non-modifying custom actions

Hi, I have non-modifying AuthorOperations. To avoid the document being marked as modified after performing the actions I'm setting the it as unmodified explicitly. Since the PseudoClassOperations should have the same problem I'm wondering if there's already a better solution!? Thanks and regards, Pa...