Search found 280 matches

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

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 th...
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: 2555

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

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 el...
by Patrik
Thu Feb 18, 2016 9:19 am
Forum: XML Schemas
Topic: Schematron: Replace on root element not working
Replies: 1
Views: 2578

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 opera...
by Patrik
Mon Feb 15, 2016 2:49 pm
Forum: Feature Request
Topic: Remove entry from project history
Replies: 1
Views: 2222

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

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

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...
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: 9163

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

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

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

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=&quo...
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: 2558

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

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

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 "...
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: 9163

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" ...
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: 2558

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

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

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 D...
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: 2000

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 uncheck "Allow <oXygen/> to add high priority libraries to classpath" und 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: 2000

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

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

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

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

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

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

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

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

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

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

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...