Search found 7468 matches

by Radu
Fri Apr 02, 2021 4:21 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Setting Linebreaks around elements via plugin
Replies: 3
Views: 413

Re: Setting Linebreaks around elements via plugin

Hi, About this remark: It appears by setting it via setGlobalObjectProperty() we can set the default Actually you are imposing the option, so it's exactly like calling "importGlobalOptions(optionsFile)". If you do not want to impose the option all the time when Oxygen is started, maybe you can impos...
by Radu
Fri Apr 02, 2021 9:59 am
Forum: SDK-API, Frameworks - Document Types
Topic: Setting Linebreaks around elements via plugin
Replies: 3
Views: 413

Re: Setting Linebreaks around elements via plugin

Hi, You can do something like this: PluginWorkspaceProvider.getPluginWorkspace().setGlobalObjectProperty("editor.format.break.line.elements", new ro.sync.exml.serialize.state.BreakLineElement[] { new BreakLineElement("*", BreakLineElement.NO_BREAK) }); but we also have this API: PluginWorkspaceProvi...
by Radu
Fri Apr 02, 2021 9:55 am
Forum: General XML Questions
Topic: mini refresh on set/remove pseudoclass?
Replies: 3
Views: 218

Re: mini refresh on set/remove pseudoclass?

Hi, Most of our API is not thread safe. So if you have started a separate thread and want to use our API you can do something like: Runnable runnable = new Runnable() { @Override public void run() { //Work with API here. } }; if(! SwingUtilities.isEventDispatchThread()) { SwingUtilities.invokeAndWai...
by Radu
Fri Apr 02, 2021 8:23 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA Map HTML5: Failed to run pipline
Replies: 3
Views: 227

Re: DITA Map HTML5: Failed to run pipline

Hi Katie,

I'm not sure what your precise situation is. What did you do to use the old DTD with your topics?
Do your DITA topics have a DOCTYPE declaration which references the old DTD? How does that DOCTYPE declaration look like?

Regards,
Radu
by Radu
Fri Apr 02, 2021 8:17 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: keywords in conrefs not resolving
Replies: 2
Views: 212

Re: keywords in conrefs not resolving

Hi, For now the fix is to add all your topics which contain reusable content to the DITA Maps setting the processing-role=resource-only attribute on the topicrefs. We are working on a fix for the DITA Open Toolkit bundled with Oxygen and for the Oxygen publishing engine (our custom DITA OT installat...
by Radu
Thu Apr 01, 2021 10:40 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to insert reusable contents to multiple dita maps
Replies: 7
Views: 471

Re: How to insert reusable contents to multiple dita maps

Hi Catherine, You can define XML entities in the DOCTYPE declaration of the DITA Map like for example: https://github.com/oxygenxml/userguide/blob/master/DITA/maps/keydefs.ditamap <!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd" [ <!ENTITY version "1.1"> ]> and then use XML entity referen...
by Radu
Thu Apr 01, 2021 9:04 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA Map HTML5: Failed to run pipline
Replies: 3
Views: 227

Re: DITA Map HTML5: Failed to run pipline

Hi Katie, Indeed the error seems to indicate that the extra security checks added by us to the DITA Open Toolkit code prohibited a reference to be resolved. If you edit the Oxygen transformation scenario you are using and in the "Parameters" list use the "New" button to add a parameter named args.di...
by Radu
Thu Apr 01, 2021 8:48 am
Forum: General XML Questions
Topic: mini refresh on set/remove pseudoclass?
Replies: 3
Views: 218

Re: mini refresh on set/remove pseudoclass?

Hi,

You should toggle the pseudo class using the AuthorDocumentController API:

Code: Select all

adc.setPseudoClass(String, AuthorElement)
because it also takes care of triggering the appropriate listeners which update the UI.

Regards,
Radu
by Radu
Wed Mar 31, 2021 12:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA-OT Transformation failed.
Replies: 5
Views: 339

Re: DITA-OT Transformation failed.

Hi, Maybe you can use Oxygen's Find/Replace in Files utility to search in your plugin's files if the "epub.init" target exists or not. If it does not, maybe you need to include an extra plugin which you might have forgotten to copy to the DITA OT plugins folder. If all else fails and you provide us ...
by Radu
Tue Mar 30, 2021 2:13 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Automatic numbering in <equation-block/>
Replies: 4
Views: 229

Re: Automatic numbering in <equation-block/>

Hi, About the link text, I think this is feasible but a little bit harder to do. The link text is computed in the pre-processing stage, before the XSL-FO output is generated from the DITA content. If you look inside this XSLT stylesheet dita-ot/plugins/org.dita.base/xsl/preprocess/topicpullImpl.xsl ...
by Radu
Tue Mar 30, 2021 10:00 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Automatic numbering in <equation-block/>
Replies: 4
Views: 229

Re: Automatic numbering in <equation-block/>

Hi, The original DITA formula element probably has an @id attribute defined on it and your XSL template does not use that ID to generate an equivalent ID on the fo:table that it creates, so the original @id attribute is not propagated to the XSL-FO elements. I think something like this might work: <...
by Radu
Tue Mar 30, 2021 9:32 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA-OT Transformation failed.
Replies: 5
Views: 339

Re: DITA-OT Transformation failed.

Hi, One of your plugins seems to contribute an EPUB publishing transtype named "cii.epub.do". Is the target "epub.init" defined in one of your custom plugin's build files? When you run the DITA OT integrator to integrate your plugin does the integration process report any error? Is your custom EPUB ...
by Radu
Tue Mar 30, 2021 9:05 am
Forum: XSLT and FOP
Topic: Empty xmlns attribute in XSLT output
Replies: 4
Views: 363

Re: Empty xmlns attribute in XSLT output

Hi, Question 1: is the 'xmlns' attribute being added because it's included in the <xsl:stylesheet> tag? Yes, because it's declared as a default namespace on the xsl:stylesheet root. A very small example to reproduce your problem would look like this: 1) XML: <root> <child></child> </root> 2) XSL: <?...
by Radu
Mon Mar 29, 2021 4:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Cannot read field "result" because "fi" is null
Replies: 3
Views: 342

Re: Cannot read field "result" because "fi" is null

Hi, I'm not sure what the problem is. Are you using Oxygen 23.0 or 23.1? Can you try to reduce your DITA project to a smaller sample with which the problem can be reproduced? Or at least try to copy the project along with the images to some folder location where the publishing engine has full read-w...
by Radu
Mon Mar 29, 2021 4:07 pm
Forum: XSLT and FOP
Topic: Empty xmlns attribute in XSLT output
Replies: 4
Views: 363

Re: Empty xmlns attribute in XSLT output

Hi, I also consider the answer you found on StackOverflow applies to your case: If you have xmlns="" appearing on an element in your output then it means that you added an element with no namespace to the tree at a point where there was a default namespace already in force. In order to output such a...
by Radu
Mon Mar 29, 2021 11:57 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to insert reusable contents to multiple dita maps
Replies: 7
Views: 471

Re: How to insert reusable contents to multiple dita maps

Hi Catherine, Please see some answers below: For example, [Variable-A].dita, when the [Variable-A] is set to 20.3.0.20, the dita file name changes to 20.3.0.20.dita automatically, is that possible? No. Not out of the box anyway. If it is impossible to be achieved, is there any way to change the outp...
by Radu
Mon Mar 29, 2021 9:47 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA OT 3.x Plugin installation - ant command fail
Replies: 2
Views: 188

Re: DITA OT 3.x Plugin installation - ant command fail

Hi Samba,

My advice to you is to switch to using the "dita" command for publishing instead of running ANT directly.
Otherwise you probably need to run this "startcmd.bat" script to set up these environmental variables before running ANT: "C:\dita\dita-ot-3.5\startcmd.bat"

Regards,
Radu
by Radu
Thu Mar 25, 2021 3:41 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to insert reusable contents to multiple dita maps
Replies: 7
Views: 471

Re: How to insert reusable contents to multiple dita maps

Hi Catherine, How about if you define a key for the "v20.3.0.X.dita": <topicref href="v20.3.0.X.dita" keys="whats-new"/> and you refer to that topic using keyref in all other places? In this way, depending on how you define the "whats-new" key all references would change in the published output. For...
by Radu
Thu Mar 25, 2021 11:24 am
Forum: Feature Request
Topic: Have parameters for new tables default to <unspecified>
Replies: 1
Views: 167

Re: Have parameters for new tables default to <unspecified>

Hi Chris, I found an older related post: https://www.oxygenxml.com/forum/topic15433.html?sid=1ecf289ec4151b90bb0bf1c247906b6b by someone who seems to want the opposite, no matter what people select in the table configuration dialog the inserted table would always have rowsep, colsep and frame=all. M...
by Radu
Wed Mar 24, 2021 2:16 pm
Forum: Feature Request
Topic: Support true zoom levels in authoring window
Replies: 5
Views: 1370

Re: Support true zoom levels in authoring window

Hi Chris, Adding here as well the ID of the internal issue: EXM-43417 Author zoom entire content including images instead of increasing font Oxygen's Author visual editing mode is not based on WebKit, it's our own code. We can probably make this work by investing some time into this but right it is ...
by Radu
Wed Mar 24, 2021 1:56 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to insert reusable contents to multiple dita maps
Replies: 7
Views: 471

Re: How to insert reusable contents to multiple dita maps

Hi Catherine, I might not understand exactly the entire use case. Did you try to create a topic containing reusable DITA elements, place it in a common folder and add content references to it in various places? Or similarly create a small DITA submap containing reusable keys again referenced in mult...
by Radu
Wed Mar 24, 2021 1:51 pm
Forum: Feature Request
Topic: Two ePub issues
Replies: 4
Views: 286

Re: Two ePub issues

Hi, About the cover image, from what I looked in the conversion stylesheets it seems that if you add an image reference inside a mediaobject with a certain @role attribute it should be taken into account by the publishing system, similar to this older discussion thread: https://lists.oasis-open.org/...
by Radu
Wed Mar 24, 2021 8:04 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Looking for a writer-friendly way to capture two-column data
Replies: 4
Views: 387

Re: Looking for a writer-friendly way to capture two-column data

Hi Chris, If you remember this issue: EXM-47603 Content completion "Replacement for" field does not work in the case of Relax NG based DITA topics that we added based on your other feedback, it turns out we used the "Replacement for" field in the base DITA framework to replace the DITA "table" conte...
by Radu
Wed Mar 24, 2021 7:52 am
Forum: Feature Request
Topic: Two ePub issues
Replies: 4
Views: 286

Re: Two ePub issues

Hi, So you are using DocBook with Oxygen and producing EPUB, we have two predefined transformation scenarios for this, one named "DocBook EPUB" and one "DocBook EPUB3". Which one are you using? I could try to look more into this to see if I can find a configuration parameter for the cover page. Abou...
by Radu
Tue Mar 23, 2021 1:42 pm
Forum: Other Issues
Topic: alt attribute vs. alt tag
Replies: 4
Views: 379

Re: alt attribute vs. alt tag

Hi Claire, Here's what I'm testing on my side: 1) I have a DITA topic named "iris.dita" containing inside a DITA "fig" element with an image which has an "alt" element set to it: <fig id="fig_wgp_gfz_1pb"> <image href="../../images/Iris_sanguinea.jpg" scale="50" id="image_ghp_gfz_1pb"> <alt>alternat...
by Radu
Mon Mar 22, 2021 10:03 am
Forum: Common Problems
Topic: Force the language to english and the display mode to full tags
Replies: 4
Views: 619

Re: Force the language to english and the display mode to full tags

Hi Alper, I do not understand the use case for the first request. So when Oxygen is installed the end user chooses the language of the user interface and then they get to change it if they want from the Preferences->"Global" page. Why do you want to remove this flexibility? You state you have an "op...
by Radu
Mon Mar 22, 2021 9:56 am
Forum: SDK-API, Frameworks - Document Types
Topic: Multiple CustomAttributeValueEditor
Replies: 2
Views: 344

Re: Multiple CustomAttributeValueEditor

Hi, Whenever an attribute value is edited, the method "ro.sync.ecss.extensions.api.ExtensionsBundle.createCustomAttributeValueEditor(boolean)" should be called and you can provide your own CustomAttributeValueEditor implementation on it as you probably already do. Then the method "CustomAttributeVal...
by Radu
Fri Mar 19, 2021 8:31 am
Forum: Other Issues
Topic: alt attribute vs. alt tag
Replies: 4
Views: 379

Re: alt attribute vs. alt tag

Hi, The DITA @alt attribute is deprecated so you should use the "alt" element instead. You mentioned: I am running tests with a screen reader I'm assuming you first publish the DITA content to an output format. Are you publishing to HTML5, WebHelp Responsive or PDF? If it's PDF do you obtain the PDF...
by Radu
Thu Mar 18, 2021 1:37 pm
Forum: Other Issues
Topic: Parameter clarification
Replies: 2
Views: 284

Re: Parameter clarification

Hi Christina, In the Oxygen Preferences->"Document Type Association" page there is a checkbox named "Enable DTD/XML Schema caching". I think you decided to save that preferences page to Project options and unchecked the checkbox. But I do not know why, it usually should be enabled. Maybe you can try...
by Radu
Thu Mar 18, 2021 10:28 am
Forum: Common Problems
Topic: Hide the "Grid" View button
Replies: 5
Views: 1619

Re: Hide the "Grid" View button

Hi, I will assume you are using the desktop version of Oxygen. We have a components validator plugin extension which allows you to remove the Grid editing mode: ro.sync.exml.ComponentsValidator.validateEditorPage(String) https://www.oxygenxml.com/doc/versions/23.0/ug-editor/topics/components-validat...