Search found 7543 matches

by Radu
Thu May 27, 2021 1:09 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Process DITA map recursively with XSLT
Replies: 6
Views: 307

Re: Process DITA map recursively with XSLT

Hi Patrik, I'm afraid I do not remember our previous discussion about this. I'm going to need more context, do you want to process the DITA Map with XSLT by running the XSLT transformation from inside Oxygen? Or do you have a DITA OT plugin which does the XSLT processing? If so, why doesn't your plu...
by Radu
Wed May 26, 2021 10:40 am
Forum: SDK-API, Frameworks - Document Types
Topic: How best invoke dita ot cmd from custom oxygen plugin
Replies: 11
Views: 552

Re: How best invoke dita ot cmd from custom oxygen plugin

Hi, I checked this and the quotes around the path to the executable do not help, it's best to give each parameter, including the path as separate entries in a command line array, also include the entire name of the executable "dita.bat", like for example on my side: List<String> cmdArray = new Array...
by Radu
Wed May 26, 2021 9:48 am
Forum: SDK-API, Frameworks - Document Types
Topic: How best invoke dita ot cmd from custom oxygen plugin
Replies: 11
Views: 552

Re: How best invoke dita ot cmd from custom oxygen plugin

Hi, You can find the path to the DITA OT installation in Oxygen using something like this: String ditaExecutableCommand = PluginWorkspaceProvider.getPluginWorkspace().getUtilAccess().expandEditorVariables("${configured.ditaot.dir}", null) + "\\bin\\dita"; You need to surround in double quotes the pa...
by Radu
Wed May 26, 2021 8:51 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Filtering DITA Content By Attribute and Saving Filtered Map
Replies: 4
Views: 233

Re: Filtering DITA Content By Attribute and Saving Filtered Map

Forgot about this question: Also, the publishing scripts I am using in Adobe FrameMaker require a flattened DITA file structure (all topics and maps at the root level). My source files are all in folders of various hierarchies. Does Oxygen have a way to take a root map whose source files are in a hi...
by Radu
Wed May 26, 2021 7:18 am
Forum: General XML Questions
Topic: Figure titles/labels
Replies: 3
Views: 295

Re: Figure titles/labels

Hi, So you want the static text "Figure" which gets automated prepended to be removed from the published output, right? So that you can fully control the title. Is this question for the HTML-based or PDF output? If it's for PDF, is it for the classic XSL-FO based output or for our own CSS-based PDF ...
by Radu
Wed May 26, 2021 7:13 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Filtering DITA Content By Attribute and Saving Filtered Map
Replies: 4
Views: 233

Re: Filtering DITA Content By Attribute and Saving Filtered Map

Hi Pat,

In the Oxygen main menu "Tools->XML Refactoring" you can find a "Delete element" operation which can be applied on multiple files. You can set an XPath expression for the element to delete, like for example:

Code: Select all

*[contains(@audience, 'novice')]
Regards,
Radu
by Radu
Wed May 26, 2021 7:10 am
Forum: SDK-API, Frameworks - Document Types
Topic: How best invoke dita ot cmd from custom oxygen plugin
Replies: 11
Views: 552

Re: How best invoke dita ot cmd from custom oxygen plugin

Hi Samba, If you want to run the DITA OT on your own from the Oxygen plugin you will probably need to start a new process from the Java code: https://docs.oracle.com/javase/8/docs/api/java/lang/Process.html We also have two API methods for starting a new process: ro.sync.exml.workspace.api.Workspace...
by Radu
Mon May 24, 2021 1:05 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Link index to specific point in topic in chm output
Replies: 3
Views: 215

Re: Link index to specific point in topic in chm output

Hi, You can insert index terms indeed in various DITA elements, for the PDF based output this is taken into account, as the index page will list the number of the page on which the indexterm was defined. I think indexterms were mostly considered as useful for PDF, in the plain HTML output they are n...
by Radu
Mon May 24, 2021 9:43 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Filtering DITA Content By Attribute and Saving Filtered Map
Replies: 4
Views: 233

Re: Filtering DITA Content By Attribute and Saving Filtered Map

Hi Pat,

This should work only for situations when the filters exclude entire topics (they are set up on each topicref element in the DITA Map).
If you want to exclude certain elements inside topics, I'm afraid we do not have this possibility.

Regards,
Radu
by Radu
Mon May 24, 2021 9:34 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Link index to specific point in topic in chm output
Replies: 3
Views: 215

Re: Link index to specific point in topic in chm output

Hi, I will assume you are publishing DITA XML content to CHM using Oxygen XML Editor. Oxygen uses the DITA Open Toolkit engine for publishing DITA to various output formats. I'm afraid there is no parameter to control this behavior, the index page is generated by creating links for each index term t...
by Radu
Thu May 20, 2021 8:05 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: stepsection resets numbering for xref
Replies: 3
Views: 374

Re: stepsection resets numbering for xref

Hi Evan,

Thanks for the sample, all clear for me now. I added an internal issue and we'll update this forum thread when the issue is fixed.

Regards,
Radu
by Radu
Thu May 20, 2021 7:48 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding Annotations to Subject Scheme
Replies: 1
Views: 129

Re: Adding Annotations to Subject Scheme

Hi Diane, Please use the <navtitle> element instead of <shortdesc>: <subjectdef keys="WEB"><topicmeta><navtitle>Responsive Web</navtitle></topicmeta></subjectdef> We have plans to support by default also the shortdesc element as a way to obtain some rendering information for the subject def key, but...
by Radu
Wed May 19, 2021 3:28 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Drag & drop of multiple links from a JavaFX webview to DITA Map Manager
Replies: 2
Views: 207

Re: Drag & drop of multiple links from a JavaFX webview to DITA Map Manager

Hi Fabien, We had a client about a year ago who wanted the same thing, to drop from a JavaFX panel URLs to the DITA Maps Manager view. We discovered that in the case of drag and drops from the JavaFX panel, we received in our code this mimetype: mimetype=text/uri-list;representationclass=java.io.Inp...
by Radu
Wed May 19, 2021 8:40 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Logo in HTML-header
Replies: 2
Views: 182

Re: Logo in HTML-header

Hi, One option would be to have the logo image embedded in the header with base 64 encoding. Other than that maybe you can copy the image in the "topics" folder near the topics and refer to it in the DITA Map using something like: <topicref href="topics/image.png" format="png" processing-role="resou...
by Radu
Wed May 19, 2021 7:17 am
Forum: SDK-API, Frameworks - Document Types
Topic: Excluding code templates from content completion suggestions
Replies: 1
Views: 144

Re: Excluding code templates from content completion suggestions

Hi, Code templates may contain any content inside them (text, XML tags, or a combination of..), they may contain even editor variables which get expanded when the code template is inserted, so Oxygen proposes them in any context, even when element values need to be inserted. Maybe you can create equ...
by Radu
Wed May 19, 2021 6:57 am
Forum: SDK-API, Frameworks - Document Types
Topic: Modifying the Symbols menu
Replies: 3
Views: 225

Re: Modifying the Symbols menu

Hi Bill, About the plugin approach I created a small sample Oxygen Javascript-based plugin which imposes using our API a fixed value for the "recently.used.characters" key: https://github.com/oxygenxml/wsaccess-javascript-sample-plugins/tree/master/impose-option-keys A plugin can be packed as an add...
by Radu
Tue May 18, 2021 1:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: SimpleTable issue
Replies: 2
Views: 163

Re: SimpleTable issue

Hi, After you add a simple table in Oxygen you can drag the column margins to resize the table cells and produce a table XML content which has proportions like for example: <simpletable relcolwidth="1.0* 9*"> <sthead> <stentry>a</stentry> <stentry>b</stentry> </sthead> <strow> <stentry>c</stentry> <...
by Radu
Tue May 18, 2021 7:24 am
Forum: SDK-API, Frameworks - Document Types
Topic: Modifying the Symbols menu
Replies: 3
Views: 225

Re: Modifying the Symbols menu

Hi Bill, I removed your duplicate forum post. The Symbols drop down is not specific to the DITA framework, so it's placed on a general purpose toolbar which cannot be changed by modifying the DITA framework configuration. The default list of symbols available there could be controlled by creating an...
by Radu
Tue May 18, 2021 7:07 am
Forum: Common Problems
Topic: Question about Oxygen Author performance
Replies: 1
Views: 178

Re: Question about Oxygen Author performance

Hi, We have clients editing DITA topics in the range of 5-10 megabytes in Oxygen, of course the loading of the topic takes more time as the topic increases in size. In general you should consider splitting your reusable content in multiple topics, maybe based on certain criteria, a topic for reusabl...
by Radu
Thu May 13, 2021 12:54 pm
Forum: Common Problems
Topic: Opening Oxygen Project (*.xpr) via File > Open URL...
Replies: 1
Views: 143

Re: Opening Oxygen Project (*.xpr) via File > Open URL...

Hi Sean, I'm assuming you want to open a project in Oxygen in order to impose custom preferences for the end user. All the possibilities to share settings with Oxygen are described here: https://www.oxygenxml.com/doc/versions/23.0/ug-editor/topics/sharing-possibilities.html The Oxygen Project view a...
by Radu
Wed May 12, 2021 1:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom image icons in a workspace access plugin
Replies: 3
Views: 279

Re: Custom image icons in a workspace access plugin

Hi Jakub, Maybe you can take inspiration from some of the plugins we've built like our Git client plugin, it has the images here: https://github.com/oxygenxml/oxygen-git-plugin/tree/master/src/main/resources/images as you see the retina images have the "@2x.png" suffix. And it has this Icons class w...
by Radu
Wed May 12, 2021 12:52 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Extendin the frameworks
Replies: 5
Views: 1218

Re: Extendin the frameworks

Hi, I discussed the problem with Stefan via email, adding my reply here for completion: Looking at the code on our side, we take all these JAR library references and create a custom Java class loader on our side. The custom class loader has as parent class loader the class loader which loaded our Ox...
by Radu
Tue May 11, 2021 11:46 am
Forum: SDK-API, Frameworks - Document Types
Topic: Extendin the frameworks
Replies: 5
Views: 1218

Re: Extendin the frameworks

Hi Stefan, Can you give me more details, maybe stack traces about what errors you receive when you have only your framework's JAR libraries in the classpath? Do you get these errors when you compile your code or when running the runtime workbench? Maybe send us (support@oxygenxml.com) also your ".fr...
by Radu
Mon May 10, 2021 7:29 am
Forum: Other Issues
Topic: Newline characters now appearing in author mode
Replies: 5
Views: 470

Re: Newline characters now appearing in author mode

Hi, Thanks for the hint, I added it on the opened issue and we'll look over this. But Oxygen comes with a bundled Java installation (it does not use the default Java installation in the OS), looking in our downloads history for Oxygen 20.1 we only had on Mac OS a kit which bundled Java 8 (OS X 10.8 ...
by Radu
Mon May 10, 2021 7:24 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: glossSurfaceForm::before
Replies: 6
Views: 290

Re: glossSurfaceForm::before

Hi, Not all images in the input folder are automatically copied to the output folder. The images need to be referenced in a DITA topic or a DITA Map in order to be copied over. Maybe you can add a reference in the DITA Map to the image, something like: <topicref href="images/note-surf.png" format="p...
by Radu
Fri May 07, 2021 10:49 am
Forum: Other Issues
Topic: Transformation running notice
Replies: 4
Views: 295

Re: Transformation running notice

Hi Ben, Are you working with Oxygen 23.0 or 23.1? I'm using 23.1 in my tests. You mentioned a ""Validation successful" message, you mean Transformation successful", right? So I open an XQuery document and then I run an XQuery transformation scenario over an XML document, I get in the status bar a "T...
by Radu
Fri May 07, 2021 10:00 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: glossSurfaceForm::before
Replies: 6
Views: 290

Re: glossSurfaceForm::before

Hi,

Maybe you can unzip the produced EPUB and look inside at the produced HTML content to see how you can match that specific HTML element. Also make sure that the image "images/note-surf.png" actually is inside the EPUB, otherwise maybe you can set it base 64 encoded.

Regards,
Radu
by Radu
Fri May 07, 2021 9:51 am
Forum: Other Issues
Topic: Newline characters now appearing in author mode
Replies: 5
Views: 470

Re: Newline characters now appearing in author mode

Hi, Thanks for the details. The "Editor" font is the font used in the Text page. The "Author" font is by default Times New Roman on Mac but in code blocks we use the default platform monospaced font which somehow indeed seems to have problems when Oxygen is run with Java 15. The Oxygen kit which com...
by Radu
Fri May 07, 2021 8:34 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Transformation scenarios for parent map and submaps
Replies: 3
Views: 353

Re: Transformation scenarios for parent map and submaps

Hi, Coming back to this after a recent Slack discussion on the DITA OT Slack Channel, it seems you can add the property preprocess.clean-map-check.skip=true in the Oxygen transformation scenario Parameters list and the container elements which contain metadata for the sub maps will remain in the mer...
by Radu
Fri May 07, 2021 8:30 am
Forum: Common Problems
Topic: Get Attribute Value from Bookmeta node
Replies: 5
Views: 657

Re: Get Attribute Value from Bookmeta node

Hi, If you already have a workspace access plugin for Oxygen, maybe you can evaluate an XPath expression after an XML document is opened, something like: @Override public void applicationStarted(StandalonePluginWorkspace pluginWorkspaceAccess) { pluginWorkspaceAccess.addEditorChangeListener(new WSEd...