Search found 7529 matches

by Radu
Tue Jun 29, 2021 7:48 am
Forum: SDK-API, Frameworks - Document Types
Topic: How best invoke dita ot cmd from custom oxygen plugin
Replies: 11
Views: 514

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

Hi Samba, You are starting a process from Java, so I don't think using powershell is an option. On that DITA OT issue: https://github.com/dita-ot/dita-ot/issues/2827#issuecomment-368855434 I mentioned there is a DITA OT plugin which adds lots of libraries: dita-ot-3.x/plugins/org.lwdita This particu...
by Radu
Mon Jun 28, 2021 11:17 am
Forum: SDK-API, Frameworks - Document Types
Topic: Is there a method to import transformation scenarios setting the storage option?
Replies: 8
Views: 379

Re: Is there a method to import transformation scenarios setting the storage option?

Hi, Indeed our preferences key "scenarios" has a list of transformation scenarios associated to it. When you import scenarios for that key, the previous list is overwritten, so the imported scenarios are not merged with the existing scenarios for that key. I'm afraid we do not have an API for mergin...
by Radu
Mon Jun 28, 2021 9:35 am
Forum: General XML Questions
Topic: Is it possible to make each row in a table reusable content?
Replies: 1
Views: 115

Re: Is it possible to make each row in a table reusable content?

Hi,

Maybe you can put together a small DITA project exemplifying the problem and send it to us (support@oxygenxml.com).
Do you receive that reuse content error when editing with Oxygen or also when publishing?

Regards,
Radu
by Radu
Mon Jun 28, 2021 8:28 am
Forum: SDK-API, Frameworks - Document Types
Topic: How best to distribute custom DITA-OT plugins to team of content writers
Replies: 2
Views: 118

Re: How best to distribute custom DITA-OT plugins to team of content writers

Hi, I agree that an entire DITA OT distribution would be the best way to ship a DITA OT to all users. We have a plugin extension allowing an Oxygen plugin to contribute an entire DITA OT: https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topics/contribute-external-dita-ot-extension.html So you c...
by Radu
Mon Jun 28, 2021 8:18 am
Forum: SDK-API, Frameworks - Document Types
Topic: Custom local add-on path
Replies: 2
Views: 184

Re: Custom local add-on path

Hi Samba, You can find out more details about this problem here: https://github.com/dita-ot/dita-ot/issues/2827 Oxygen's bundled DITA OT has various fixes to inhibit this problem but as you are using your own DITA OT distribution... Anyway, your plugin's Java code can copy the entire DITA OT folder ...
by Radu
Mon Jun 28, 2021 8:10 am
Forum: General XML Questions
Topic: How to use images declared with ENTITY and XLink
Replies: 3
Views: 179

Re: How to use images declared with ENTITY and XLink

Hi, So is your question about the publishing? Meaning that the final PDF does not contain the images inside? Or is it about editing? Meaning that while you are editing XML documents in Oxygen's Author visual editing mode, the images do not appear? If it's about editing, you probably already have a c...
by Radu
Mon Jun 28, 2021 8:03 am
Forum: Other Issues
Topic: XEP on catalina
Replies: 8
Views: 248

Re: XEP on catalina

Hi Ron, Our hexviewer is a simple application which looks directly at the file contents in bytes as it is present on disk. I'm glad you got over the first problem, about the second problem maybe you can ask somebody from XEP. Maybe you can also notify them that the "xep" contain Windows-like line se...
by Radu
Thu Jun 24, 2021 1:14 pm
Forum: Other Issues
Topic: Deleting all ?oxy_comment
Replies: 3
Views: 89

Re: Deleting all ?oxy_comment

Hi Ari, With pleasure. We plan for a future Oxygen version to ship a custom XML refactoring action (based on XSLT) for accepting all track changes and removing all comments. There are a bunch of XML refactoring actions here: https://github.com/oxygenxml/dita-refactoring-examples they are based on an...
by Radu
Thu Jun 24, 2021 12:54 pm
Forum: Other Issues
Topic: Deleting all ?oxy_comment
Replies: 3
Views: 89

Re: Deleting all ?oxy_comment

Hi,

You can select all the content, then right click and "Remove all comments".
Or in the main menu Window->Show view->"Review view" and in the Review view select all, right click and remove all comments.

Regards,
Radu
by Radu
Thu Jun 24, 2021 12:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: Dynamic width based on text content
Replies: 6
Views: 206

Re: CSS: Dynamic width based on text content

Hi, The min-width works when you also specify a width, otherwise the width is the entire page, Maybe we can try for example to work with HTML and see how Oxygen and a web browser displays it, in this way if there are differences it means our CSS based rendering engine needs to be fixed: <html> <head...
by Radu
Thu Jun 24, 2021 12:31 pm
Forum: Common Problems
Topic: contexts.xml 100MB in 23.1
Replies: 3
Views: 177

Re: contexts.xml 100MB in 23.1

Hi Stefan,

Right, that would be an option, possibly there are new userguide topics in 23.1 which would no longer be mapped in the 23.0 contexts.xml, but most of them would.

Regards,
Radu
by Radu
Thu Jun 24, 2021 12:00 pm
Forum: Common Problems
Topic: contexts.xml 100MB in 23.1
Replies: 3
Views: 177

Re: contexts.xml 100MB in 23.1

Hi Stefan, Indeed our user's guide contexts.xml seems to have grown quite a lot, I added an internal issue to investigate this further. We added lots of IDs to DITA elements in our user's guide for our WebHelp Responsive output but it seems our generation of the contexts.xml takes into account IDs e...
by Radu
Thu Jun 24, 2021 7:40 am
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: Dynamic width based on text content
Replies: 6
Views: 206

Re: CSS: Dynamic width based on text content

Hi,

Looking at the supported properties table I linked above, both min-width and max-width seem to be supported. How are you using them?

Regards,
Radu
by Radu
Thu Jun 24, 2021 7:29 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Exporting a the names of topics in a ditamap to excel
Replies: 1
Views: 76

Re: Exporting a the names of topics in a ditamap to excel

Hi Mark, We do not have something like this available out of the box. At some point I created a DITA OT publishing plugin which merges the entire DITA Map contents in one file, and as a possible application I created an XSLT stylesheet which creates an HTML table with all the topics: https://github....
by Radu
Thu Jun 24, 2021 7:21 am
Forum: General XML Questions
Topic: How to use images declared with ENTITY and XLink
Replies: 3
Views: 179

Re: How to use images declared with ENTITY and XLink

Hi, I think a small example with how the XML content looks like would have helped. Also what XML vocabulary are you using? Is it DocBook? So if you have a DOCTYPE declaring image references using unparsed entities, we have a CSS function which can retrieve values for such entities, so maybe with a C...
by Radu
Thu Jun 24, 2021 6:57 am
Forum: Other Issues
Topic: XEP on catalina
Replies: 8
Views: 248

Re: XEP on catalina

Hi, I get exactly the same problems "xep" on my side because of the \r\n line separators. And yes, I am using the XEP kit for Mac OS. After I switch the file to using only "\n" the publishing starts working. In the Oxygen Tools menu there is a "Hex Viewer" application, if you use it to open the "xep...
by Radu
Wed Jun 23, 2021 1:28 pm
Forum: SDK-API, Frameworks - Document Types
Topic: getParent() result on root node
Replies: 1
Views: 82

Re: getParent() result on root node

Hi Isabelle, The Javadoc is incorrect, I will rectify it like this: /** * @return The {@link AuthorNode} representing the parent of this element, * or <code>null</code> if this is the document node. */ AuthorNode getParent(); The code has always worked this way, the root AuthorElement has a parent n...
by Radu
Wed Jun 23, 2021 8:07 am
Forum: Other Issues
Topic: XEP on catalina
Replies: 8
Views: 248

Re: XEP on catalina

Hi, One more problem the "xep" script seems to have is that it uses Windows-style line separators (\r\n) instead of Linux style separators (\n). You can go to the Oxygen Preferences->"Global", uncheck the "Detect line separator on open" checkbox, set the "Line separator" combo box to "Unix-like", sa...
by Radu
Wed Jun 23, 2021 7:30 am
Forum: SDK-API, Frameworks - Document Types
Topic: Reading and bootstrpping editor variables
Replies: 3
Views: 165

Re: Reading and bootstrpping editor variables

Hi Markus, Some of our editor variables like ${cfd} - current file directory, depend on the current XML document and this is why the API has that second parameter which is useless in your case and can be given as "null". From what I remember inside the xpath_eval editor variable you can use other ed...
by Radu
Wed Jun 23, 2021 7:20 am
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: Dynamic width based on text content
Replies: 6
Views: 206

Re: CSS: Dynamic width based on text content

Hi, I'm afraid Oxygen's CSS support for rendering XML content in the Author mode does not support the "fit-content" value for "width": https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topics/dg-properties-support.html I'm afraid I do not have a good workaround for what you want (showing the bac...
by Radu
Wed Jun 23, 2021 7:10 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to figure out what causes a "t3" folder to generate
Replies: 1
Views: 85

Re: How to figure out what causes a "t3" folder to generate

Hi, If you edit the transformation scenario you are using, in the Parameters tab you probably enabled the "fix.external.refs" parameter which is useful if you have references to resources outside of the DITA Map folder: https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topics/dita-ot-external-re...
by Radu
Wed Jun 23, 2021 7:06 am
Forum: SDK-API, Frameworks - Document Types
Topic: Icons on list items in Author view
Replies: 2
Views: 127

Re: Icons on list items in Author view

Hi Bill, I'm afraid that the Oxygen desktop application's Author visual editing mode does not support the CSS "list-style-image" property: https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topics/dg-properties-support.html If we manage to add support for it in a future version we'll update this ...
by Radu
Tue Jun 22, 2021 1:37 pm
Forum: Other Issues
Topic: Video plays when published but not in DITA
Replies: 3
Views: 111

Re: Video plays when published but not in DITA

Hi Janice, Thanks for the sample. From what I tested on Windows and Mac, playing the video in the Oxygen Author visual editing mode works but takes a long time (1-2 minutes) before pressing the Play button and the video starting. I added an internal issue to see if there is anything we could do abou...
by Radu
Tue Jun 22, 2021 9:35 am
Forum: SDK-API, Frameworks - Document Types
Topic: Reading and bootstrpping editor variables
Replies: 3
Views: 165

Re: Reading and bootstrpping editor variables

Hi Markus, I'm not sure if I understand your question but we have Java API to expand editor variables in a string: PluginWorkspaceProvider.getPluginWorkspace().getUtilAccess().expandEditorVariables(pathWithEditorVariables, currentEditedURL) We also have APIs to add a custom editor variables resolver...
by Radu
Tue Jun 22, 2021 9:08 am
Forum: Common Problems
Topic: Setting Environment variables
Replies: 1
Views: 76

Re: Setting Environment variables

Hi Vivek, In the Oxygen Preferences we have a "Custom Editor Variables" page where you can define custom editor variables and their values. Then you can use our APIs in the Java code to expand a string containing editor variables "ro.sync.exml.workspace.api.util.UtilAccess.expandEditorVariables(Stri...
by Radu
Tue Jun 22, 2021 8:57 am
Forum: Common Problems
Topic: Add indexterm to DocBook using Author mode
Replies: 1
Views: 93

Re: Add indexterm to DocBook using Author mode

Hi,

When working with the XML document in the Author visual editing mode you can press ENTER, choose "indexterm" and this will insert an indexterm element for you. Or you can use our "Elements" view for the same thing.

Regards,
Radu
by Radu
Tue Jun 22, 2021 8:55 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Share dictionary and terms files
Replies: 1
Views: 83

Re: Share dictionary and terms files

Hi, You can share custom spell check terms along with a project. https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topics/add-terms-list.html For example this project: https://github.com/oxygenxml/DITA-Startup-Project if you open its "project.xpr" in Oxygen and then in the Oxygen Preferences loo...
by Radu
Tue Jun 22, 2021 8:50 am
Forum: SDK-API, Frameworks - Document Types
Topic: Add Popup Items in the Contextual menu in the Data Source Explorer
Replies: 3
Views: 146

Re: Add Popup Items in the Contextual menu in the Data Source Explorer

Hi Gerardo,

I'm afraid we do not have any API available to add contextual menu items to the Data Source Explorer view. Also we do not have API to retrieve a list of selected resources in the same view.
Can you give us more details about your use case?

Regards,
Radu
by Radu
Tue Jun 22, 2021 8:18 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Need to change the decimal page number into topic title abbreviation
Replies: 1
Views: 62

Re: Need to change the decimal page number into topic title abbreviation

Hi,

I'm afraid I do not have a good idea about how to accomplish this. Maybe you can ask around on the DITA Users List:
https://dita-users.groups.io/g/main

Regards,
Radu
by Radu
Tue Jun 22, 2021 8:11 am
Forum: Other Issues
Topic: XEP on catalina
Replies: 8
Views: 248

Re: XEP on catalina

Hi, After the transformation fails there should be an "XEP" console tab view at the bottom of Oxygen showing exactly the command line Oxygen used to run XEP, something like: Started: /Users/.../XEP/xep -fo "/Users/...../samples/fo/Basic Font Attributes/bold.fo_fo" -pdf "/Users/..../samples/fo/Basic ...