Hello
You are correct. It appears that the expandEditorVariables doesn't treat the $ask variables. I will update the documentation to make that clear. Meanwhile, please try my second approach, the one with parameters.
Best regards,
Alex
Search found 810 matches
- Fri Apr 16, 2021 5:18 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: XSLTOperation to edit MathML
- Replies: 4
- Views: 84
- Fri Apr 16, 2021 12:12 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: XSLTOperation to edit MathML
- Replies: 4
- Views: 84
Re: XSLTOperation to edit MathML
Hello, 1. Yes, it is something we've overlooked. The XSLT editor should recognize this oxy:current-element() function. I will add an issue to fix this behavior. 2. The operation has a expandEditorVariables parameter which is set by default. It replaces variables from the returned result . So, for ex...
- Tue Mar 30, 2021 1:23 pm
- Forum: Common Problems
- Topic: Has anyone used Git submodules with the Git plugin?
- Replies: 17
- Views: 1447
Re: Has anyone used Git submodules with the Git plugin?
Hi Jonathan, I, too, see a difference beween our Git client and the command line git client. I've setup a .gitmodule file in the main repository like this: [submodule "git_test"] path = git_test url = https://github.com/AlexJitianu/git_test.git branch = master update = merge A git submodule update l...
- Wed Mar 24, 2021 4:57 pm
- Forum: Common Problems
- Topic: Has anyone used Git submodules with the Git plugin?
- Replies: 17
- Views: 1447
Re: Has anyone used Git submodules with the Git plugin?
Hi Jonathan, How exactly is this supposed to work? Could you provide an example? First of all, the option Update all submodules after pulling changes must be set. The scenario is as follows. Lets assume we have a main repository with a second submodule: 1. User1 open main in the Git Staginf view. It...
- Tue Mar 23, 2021 9:47 am
- Forum: Common Problems
- Topic: Motivating users to move to a new Oxygen release
- Replies: 7
- Views: 312
Re: Motivating users to move to a new Oxygen release
Hello, Now I understand. It is a series of unfortunate events that leads to that empty block. Both a display: block and the usage of oxy_label() have this effect. I will add an issue to investigate. Meanwhile, it works if you write the rule like this: :root:before(100) { display: inline; width: 10em...
- Fri Mar 19, 2021 10:59 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: how to implement selection plugin in author mode
- Replies: 6
- Views: 430
Re: how to implement selection plugin in author mode
Hello Michael, I'm sorry for the delay! You can use ro.sync.exml.workspace.api.standalone.actions.ActionsProvider to register an action. You reach it though ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace.getActionsProvider() . The shortcut will appear inside the Menu Shortcut Keys p...
- Wed Mar 17, 2021 1:49 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: how to implement selection plugin in author mode
- Replies: 6
- Views: 430
Re: how to implement selection plugin in author mode
Hello, The Selection Plugin Extension works only in the Text page. You can use an Workspace Access Extension instead, which works in both Text and Author page. A startup sample plugin can be found on our Github account . What this plugin needs to do: 1. Contribute an action in the contextual menu 2....
- Mon Mar 15, 2021 4:09 pm
- Forum: Common Problems
- Topic: Motivating users to move to a new Oxygen release
- Replies: 7
- Views: 312
Re: Motivating users to move to a new Oxygen release
Hi, You can use a unique pseudo-element, intended for this label only: :root:before(100) { ..... } If the content is empty, because of the XPath result, the pseudo-element will not be rendered. In your case I suspect that there is another rule that also matches on :root:before and comes with a diffe...
- Fri Mar 12, 2021 2:07 pm
- Forum: Common Problems
- Topic: Motivating users to move to a new Oxygen release
- Replies: 7
- Views: 312
Re: Motivating users to move to a new Oxygen release
Hi Cris, It can be done with the help of oxy_xpath : :root:before { display: block; color: red; content: oxy_xpath("if (contains(base-uri(), '/_warehouse/')) then ('REUSABLE TOPIC') else ('')", evaluate, static); } I've marked the XPath as static because otherwise Oxygen would recompute and relayout...
- Thu Mar 04, 2021 5:04 pm
- Forum: Common Problems
- Topic: Motivating users to move to a new Oxygen release
- Replies: 7
- Views: 312
Re: Motivating users to move to a new Oxygen release
Hi Chris, Unfortunately, such an editor variable doesn't exist. Moreover, we don't expand editor variables in selectors. An Oxygen plugin could use our Java API to detect the Oxygen version and present a notification to the user. The approved version could be in a configuration file or it could sit ...
- Tue Mar 02, 2021 9:50 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Extending frameworks that are extensions
- Replies: 2
- Views: 921
Re: Extending frameworks that are extensions
Hello,
Starting with Oxygen 23 you can extend a framework using a special customization script. This script allows you to extend extensions.
Best regards,
Alex
Starting with Oxygen 23 you can extend a framework using a special customization script. This script allows you to extend extensions.
Best regards,
Alex
- Thu Feb 25, 2021 1:14 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Providing DITA plugins in an Oxygen project directory?
- Replies: 11
- Views: 1710
Re: Providing DITA plugins in an Oxygen project directory?
Hi Chris,
Thank you for sharing it with the community!
Best regards,
Alex
Thank you for sharing it with the community!
Best regards,
Alex
- Wed Feb 24, 2021 4:28 pm
- Forum: Feature Request
- Topic: Site-Wide Deployment of Addons
- Replies: 7
- Views: 537
Re: Site-Wide Deployment of Addons
Hi Chris, The Addons preferences page can already be saved at project level. I've added an issue to specify here a set of addons to install automatically . Saving all of these at project level will meet your installation requirements. The other issue I've mentioned, the possibility to save plugin op...
- Tue Feb 23, 2021 4:44 pm
- Forum: Feature Request
- Topic: Site-Wide Deployment of Addons
- Replies: 7
- Views: 537
Re: Site-Wide Deployment of Addons
Hi Chris, Usually, plugins use our API to store options inside Oxygen global options. Can you tell me for which plugins you have changed options? Maybe the "Notify me about new commits in remote repository". Perhaps we can think of a way to provide default values for a specific plugin. Best regards,...
- Fri Feb 19, 2021 3:00 pm
- Forum: Feature Request
- Topic: Site-Wide Deployment of Addons
- Replies: 7
- Views: 537
Re: Site-Wide Deployment of Addons
Hi Chris, Oxygen stores its user preferences in these locations: - Windows - Remove the directory: %APPDATA%\Roaming\com.oxygenxml (usually %APPDATA% has the value: [user-home-dir]\Application Data). Note that this directory is hidden. - OS X - Remove the directory: Library/Preferences/com.oxygenxml...
- Thu Feb 11, 2021 2:52 pm
- Forum: Common Problems
- Topic: Error running PDF transformation in recent Oxygen
- Replies: 6
- Views: 326
Re: Error running PDF transformation in recent Oxygen
Hello, Thank you all for all the detective work. First of all, the exception is harmless. If you take a look at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(MBeanServer) , you'll notice how it catches the exception, logs it, and moves forward without JMX support. The log...
- Mon Feb 08, 2021 1:23 pm
- Forum: Feature Request
- Topic: Site-Wide Deployment of Addons
- Replies: 7
- Views: 537
Re: Site-Wide Deployment of Addons
Hello, Unfortunately, currently the addons can't be installed other than by user interaction. I will add a feature request for such a behavior. An addon is basically a package that contains either a framework or a plugin. Option 1 An administrator could run a script that copies the addons in their c...
- Fri Jan 15, 2021 6:33 pm
- Forum: Common Problems
- Topic: Legacy Add-ons Update Site?
- Replies: 1
- Views: 270
Re: Legacy Add-ons Update Site?
Hello, We only keep the latest two versions in the update site, but you can still get hold of previous versions. The Addons Packager builds are all present in out Maven repository. To get it you need to: 1. Download the required build, for example 21.1 build . 2. Unzip it inside {oxygenInstallDir}/p...
- Thu Jan 14, 2021 3:48 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Can users specify the location of the preferences file used by Oxygen XML Author?
- Replies: 1
- Views: 190
Re: Can users specify the location of the preferences file used by Oxygen XML Author?
Hello, Yes, you can setup one of the Oxygen installations to use a different preferences directory through the com.oxygenxml.customOptionsDir system property: -Dcom.oxygenxml.customOptionsDir=absolute_file_path If you have space in the file path, use quotes: -Dcom.oxygenxml.customOptionsDir="absolut...
- Thu Jan 14, 2021 11:29 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Help with Authoring Action in Oxy 23.0
- Replies: 5
- Views: 265
Re: Help with Authoring Action in Oxy 23.0
Hi Christina,
There's no trouble at all! I'm the one that implemented the plugin a long time ago so I'm quite glad to see that it is still helpful!
Best regards,
Alex
There's no trouble at all! I'm the one that implemented the plugin a long time ago so I'm quite glad to see that it is still helpful!

Best regards,
Alex
- Thu Jan 14, 2021 10:58 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Help with Authoring Action in Oxy 23.0
- Replies: 5
- Views: 265
Re: Help with Authoring Action in Oxy 23.0
Hi Christina, An author action doesn't normally run when an editor is saved, so it must be some kind of a hook installed in your previous Oxygen version. It might be this plugin: ExecuteAuthorActionsOnSaveHook . To check if this the one, in oxygen 22.1 go to Options->Preferences... on page Plugins a...
- Wed Jan 13, 2021 5:04 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Help with Authoring Action in Oxy 23.0
- Replies: 5
- Views: 265
Re: Help with Authoring Action in Oxy 23.0
Hello, I've tested the action myself in version 23 and it worked as expected, at least how I expected it to work. here is what I did: - I open a DITA topic that has a revised element with an older date: <prolog> <critdates> <revised modified="2021-01-01"/> </critdates> </prolog> - I click the action...
- Mon Jan 11, 2021 10:43 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Showing javadocs to Oxygen SDK-API in an IDE
- Replies: 2
- Views: 292
Re: Showing javadocs to Oxygen SDK-API in an IDE
Hello,
We bundle both the SDK source code and the Javadoc as Maven artifacts published in the Maven repository. Please make sure that Eclipse is configured to download them by looking into Preferences: and I see that IntelliJ has similar options too.
Best regards,
Alex
We bundle both the SDK source code and the Javadoc as Maven artifacts published in the Maven repository. Please make sure that Eclipse is configured to download them by looking into Preferences: and I see that IntelliJ has similar options too.
Best regards,
Alex
- Fri Jan 08, 2021 5:15 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: OXygen CSS selector!
- Replies: 1
- Views: 206
Re: OXygen CSS selector!
Hello,
The -oxy-collapse-text extension hides the text, but keeps the element present in the layout.
Let me know if it solves you use case.
Best regards,
Alex
The -oxy-collapse-text extension hides the text, but keeps the element present in the layout.
Code: Select all
x{
visibility:-oxy-collapse-text;
}
Best regards,
Alex
- Mon Jan 04, 2021 5:33 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Associating custom topic templates to multiple topics
- Replies: 1
- Views: 247
Re: Associating custom topic templates to multiple topics
Hello, The new document templates are used only as starting points for new documents. Existing documents are matched to the proper framework when opened. The new document templates should also sit inside the framework, because a framework bundles all the resources and configuration specific to a doc...
- Fri Nov 20, 2020 6:20 pm
- Forum: Other Issues
- Topic: Custom Editor Variable using xpath_eval and doc function
- Replies: 12
- Views: 1527
Re: Custom Editor Variable using xpath_eval and doc function
Hi John,
Although you probably went with the workaround and solved this issue on your side, for closure, I want to mention that in the newly release Oxygen 23 we addressed the root cause and the sequence ") }" no longer breaks the editor variables parsing.
Best regards,
Alex
Although you probably went with the workaround and solved this issue on your side, for closure, I want to mention that in the newly release Oxygen 23 we addressed the root cause and the sequence ") }" no longer breaks the editor variables parsing.
Best regards,
Alex
- Fri Nov 20, 2020 6:10 pm
- Forum: Feature Request
- Topic: What about Git support?
- Replies: 102
- Views: 32785
Re: What about Git support?
Hello, Version 2.3.1 of the Git Client contains fixes for two issues mentions on this thread: 1. In case of a Rebase conflict we now have URLs that make it more easy to understand what each stands for: - the one on the left contains the MineResolved token - the one on the right contains the MineOrig...
- Fri Nov 20, 2020 5:41 pm
- Forum: Other Issues
- Topic: Git - cannot pull, files are desynchonized somehow
- Replies: 4
- Views: 788
Re: Git - cannot pull, files are desynchonized somehow
Hello,
In the latest Git client release, 2.3.1, we identify this special situation on pull and we present to the user a message dialog describing the situation and possible solutions.
I hope it helps,
Alex
In the latest Git client release, 2.3.1, we identify this special situation on pull and we present to the user a message dialog describing the situation and possible solutions.
I hope it helps,
Alex
- Fri Nov 13, 2020 2:47 pm
- Forum: Feature Request
- Topic: multi-select combobox for ${ask(...)}
- Replies: 4
- Views: 443
Re: multi-select combobox for ${ask(...)}
Hello, This feature didn't make it in the next release which will arrive in a couple of weeks. I can't offer any promises that it will make it in the next either because we always have to juggle with so many features, but I've added your vote for it an increase its priority. The $ask implementation ...
- Thu Oct 15, 2020 12:54 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Cutting down on the number of DITA tags
- Replies: 1
- Views: 196
Re: Cutting down on the number of DITA tags
Hi Mark, There are two options: 1. You can configure content completion though a configuration file . The configuration applies to both Author and Text pages. 2. When editing the framework configuration, in the Content Completion Subtab , you can also remove from the entries collected from the Schem...