Search found 47 matches

by NicoAMP
Tue Aug 11, 2020 9:50 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Memory fail during "conref" preprocessing
Replies: 2
Views: 148

Re: Memory fail during "conref" preprocessing

Perfect, it works well :D

Thanks a lot Radu.

Regards,
Nicolas
by NicoAMP
Mon Aug 10, 2020 10:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Conkeyref XSLT processing
Replies: 2
Views: 331

Re: Conkeyref XSLT processing

Thanks Radu for your help.

Regards,

Nicolas
by NicoAMP
Mon Aug 10, 2020 6:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Memory fail during "conref" preprocessing
Replies: 2
Views: 148

Memory fail during "conref" preprocessing

Hi, I launch treatment on a big ditamap using my custom plugin. This plugin generated the merged file and create a report (with XSL) based on it. When I launch this transformation with DITA-OT command line, it works. But when I launch this transformation with an Oxygen scenario I always have the fol...
by NicoAMP
Thu Jul 16, 2020 5:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Conkeyref XSLT processing
Replies: 2
Views: 331

Conkeyref XSLT processing

Hi,

In a XSLT action, in my custom framework, I get and transform all titles of current DITA file. It's OK.

But I also want to get and transform all titles of content referenced in current DITA file thought <conkeyref>.

Do you know how I can do that?

Thanks
by NicoAMP
Thu Jul 16, 2020 4:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: XSLT Xpath schema aware in framework action
Replies: 1
Views: 172

XSLT Xpath schema aware in framework action

Hi, I created a new action in a framework using ro.sync.ecss.extensions.commons.operations.XSLTOperation This action process my current DITA file with a XSLT using the following xpath: //*[contains(@class, ' topic/title ')] This xpath doesn't return result because @class is a default schema value. I...
by NicoAMP
Tue Jun 23, 2020 3:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom inheritance of metadatas from maps to topics
Replies: 2
Views: 227

Re: Custom inheritance of metadatas from maps to topics

Hi Radu, Thanks for these informations and for your help. But I just saw that my expected behavior is now implemented in DITA OT 3.5: https://www.dita-ot.org/3.5/release-notes/ . The DITA 1.x specification defines cascade behaviors for maps such that <othermeta> and <source> do not cascade to child ...
by NicoAMP
Thu Jun 18, 2020 6:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom inheritance of metadatas from maps to topics
Replies: 2
Views: 227

Custom inheritance of metadatas from maps to topics

Hi,

I would like, for HTML5 output, to change behavior of inheritance of metadatas from maps to topics.
It seems that is made in move-meta-entries implemented in java.

I don't know where and how can I modify this behavior?

Thanks for any help.

Regards,
Nicolas
by NicoAMP
Fri May 29, 2020 4:09 pm
Forum: SDK-API, Frameworks - Document Types
Topic: dita dependency in maven project
Replies: 5
Views: 436

Re: dita dependency in maven project

Hi Radu,

I will try this solution. Thanks a lot.

Regards,
Nicolas
by NicoAMP
Thu May 28, 2020 11:41 am
Forum: SDK-API, Frameworks - Document Types
Topic: dita dependency in maven project
Replies: 5
Views: 436

Re: dita dependency in maven project

Hi Radu, I created a maven module with my custom framework and inside a java source I try to import ro.sync.ecss.extensions.dita.DITAExtensionsBundle But I have the following error when I try to build the complete project: error: package ro.sync.ecss.extensions.dita does not exist Do you know why? T...
by NicoAMP
Wed May 27, 2020 1:33 pm
Forum: SDK-API, Frameworks - Document Types
Topic: dita dependency in maven project
Replies: 5
Views: 436

Re: dita dependency in maven project

The question in fact is: the dita.jar is available as a Maven artifact?

Nicolas
by NicoAMP
Wed May 27, 2020 12:51 pm
Forum: SDK-API, Frameworks - Document Types
Topic: dita dependency in maven project
Replies: 5
Views: 436

dita dependency in maven project

Hi,

In my project (manage under Maven) I would like to extends following classes : DITAExtensionsBundle and DitaLinkTextResolver.

Which dependency I have to add in my pom.xml to make it works?

Thanks a lot.

Nicolas
by NicoAMP
Wed May 06, 2020 2:35 pm
Forum: Other Issues
Topic: Image Map PDF output
Replies: 7
Views: 2334

Re: Image Map PDF output

Hi Namita, Right now the default PDF output for DITA does not show hotspots for image maps: https://github.com/dita-ot/dita-ot/issues/1458 As sometimes the PDF is intended for print this is a feature which may not be implemented. Regards, Radu Hi Radu, Now a plugin is available here to manage image...
by NicoAMP
Tue Apr 14, 2020 9:38 am
Forum: Common Problems
Topic: Web Author "Paste as XML" shortcuts
Replies: 7
Views: 584

Re: Web Author "Paste as XML" shortcuts

Thanks a lot Cristian.

Just a last remark: I still have the problem with Ctrl+Alt+X (message "Synchronizing with server" indefinitely and page freeze).

If I use an other shortcut for this action (e.g. Ctrl+Alt+P) I don't have the problem anymore.
Maybe it have a conflict with Ctrl+Alt+X shorcut...
by NicoAMP
Thu Apr 09, 2020 7:59 pm
Forum: Common Problems
Topic: Web Author "Paste as XML" shortcuts
Replies: 7
Views: 584

Re: Web Author "Paste as XML" shortcuts

Hi Cristian,

Did you commit it on github?

Regards,
Nicolas
by NicoAMP
Thu Apr 09, 2020 5:54 pm
Forum: Common Problems
Topic: Web Author "Paste as XML" shortcuts
Replies: 7
Views: 584

Re: Web Author "Paste as XML" shortcuts

Hi Cristian, I installed your plugin on my Web Author server but something strange appends. When I used custom actions "Paste as text" and "Paste as XML" in right click menu, all is OK. Perfect :) But when I try to use shortcuts : Ctrl+Alt+T works only one time. When I try to reuse it nothing append...
by NicoAMP
Wed Apr 08, 2020 11:23 am
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen Toolbar DITA icons
Replies: 2
Views: 281

Re: Oxygen Toolbar DITA icons

Yes they are in oxygen.jar.

Thanks a lot :D

Regards,
Nicolas
by NicoAMP
Wed Apr 08, 2020 11:02 am
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen Toolbar DITA icons
Replies: 2
Views: 281

Oxygen Toolbar DITA icons

Hi,

In my Oxygen framework I can see reference to specific icons in "insert.topicref" action : /images/Topicref24.png and /images/Topicref24.png

But I don't find them in Oxygen installation directory. Where can I get them?

Thanks.
by NicoAMP
Wed Apr 08, 2020 10:22 am
Forum: Common Problems
Topic: URL chooser for a custom action
Replies: 2
Views: 284

Re: URL chooser for a custom action

Hi Cristian,

IFragmentOperation is a typo error, I use a classic InsertFragmentOperation.

I follow your advice using an action in Document Type Configuration Dialog box, with the following fragment:

Code: Select all

<mapref href="${ask('DITA Map', relative_url, '')}"/>
Thanks for your help.

Regards,
Nicolas
by NicoAMP
Tue Apr 07, 2020 5:51 pm
Forum: Common Problems
Topic: URL chooser for a custom action
Replies: 2
Views: 284

URL chooser for a custom action

Hi, I would like to add a custom action to add a mapref in a ditamap. So I add this code, but I don't know how to invoke an "URL chooser" to get get link to .ditamap and use the result with ro.sync.ecss.extensions.commons.operations.IFragmentOperation (see "var url = ????"). MaprefAction = function(...
by NicoAMP
Tue Apr 07, 2020 10:17 am
Forum: Common Problems
Topic: Web Author "Paste as XML" shortcuts
Replies: 7
Views: 584

Web Author "Paste as XML" shortcuts

Hi, In Oxygen Web Author, I would like to create a shortcut to "Paste special / Paste as XML" directly? It seems that this operation doesn't exist in Author Action Dialog Box, so I can't associate a shortcut. Is it possible to create this shortcut simply in a framework? If not, is it possible at lea...
by NicoAMP
Fri Mar 27, 2020 2:01 pm
Forum: XSLT and FOP
Topic: Link between SVG image and text in an XML document
Replies: 8
Views: 2547

Re: Link between SVG image and text in an XML document

Hi Dan, I tried your solution to make a link between an embed SVG in fo and a fo:block with FOP. <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions"> <fo:layout-master-set> <fo:simple-page-master master...
by NicoAMP
Thu Apr 11, 2019 4:27 pm
Forum: XSLT and FOP
Topic: Xspec test fail in Oxygen 21 because of saxon version
Replies: 4
Views: 1122

Re: Xspec test fail in Oxygen 21 because of saxon version

Hi Sorin,

Thanks, now it works :)
by NicoAMP
Mon Apr 01, 2019 11:02 am
Forum: XSLT and FOP
Topic: Xspec test fail in Oxygen 21 because of saxon version
Replies: 4
Views: 1122

Re: Xspec test fail in Oxygen 21 because of saxon version

Hello Sorin,

Thanks for your workaround, now it works :P
by NicoAMP
Thu Mar 28, 2019 6:54 pm
Forum: XSLT and FOP
Topic: Xspec test fail in Oxygen 21 because of saxon version
Replies: 4
Views: 1122

Xspec test fail in Oxygen 21 because of saxon version

Hi, I try to run Xspec test using Oxygen 21 but I have following message : [java] Syntax error at char 55 near {... $context, function($} in expression in xsl:sequence/@select on line 621 column 24 of xxx.xsl: [java] XPST0003: Inline functions require support for higher-order-functions, which needs ...
by NicoAMP
Tue Mar 12, 2019 11:44 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Is it possible to chain DITA-OT plugins
Replies: 2
Views: 589

Is it possible to chain DITA-OT plugins

Hi, I would like to generate a report (via XSLT) based on MERGED file produced by DITA-OT. I saw that "com.oxygenxml.merged" generate this MERGED file. My question : is it possible to create a plugin that have in entry the result of another plugin (can I chain plugins) ? If yes, how can I do that? T...
by NicoAMP
Wed Mar 06, 2019 4:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Framework proposals for elements not taken in account
Replies: 4
Views: 752

Re: Framework proposals for elements not taken in account

Hi Radu, Effectively my framework is an extension of the DITA framework. Now if I put ${framework}/resources/ entry in first position in the "Classpath" tab it works. Thanks :D I have another question : When I insert a topic element as a sub-element of topic like above, is it possible to insert a fr...
by NicoAMP
Wed Mar 06, 2019 2:35 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Framework proposals for elements not taken in account
Replies: 4
Views: 752

Framework proposals for elements not taken in account

Hi, I try to configuring the proposals for elements. I follow the steps describes here: https://www.oxygenxml.com/doc/versions/21.0/ug-editor/topics/configure-elements-attr-cc-individually.html?hl=configuring%2Cproposals%2Celements%2Cattributes In my framework folder (stored outside of Oxygen instal...
by NicoAMP
Tue Mar 05, 2019 12:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Xref text resolution on elements without title
Replies: 2
Views: 593

Re: Xref text resolution on elements without title

I add a test on text() content on the following template (in topicpullImpl.xsl) and it works. <xsl:template match="*" mode="topicpull:resolvelinktext" priority="-1"> <xsl:variable name="target-text"> <xsl:choose> <xsl:when test="*[contains(@class,' topic/title ')][1]"> <xsl:apply-templates select="*...