Search found 146 matches

by xephon
Fri Feb 03, 2017 1:35 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Embed Impress.js in DITA topic
Replies: 4
Views: 3314

Re: Embed Impress.js in DITA topic

Hi @mhGLEIF,

I'm developing the plugin. Please follow the instructions on Github and read the documentation in Confluence. If you need support, please ask a question here or create a Github issue.

Hope you'll enjoy it,

Greetings,
Stefan
by xephon
Mon Dec 19, 2016 1:35 am
Forum: XSLT and FOP
Topic: Schematron to comment out a set of nodes
Replies: 4
Views: 3911

Re: Schematron to comment out a set of nodes

Hey Scott, try this: <sch:pattern id="comment"> <sch:rule context="*[contains(@class, ' topic/p ')]"> <sch:report test="contains(text(), 'foo')" sqf:fix="comment"> Don't use paragraphs </sch:report> <sqf:fix id="comment"> <sqf:description> <sqf:title...
by xephon
Wed Dec 14, 2016 11:36 am
Forum: XSLT and FOP
Topic: Schematron to find plural keywords
Replies: 4
Views: 3337

Re: Schematron to find plural keywords

I'd search for a single 's'. Is this only related to plural 's'?
by xephon
Thu Nov 24, 2016 3:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing the PDF file name on output
Replies: 3
Views: 2341

Re: Customizing the PDF file name on output

You can use the outputFile.base parameter to do this, see http://www.dita-ot.org/2.4/parameters/p ... s-pdf.html. To be more flexible, you maybe should simply rename the file with your build target. If you parse your map metadata, you can define your own patterns.
by xephon
Wed Nov 02, 2016 6:37 pm
Forum: General XML Questions
Topic: Bypassing missing images without being visible in output
Replies: 5
Views: 4514

Re: Bypassing missing images without being visible in output

Hi John,

maybe you could use a Schematron rule to check the href value and force the user by error message/quickfix to set the required filter attributes on that element. Would that help?

Greetings,
Stefan
by xephon
Thu Oct 27, 2016 10:39 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Inconsistency in the oXygen XML Editor UI
Replies: 4
Views: 2546

Re: Inconsistency in the oXygen XML Editor UI

Hi, I'm no native speaker, but I'd suggest to keep Insert After for the reasons Radu explained. Remember where the action occurs and in that context, Insert After makes more sense. If you think of XPath axes, Append Sibling is too unspecific. You then have to say Append Following Sibling . But then,...
by xephon
Thu Oct 20, 2016 10:35 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Implement a button to open a keyref
Replies: 2
Views: 1724

Re: Implement a button to open a keyref

Wow, again the JSOperation-Swiss-Knife :D

Works awesome, thanks Alex!
by xephon
Wed Oct 19, 2016 10:33 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Implement a button to open a keyref
Replies: 2
Views: 1724

Implement a button to open a keyref

Hi, it is possible to simulate a button to open a DITA keyref with plain CSS: *[keyref]:before { link : oxy_concat("" , attr(keyref , keyref)) ; content : uri(../../img/link.png) "[" attr(keyref) "]" ; text-decoration-line : underline ; } Is it possible to do the same t...
by xephon
Fri Sep 23, 2016 12:11 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Predefined values in "ask" variable
Replies: 2
Views: 1612

Re: Predefined values in "ask" variable

Hi Radu,

damn :?

Thanks anyway

Greetings,
Stefan
by xephon
Thu Sep 22, 2016 10:08 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Predefined values in "ask" variable
Replies: 2
Views: 1612

Predefined values in "ask" variable

Hi, I have a custom parameter in the plugin.xml of my plugin: <transtype name="termchecker-dita" extends="html5" desc="Termchecker for DITA"> <param name="args.language" desc="Language of the terminology check rules" type="enum"> <val>af</v...
by xephon
Wed Sep 14, 2016 5:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: XSLTOperation should not expand @class
Replies: 3
Views: 2087

Re: XSLTOperation should not expand @class

Hi Radu, thanks for your reply. While reading more about modes, I figured out, that I could simply avoid the processing of the attribute by using match="@class" . So I came up with: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org...
by xephon
Wed Sep 14, 2016 12:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: XSLTOperation should not expand @class
Replies: 3
Views: 2087

XSLTOperation should not expand @class

Hi, I have a simple ro.sync.ecss.extensions.commons.operations.XSLTOperation for sorting DITA elements. After applying the XSL transformation, the @class attributes are expanded. Because we use DITA, we cannot deactivate the Saxon -expand parameter, because otherwise, elements cannot be selected wit...
by xephon
Tue Sep 13, 2016 10:04 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Compare map and topic values
Replies: 3
Views: 1640

Re: Compare map and topic values

Hi Radu,

alright, thanks. So, there is no option to get the DITA Map that is opened in the DITA Maps Manager?

Greetings,
Stefan
by xephon
Mon Sep 12, 2016 9:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Compare map and topic values
Replies: 3
Views: 1640

Compare map and topic values

Hi, I have a DITA Map with a topic reference, that has a filter attribute, for example @foo : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd"> <map id="map"> <title>DITA Topic Map</title> <topicref h...
by xephon
Thu Sep 08, 2016 11:03 am
Forum: SDK-API, Frameworks - Document Types
Topic: author action for executing commands/scripts
Replies: 5
Views: 4851

Re: author action for executing commands/scripts

Hi Radu,

for the new author operation, it would be nice, if you also could pass some variables, like ${pd} to call a command in a specific directory.

Greetings,
Stefan
by xephon
Tue Sep 06, 2016 6:37 pm
Forum: SDK-API, Frameworks - Document Types
Topic: author action for executing commands/scripts
Replies: 5
Views: 4851

Re: author action for executing commands/scripts

Hi Radu,

awesome :D This is a cool workaround, thanks a lot! :lol:

Glad to head, that <oXygen/> again evolves as I expect it to be. :)

Greetings,
Stefan
by xephon
Tue Sep 06, 2016 1:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: author action for executing commands/scripts
Replies: 5
Views: 4851

author action for executing commands/scripts

Hi,

I wonder whether it is possible (and how) to execute a shell script and/or a command using an author action?

Greetings,
Stefan
by xephon
Fri Jul 08, 2016 10:09 pm
Forum: XSLT and FOP
Topic: Schematron sqf:stringReplace case-insensitive
Replies: 5
Views: 4707

Re: Schematron sqf:stringReplace case-insensitive

Hi proxx, this is a different approach, but maybe it helps you solving your problem: <sch:pattern id="term"> <sch:rule context="text()"> <sch:let name="capitalizedDeprecatedTerm" value="concat(upper-case(substring('foo', 1, 1)), substring('foo', 2), ' '[not(last())...
by xephon
Thu Jul 07, 2016 12:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Insert elements without ID
Replies: 2
Views: 1514

Re: Insert elements without ID

Hi Radu,

excellent. I've never recognized that entry. :D

Thanks a lot!

Greetings,
Stefan
by xephon
Thu Jul 07, 2016 10:09 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Insert elements without ID
Replies: 2
Views: 1514

Insert elements without ID

Hi, sorry for asking this noobish question :( When inserting specific elements, <oXygen/> automatically inserts an @id attribute, e.g. for <ul> elements. For these specific DITA elements, the @id attribute is not mandatory. For us, @id attributes are indicators . If an element has an id , it is a xr...
by xephon
Fri Jun 03, 2016 8:23 am
Forum: General XML Questions
Topic: Table Keep with next across N rows
Replies: 1
Views: 3533

Re: Table Keep with next across N rows

Yes, you could create a Schematron rule that counts the rows and then forces the author to set an output class, if the number of rows are < 10. Then you can create a pdf2 template with sets a keep-with attribute on that table that avoids breaking it. You probably should flavor the Schematron rule wi...
by xephon
Tue Apr 12, 2016 9:54 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Trigger Author Action on save?
Replies: 15
Views: 7010

Re: Trigger Author Action on save?

:idea: Since DITA 1.3 you can also use the Release Management Domain to document changes.
by xephon
Fri Apr 08, 2016 1:04 pm
Forum: XSLT and FOP
Topic: How to create a lookup list
Replies: 5
Views: 3121

Re: How to create a lookup list

Hi Edwin,

if you are searching for something like a terminology checker you should have a look at the DITA-OT plugin org.doctales.terminology. This plugin (among other things) generates a Schematron file that can be used for terminology validation.


Greetings,
Stefan
by xephon
Fri Apr 01, 2016 12:12 pm
Forum: Feature Request
Topic: Resolve abbreviated-form and term in Webhelp related-links
Replies: 4
Views: 3013

Re: Resolve abbreviated-form and term in Webhelp related-links

There is a known processing error of abbreviated-form and term in the DITA-OT 2.x, see #2173. Maybe this is related to your issue.
by xephon
Tue Mar 22, 2016 6:36 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Use different DITA version
Replies: 6
Views: 3081

Re: Use different DITA version

Do you deliver your topic and map specializations as a DITA-OT plugin, see Extending the XML catalog?

Code: Select all

<plugin id="com.example.catalog">
<feature extension="dita.specialization.catalog.relative" file="catalog-dita.xml"/>
</plugin>
by xephon
Fri Mar 18, 2016 5:44 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Use Oxygen action in CSS
Replies: 2
Views: 1466

Re: Use Oxygen action in CSS

Hi Alex,

thanks, that was exactly what I was looking for.

Greetings,
Stefan
by xephon
Fri Mar 18, 2016 4:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translate ox
Replies: 3
Views: 1770

Re: Translate ox

Thank you, Alex
by xephon
Fri Mar 18, 2016 11:04 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translate ox
Replies: 3
Views: 1770

Translate ox

It feels I have asked the question before, but I could not remember/find the answer: This works: oxy_label(text, "${i18n(my.string)}", width, 150px, text-align, left) This does not work: oxy_buttonGroup(label, '${i18n(my.string)}') How can I translate the label of a oxy_buttonGroup ? :shoc...
by xephon
Fri Mar 18, 2016 10:48 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Use Oxygen action in CSS
Replies: 2
Views: 1466

Use Oxygen action in CSS

Hi,

I'd like to use an Oxygen action of my framework in author mode (CSS/LESS). I can add an action to the menu or the context menu. Can I use it the same way in CSS/LESS, or do I have do redefine it there?

Thanks
by xephon
Wed Mar 16, 2016 5:51 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to use content from ditamap to customize the PDF output
Replies: 11
Views: 5458

Re: How to use content from ditamap to customize the PDF output

@GSejourne: Could you please share your XSLT-Stylesheet you use to create the properties?