Search found 9041 matches

by Radu
Fri Feb 02, 2024 12:24 pm
Forum: General XML Questions
Topic: How to improve XML with the Oxygen AI Positron Assistant plugin
Replies: 1
Views: 287

Re: How to improve XML with the Oxygen AI Positron Assistant plugin

Hi, There is this topic in our user's guide with a small video and details about how the add-on can be used: https://www.oxygenxml.com/doc/versions/26.0/ug-editor/topics/ai_positron.html also at the end of the topic you have links to previously recorded webinars: https://www.oxygenxml.com/doc/versio...
by Radu
Thu Feb 01, 2024 5:53 pm
Forum: Common Problems
Topic: Terminology Checker - How to search for a string that is from a reuse file
Replies: 1
Views: 160

Re: Terminology Checker - How to search for a string that is from a reuse file

Hi,
So this question is about the Terminology Checker Oxygen add-on, right?
Do your ph element have conrefs on them so that they reuse content from another topic?
Regards,
Radu
by Radu
Thu Feb 01, 2024 8:59 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Prepending text to title in template
Replies: 1
Views: 327

Re: Prepending text to title in template

Hi Scott, Off topic, if you are not using the @task-title variable in multiple places in the new file template this: ${ask('General guidelines for?', String, '', @task-title)}${answer(@task-title)} can be simplified to this: ${ask('General guidelines for?')} The title set by the end user in the New ...
by Radu
Wed Jan 31, 2024 4:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Ditamaps Manager Context Menu Customisation
Replies: 13
Views: 739

Re: Ditamaps Manager Context Menu Customisation

Hi, Looking at your code, you already have access to the "WSDITAMapEditorPage": https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/exml/workspace/api/editor/page/ditamap/WSDITAMapEditorPage.html You can get the selected AuthorNode's: https://www.oxygenxml.com/InstData/Editor/SDK...
by Radu
Wed Jan 31, 2024 11:30 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translation of text in othertype attribute of note element.
Replies: 7
Views: 541

Re: Translation of text in othertype attribute of note element.

Hello Jan, I fully agree with the translators usually skipping attribute values. This is why in general the DITA XML standard has moved away from using translatable text in attribute values. For example an older DITA standard allowed setting the "alternate" text on an image using the "...
by Radu
Wed Jan 31, 2024 9:05 am
Forum: Common Problems
Topic: PC user who doesn't have admin permissions on her computer cannot create a webdav connection
Replies: 3
Views: 229

Re: PC user who doesn't have admin permissions on her computer cannot create a webdav connection

Hi Jean, So this user has a desktop on-premise installation of Oxygen 25, right? And they attempt to login to a Componize CMS/server using the Oxygen Webdav support, right? Did they install any specific plugin from Componize for integrating Oxygen with Componize? What error does Oxygen show them whe...
by Radu
Tue Jan 30, 2024 7:09 pm
Forum: Common Problems
Topic: Hide specific element attribute from editor view
Replies: 3
Views: 215

Re: Hide specific element attribute from editor view

Hi Vitor,
Great, also thanks for posting the end solution!
Regards,
Radu
by Radu
Tue Jan 30, 2024 4:46 pm
Forum: Common Problems
Topic: Hide specific element attribute from editor view
Replies: 3
Views: 215

Re: Hide specific element attribute from editor view

Hi Vitor,
How about if you use our oxy_replace over the value returned by oxy_attributes to apply a regexp which removes part of the displayed attributes string?
https://www.oxygenxml.com/doc/ug-editor ... ction.html
Regards,
Radu
by Radu
Tue Jan 30, 2024 3:59 pm
Forum: Common Problems
Topic: Author Options: Add independent sets of tags before and after a marked passage
Replies: 4
Views: 231

Re: Author Options: Add independent sets of tags before and after a marked passage

Hi, We have a bunch of Author operations which use Javascript here, maybe these will help as samples: https://github.com/oxygenxml/javascript-sample-operations Other than that, the AuthorAccess API has Javadoc: https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/ecss/extensions/api/AuthorA...
by Radu
Tue Jan 30, 2024 3:52 pm
Forum: Common Problems
Topic: include currently selected text in external tool command
Replies: 8
Views: 417

Re: include currently selected text in external tool command

Hi Wolfhart, Maybe this would be a good getting started for developing Oxygen plugins: https://www.oxygenxml.com/doc/ug-editor/dev_guide/plugins.html But let's first try to install an existing sample plugin which would get you close to what you want: 1) So there is this Github project with lots of s...
by Radu
Tue Jan 30, 2024 2:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translation of text in othertype attribute of note element.
Replies: 7
Views: 541

Re: Translation of text in othertype attribute of note element.

Hi Jan, So in general a company which translates their DITA XML content has a separate folder for each translation language: https://blog.oxygenxml.com/topics/translating_your_dita_project.html#translating_your_dita_project__section_hlq_cmp_rdb You have the original "en" folder containing ...
by Radu
Tue Jan 30, 2024 2:27 pm
Forum: Common Problems
Topic: Author Options: Add independent sets of tags before and after a marked passage
Replies: 4
Views: 231

Re: Author Options: Add independent sets of tags before and after a marked passage

Hi, So what happens when you invoke the action? Does Oxygen show an error? Does an incorrect piece of content get inserted? Looking a bit over your Javascript code, maybe you can extract it initially to a separate Javascript file, I would probably replace this line: documentController.insertXMLFragm...
by Radu
Tue Jan 30, 2024 1:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translation of text in othertype attribute of note element.
Replies: 7
Views: 541

Re: Translation of text in othertype attribute of note element.

Hello Jan, About this remark: The biggest advantage of this method is that the text that will appear in the output is the same as the text in the source document. There is nothing stopping you from using the "othertype" text and asking the translator to also translate its value when you tr...
by Radu
Tue Jan 30, 2024 9:58 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translation of text in othertype attribute of note element.
Replies: 7
Views: 541

Re: Translation of text in othertype attribute of note element.

Hi Jan, I added some feedback based on your use case here: https://github.com/dita-ot/dita-ot/issues/4136 As a workaround I would probably avoid using "othertype", I would set an @outputclass attribute value: <note outputclass="myNote">hello</note> which generates in the HTML som...
by Radu
Tue Jan 30, 2024 8:25 am
Forum: Common Problems
Topic: Internal error while extracting Schematron rules from RNG
Replies: 4
Views: 429

Re: Internal error while extracting Schematron rules from RNG

Hi Michaël,
We made a minor bug fix release of Oxygen 26 which should have this problem fixed:
https://www.oxygenxml.com/build_history ... 2024012406
Maybe you can uninstall Oxygen 26, then re-download and re-install Oxygen 26 from our web site.
Regards,
Radu
by Radu
Mon Jan 29, 2024 3:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Configure project file to include validation using Schematron
Replies: 5
Views: 563

Re: Configure project file to include validation using Schematron

Hello Ann,
Great, I'm glad this works for you!
Regards,
Radu
by Radu
Mon Jan 29, 2024 3:25 pm
Forum: Common Problems
Topic: include currently selected text in external tool command
Replies: 8
Views: 417

Re: include currently selected text in external tool command

Hi Wolfhart, Before diving into how Oxygen plugins work, maybe you can try to install and use our free Translation Helper add-on which supports Google Translate and DeepL, although it works with the XML opened in the Author visual editing mode: https://www.oxygenxml.com/doc/ug-editor/topics/translat...
by Radu
Mon Jan 29, 2024 3:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Ditamaps Manager Context Menu Customisation
Replies: 13
Views: 739

Re: Ditamaps Manager Context Menu Customisation

Hi, So you have a "JPopupMenu mainPopUp" which is a Java Swing JPopUpMenu. A JPopupMenu has plenty of API methods to obtain its child components, to iterate them, to find a specific JMenu with a specific name and then to add JMenuItems to it. https://docs.oracle.com/javase/8/docs/api/javax...
by Radu
Mon Jan 29, 2024 11:17 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Updating attribute based on element content
Replies: 5
Views: 606

Re: Updating attribute based on element content

Hi Konrad,
Great, I'm glad the XML refactoring samples helped!
Regards,
Radu
by Radu
Mon Jan 29, 2024 10:13 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Word to DITA conversion failed to insert the resulting map as children of the root map
Replies: 5
Views: 522

Re: Word to DITA conversion failed to insert the resulting map as children of the root map

Hi Estelle,
This seems to be working for me. Do you get any error reported by Oxygen?
If after the import in the DITA Maps Manager you right click "Append child->Reference" and manually add a reference to that imported DITA Map does it work like that?
Regards,
Radu
by Radu
Mon Jan 29, 2024 9:10 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Word to DITA conversion failed to insert the resulting map as children of the root map
Replies: 5
Views: 522

Re: Word to DITA conversion failed to insert the resulting map as children of the root map

Hi, Can you give us more details about the steps you tried? https://www.oxygenxml.com/doc/ug-editor/topics/batch-converter-addon.html Did you successfully install the Oxygen Batch Documents Converter add-on? If you go to the Oxygen main menu "Tools->Batch Documents Converter" can you use t...
by Radu
Mon Jan 29, 2024 8:57 am
Forum: Common Problems
Topic: include currently selected text in external tool command
Replies: 8
Views: 417

Re: include currently selected text in external tool command

Hi Wolfhart, We expand the ${selection} editor variable only in code templates and in custom Author operations. Are you editing the XML document in the Text or in the Author visual editing mode? As the selection may contain spaces which need to be escaped maybe you could somehow add your own editor ...
by Radu
Mon Jan 29, 2024 8:52 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Creating Custom Spellcheck
Replies: 3
Views: 463

Re: Creating Custom Spellcheck

Hi, Great, I hope you'll find it useful for your team. The terminology checker can work both with rules described in our own specific XML format or in Vale (for which there are already rules available with styleguides like the Microsoft Style guide). If you start from zero I would suggest using our ...
by Radu
Fri Jan 26, 2024 6:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Creating Custom Spellcheck
Replies: 3
Views: 463

Re: Creating Custom Spellcheck

Hi, Oxygen's spell checker (even customized with a custom dictionary) goes word by word. So you cannot get it to match "word1 word2" and propose a replacement with something else. For what you want you should use our free terminology checker add-on which can be configured with custom rules...
by Radu
Fri Jan 26, 2024 7:48 am
Forum: Common Problems
Topic: How to set different highlighting colours for common syntax type according to coding language
Replies: 1
Views: 168

Re: How to set different highlighting colours for common syntax type according to coding language

Hi Olivier, Let's try to build a small example, a DITA topic with a codeblock of type "Java" which has a keyword inside it: <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd"> <topic id="introduction"> <title>Introduction</title> <body> <p> <cod...
by Radu
Thu Jan 25, 2024 8:26 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Configure project file to include validation using Schematron
Replies: 5
Views: 563

Re: Configure project file to include validation using Schematron

Hi Ann, So: I have followed the instructions and created a custom framework with a new Scenario under Document type--> Validation that has my custom Schematron file configured. If you edit your custom DITA framework configuration in the Oxygen Preferences->"Document Type Association" and g...
by Radu
Thu Jan 25, 2024 7:58 am
Forum: Other Issues
Topic: make some scrips/buttons/macos to search and replace
Replies: 1
Views: 253

Re: make some scrips/buttons/macos to search and replace

Hi, Our free Batch Documents Converter add-on has capabilities to convert MS Word documents to HTML, DITA XML or DocBook XML documents: https://www.oxygenxml.com/doc/versions/25.1/ug-editor/topics/batch-converter-addon.html Are you using it right now or did you create your own XSLT stylesheets which...
by Radu
Wed Jan 24, 2024 10:08 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Configure project file to include validation using Schematron
Replies: 5
Views: 563

Re: Configure project file to include validation using Schematron

Hi Ann, How about if you create a custom DITA framework which adds the extra Schematron validation schema? https://blog.oxygenxml.com/topics/sharing_schematron_validation_rules.html And then copy the custom frameworks folder inside the project folder. In the Preferences->"Document Type Associat...
by Radu
Sat Jan 20, 2024 6:33 pm
Forum: Common Problems
Topic: Reconnecting with Astoria when connection is broken
Replies: 1
Views: 186

Re: Reconnecting with Astoria when connection is broken

Hi,
The integration plugin which connects Oxygen to Astoria is built and distributed by Astoria. So we (the Oxygen team) do not control how it works. Please try to contact someone from Astoria about this problem. I will also email my contact from Astoria about this forum thread.
Regards,
Radu
by Radu
Fri Jan 19, 2024 5:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Updating attribute based on element content
Replies: 5
Views: 606

Re: Updating attribute based on element content

Hi, I think a custom XML refactoring action implemented in XSLT would help for this: https://www.oxygenxml.com/doc/ug-editor/topics/custom-refactoring-operations.html I created a sample refactoring action which does what you want here: https://github.com/oxygenxml/dita-refactoring-examples/tree/mast...