Search found 100 matches

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: 3362

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: 2837

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())])"/> <sch:let name="capitalizedRec...
by xephon
Thu Jul 07, 2016 12:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Insert elements without ID
Replies: 2
Views: 937

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: 937

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: 2792

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: 4106

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: 1793

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: 1805

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: 1828

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: 907

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: 1032

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: 1032

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 ? :shock: Thanks
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: 907

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: 3496

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?
by xephon
Wed Mar 16, 2016 11:36 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Use profiling condition set as output directory name
Replies: 3
Views: 1148

Re: Use profiling condition set as output directory name

Hi Radu,

oh, thanks a lot.

Greetings,
Stefan
by xephon
Tue Mar 15, 2016 12:47 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Use profiling condition set as output directory name
Replies: 3
Views: 1148

Use profiling condition set as output directory name

Hi, this is probably a beginner question, but I haven't found an answer in the forum. (How) is it possible to use the currently selected conditional profiling condition set in my output directory path? Is there a hidden variable? Pseudocode ${pd}/out/webhelp/${activeConditionSet}/ Thanks a lot, Stefan
by xephon
Tue Mar 08, 2016 11:39 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen XML Framwork - Build dynamic links
Replies: 2
Views: 814

Oxygen XML Framwork - Build dynamic links

Hi, I used the following CSS rules in my LESS file to dynamically generate links for an element like this: Element <issue project="project1" number="1234"/> CSS *[class ~= "history-d/issue"]:before(5) { content: "Jira: "; display: inline-block; width: 50px; } *[class ~= "history-d/issue"]:before(4) ...
by xephon
Thu Feb 11, 2016 3:59 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Set default attribute value by constraint module
Replies: 2
Views: 717

Re: Set default attribute value by constraint module

Thank you Radu,

you've got mail.

Greetings,
Stefan
by xephon
Thu Feb 11, 2016 2:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Set default attribute value by constraint module
Replies: 2
Views: 717

Set default attribute value by constraint module

Hi, probably I miss something quite trivial: I'd like to set an attribute to #REQUIRED by constraint module. I want <chapter> elements to always use @keyref . But the following constraint module does not resolve the %chapter-atts; entity and I'd like to avoid to resolve it manually in the constraint...
by xephon
Sun Jan 17, 2016 7:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom DITA-OT parameters for custom PDF
Replies: 12
Views: 6543

Re: Custom DITA-OT parameters for custom PDF

Hi Patrik, please have a look at this build.xml : <?xml version="1.0" encoding="UTF-8"?> <target name="reveal" description="Generate a reveal.js based web presentation."> <antcall target="integrate"/> <ant antfile="${dita.dir}\build.xml"> <!-- The input DITA map. --> <property name="args.input" valu...
by xephon
Sun Jan 17, 2016 5:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom DITA-OT parameters for custom PDF
Replies: 12
Views: 6543

Re: Custom DITA-OT parameters for custom PDF

Hi Patrik, this is indeed possible. You should read Passing parameters to existing XSLT steps . Take a look at the ~/dita-ot-2.x.x/plugins/org.dita.pdf2/build.xml and search for args . This should help you. Depending on what you are trying to achieve, it is also possible to generate new XSL-Styleshe...
by xephon
Tue Jan 05, 2016 5:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: auto-generate topicref attributes based on topic type
Replies: 5
Views: 2080

Re: auto-generate topicref attributes based on topic type

Thanks Radu, :D I did not know that. This cascading behavior is quite strange. So for me as a writer it is important to know, that I should ever or never use the attribute, because we publish sometimes PDF files by build script, so we sometimes do not invoke the publication via Oxygen. In that case ...
by xephon
Tue Jan 05, 2016 2:24 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: auto-generate topicref attributes based on topic type
Replies: 5
Views: 2080

Re: auto-generate topicref attributes based on topic type

Well, that's OT, but for what does the OT need the

Code: Select all

type
attribute? I cannot find information about it in the spec. Is it used with relationship tables?
by xephon
Fri Oct 30, 2015 5:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Sort definition list of current file without resolving implicit attributes
Replies: 2
Views: 770

Re: Sort definition list of current file without resolving implicit attributes

Hi Patrik,

herzlichen Dank, hat funktioniert.

Works as expected.

Have a nice weekend
Stefan
by xephon
Fri Oct 30, 2015 2:51 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Sort definition list of current file without resolving implicit attributes
Replies: 2
Views: 770

Sort definition list of current file without resolving implicit attributes

Hi, I have a small XSLT that sorts a definition list. In a transformation scenario I defined: XML URL: ${currentFileURL} XSL URL: myScript.xsl Output file: ${currentFileURL} So the source file is the output file, too. Sample Topic <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE topic PUBLIC "-//OAS...
by xephon
Tue Oct 27, 2015 5:24 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Apply all Schematron Quick Fixes
Replies: 3
Views: 1445

Re: Apply all Schematron Quick Fixes

Hello Octavian,

OK, thanks for this information.

Best Regards,
Stefan
by xephon
Fri Oct 23, 2015 12:41 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Apply all Schematron Quick Fixes
Replies: 3
Views: 1445

Apply all Schematron Quick Fixes

Hi,

is it possible to apply all suggested Schematron quick fixes at once for the current topic? If yes, how? :shock:

Thanks and best regards,
Stefan
by xephon
Thu Aug 06, 2015 4:09 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DOTJ013E ERROR
Replies: 5
Views: 1304

Re: DOTJ013E ERROR

tl;dr...

You wrote, the publication itself works. I was way off. Have you tried the XHTML transformation?
by xephon
Thu Aug 06, 2015 3:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DOTJ013E ERROR
Replies: 5
Views: 1304

Re: DOTJ013E ERROR

Hi Navaneetha,

the GenMapAndTopicListModule indicates that libraries are not found. In this case the dost.jar is missing. Add all libs in the ~/DITA-OT/lib directory to your path.

Greetings,
Stefan