Search found 268 matches

by alin
Wed Apr 25, 2018 4:25 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to load custom JS libraries in the responsive webhelp transformation
Replies: 5
Views: 3297

Re: How to load custom JS libraries in the responsive webhelp transformation

Hello, The problem is that the DataTables JS library is defined as a RequireJs module and it cannot be loaded via an HTML <script> tag. It should be loaded using a "require" call or as a dependency of another module. Unfortunatelly the RequireJS configuration used in WebHelp is not extenda...
by alin
Wed Apr 04, 2018 5:55 pm
Forum: Common Problems
Topic: How to display the build date in WebHelp Classic?
Replies: 1
Views: 1507

Re: How to display the build date in WebHelp Classic?

Hello, The easiest way to insert the generation date in the WebHelp Classic output is to edit the "webhelp.copyright" parameter in the Transformation Scenario Dialog and use the Current Date Editor Variable ( ${date(yyyy-MM-dd)} ) as its value. For example set the parameter to: Date: ${dat...
by alin
Mon Mar 26, 2018 5:27 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Responsive output functionally changed
Replies: 2
Views: 2268

Re: Responsive output functionally changed

Hello, In version 20, the Publication TOC (formerly known as Side TOC) was hidden by default on mobile layouts. You can use the new Publishing Template feature along with the Save template as action to customize a built-in template in order to display the Publishing TOC on mobile layouts. You can fi...
by alin
Thu Mar 15, 2018 11:05 am
Forum: Common Problems
Topic: Problem running ditaWebhelp.bat
Replies: 2
Views: 1778

Re: Problem running ditaWebhelp.bat

Hello, The WebHelp bundled in oXygen was only intended to be used from oXygen and not from the command line. This is a lightweight WebHelp distribution as it is missing some JAR files that are already found in the oXygen's core. In conclusion, if you want to trigger the WebHelp transformation from t...
by alin
Fri Feb 23, 2018 4:38 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: webhelp.skin.css in build.xml
Replies: 3
Views: 2214

Re: webhelp.skin.css in build.xml

Hello Nick, Since you are referring to the "webhelp.skin.css" parameter I assume that you are trying to obtain an WebHelp Classic output. Can you please give me more details about your setup and usecase? What type of documents are you trying to transform, DITA or DocBook? In case you are u...
by alin
Tue Jan 30, 2018 10:35 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Failure publishing from Data Source Explorer
Replies: 2
Views: 2375

Re: Failure publishing from Data Source Explorer

Hello, Sorry for the late reply! Indeed it seems that there is a problem when transforming a DITA Map located on a SharePoint server that was open via the Data Sources view. I will log an issue in our system to be analyzed. In my tests, I was able to successfully transform a SharePoint DITA Map when...
by alin
Mon Jan 22, 2018 7:21 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom XML to Responsive Webhelp Index Page discarding HTML entities
Replies: 1
Views: 1515

Re: Custom XML to Responsive Webhelp Index Page discarding HTML entities

Hello, The XML fragment files should be well-formed in order to be parsed by the WebHelp Plugin. The only entities allowed in an well-formed XML file are the predefined entities (" & ", " &apos; ", " " " , " > ", " < ") and the character...
by alin
Wed Dec 20, 2017 3:42 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Template creates an empty div
Replies: 1
Views: 1774

Re: Template creates an empty div

Hello, You can generate the ' notes ' in a temporary variable and then generate the ' <div> ' element if at least one note was found. For example: ............ <xsl:template name="generateItemGroupTaskElement"> <xsl:variable name="notes"> <xsl:apply-templates select="*[not(c...
by alin
Wed Nov 29, 2017 3:29 pm
Forum: General XML Questions
Topic: Extension Point for commonComponentsExpander.xsl
Replies: 1
Views: 2051

Re: Extension Point for commonComponentsExpander.xsl

Hello, The " commonComponentsExpander.xsl " module is referenced from the stylesheets that process the WebHelp template pages. Its role is to generate the common components in these pages. If you want your change to reflect in all pages, you should consider the following extension points: ...
by alin
Tue Nov 14, 2017 3:58 pm
Forum: Common Problems
Topic: XML refactoring preview highlights namespace declarations
Replies: 3
Views: 2456

Re: XML refactoring preview highlights namespace declarations

Hello,

Thank you for your feedback! I have logged your request in our issue tracking tool.

Regards,
Alin
by alin
Wed Nov 08, 2017 1:24 pm
Forum: Common Problems
Topic: XML refactoring preview highlights namespace declarations
Replies: 3
Views: 2456

Re: XML refactoring preview highlights namespace declarations

Hello, I was able to obtain a similar situation using the XML document listed below: <root xmlns:ns="my-ns"> <other xmlns:ns="my-ns" ns:attr="value"/> <sec> <title>My Title</title> </sec> </root> As you can see, in my case, the namespace declaration is redundant as it a...
by alin
Mon Oct 23, 2017 11:23 am
Forum: XSLT and FOP
Topic: wh_not_expandable
Replies: 1
Views: 2140

Re: wh_not_expandable

Hello, The wh_not_expandable class is internally used by the "expand-collapse" mechanism in WebHelp Responsive and it should not affect your content filtering implementation. The "expand-collapse" feature toggles the visible state of certain content in WebHelp. We use the class a...
by alin
Mon Oct 09, 2017 5:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: 19.1 Responsive Top Nav Not Obeying Top Menu Depth Setting
Replies: 6
Views: 2836

Re: 19.1 Responsive Top Nav Not Obeying Top Menu Depth Setting

Hello,

You can use one of the following two procedures to hide entries in the top menu:
https://www.oxygenxml.com/doc/versions/ ... nu_entries

Regards,
Alin
by alin
Thu Oct 05, 2017 1:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Convert Editor 19's customized webhelp to 19.1
Replies: 1
Views: 1267

Re: Convert Editor 19's customized webhelp to 19.1

Hello, In version 19.1 the WebHelp Plugin was split in two main plugins, one that covers the WebHelp Classic functionality and one that covers the Responsive functionality. Thus the available extension points were redesigned. For the WebHelp Responsive plugin the following changes were performed: Th...
by alin
Tue Oct 03, 2017 4:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Accessing custom WebHelp responsive templates from custom framework
Replies: 1
Views: 1950

Re: Accessing custom WebHelp responsive templates from custom framework

Hello, The templates presented in the WebHelp Responsive Scenario dialog are loaded from the following loacation: {DITA_OT_DIR} /plugins/com.oxygenxml.webhelp/templates/dita Please make sure that the DITA Open Toolkit option (from the Options > Preferences > DITA preferences page) points to your cus...
by alin
Thu Sep 07, 2017 12:17 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Changing Top Menu in Webhelp Reponsive Output
Replies: 3
Views: 2589

Re: Changing Top Menu in Webhelp Reponsive Output

Hello, You can provide your own custom CSS that overrides the default styles for the WebHelp Responsive menu and menu toggle button. Unfortunately, this is not a very easy task because there are many CSS rules that need to be overridden. You can use the following CSS code as starting point: @media o...
by alin
Mon Sep 04, 2017 5:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Embedding fonts in webhelp deliverable?
Replies: 2
Views: 1677

Re: Embedding fonts in webhelp deliverable?

Hello, You can use the following procedure to copy the font resources and the CSS files that are referencing the fonts: https://www.oxygenxml.com/doc/versions/19.0/ug-editor/topics/copy_resources.html#copy_resources You can use the following procedure to reference the CSS file in the WebHelp HTML ou...
by alin
Mon Aug 28, 2017 11:11 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Tiles configuring?
Replies: 4
Views: 2626

Re: Webhelp Tiles configuring?

Hi, You should edit the WebHelp Transformation scenario and ensure that both " webhelp.show.main.page.tiles " and " webhelp.show.main.page.toc " parameters are set to " yes ". When selecting a "Tiles" template, the "webhelp.show.main.page.tiles" para...
by alin
Wed Aug 23, 2017 10:02 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Tiles configuring?
Replies: 4
Views: 2626

Re: Webhelp Tiles configuring?

To display icons on the first three tile you can specify the associated images in a custom CSS (se my previous post) or in the DITA Map using the following procedure: https://www.oxygenxml.com/doc/versions/19.0/ug-editor/topics/whr-configure-tiles.html#whr-configure-tiles__how_to_add_an_image_to_the...
by alin
Wed Aug 23, 2017 9:56 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Tiles configuring?
Replies: 4
Views: 2626

Re: Webhelp Tiles configuring?

Hello, You should contribute a custom CSS to the WebHelp transformation. Please follow this procedure: https://www.oxygenxml.com/doc/versions/19.0/ug-editor/topics/webhelp-customization-css.html The tiles are laid out using the CSS Flexbox Layout (https://css-tricks.com/snippets/css/a-guide-to-flexb...
by alin
Tue Aug 22, 2017 4:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Template Components and customizing webhelp output
Replies: 3
Views: 2210

Re: Webhelp Template Components and customizing webhelp output

Hello, You could manipulate the links from the TOC and move them throughout your page using custom JavaScript code. The only thing I am wondering is if I can manipulate the components there, as in looping through webhelp_main_page_toc and putting the items into an array to reference in the output? W...
by alin
Thu Aug 17, 2017 3:34 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Classes and WebHelp components
Replies: 1
Views: 1323

Re: Classes and WebHelp components

Hi Kim, The only way to expand the TOC template component is like this: <whc:webhelp_main_page_toc> <whc:component_content/> </whc:webhelp_main_page_toc> This way you can insert some custom HTML fragment inside the component, but before or after its actual content (topic links). For example: <whc:we...
by alin
Thu Aug 17, 2017 3:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Template Components and customizing webhelp output
Replies: 3
Views: 2210

Re: Webhelp Template Components and customizing webhelp output

Hi Kim, I am afraid that you cannot pull links from the TOC and reference them in another part of the WebHelp Responsive Template. However, there might be an workaround for you. You could manipulate the links from the TOC and move them throughout your page using custom JavaScript code. You can custo...
by alin
Fri Aug 11, 2017 2:27 pm
Forum: Common Problems
Topic: Expand/collapse icon in wh_side_toc
Replies: 1
Views: 1476

Re: Expand/collapse icon in wh_side_toc

Hello,

We already have implemented this feature in oXygen WebHelp 19.1 which will be available around mid October.

Regards,
Alin
by alin
Fri Aug 04, 2017 4:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: override template in dita2htmlImpl.xsl with Oxygen Webhelp plugin version
Replies: 5
Views: 3145

Re: override template in dita2htmlImpl.xsl with Oxygen Webhelp plugin version

Another way to capitalize the first letter of each term containing the outputclass="cap_first_letter" is to add a custom CSS to you WebHelp transformation. The CSS file should contain the following styling rule: .cap_first_letter { text-transform: capitalize; } You can read more about this...
by alin
Fri Aug 04, 2017 4:45 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: override template in dita2htmlImpl.xsl with Oxygen Webhelp plugin version
Replies: 5
Views: 3145

Re: override template in dita2htmlImpl.xsl with Oxygen Webhelp plugin version

Hi Nick, I assume that you are using a DITA-OT extension plugin to apply your customization. If your customization has effect only for the topic content and not for the TOC content you probably have used only the "com.oxygenxml.webhelp.xsl.dita2webhelp" extension-point. In order to customi...
by alin
Thu Aug 03, 2017 4:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: override template in dita2htmlImpl.xsl with Oxygen Webhelp plugin version
Replies: 5
Views: 3145

Re: override template in dita2htmlImpl.xsl with Oxygen Webhelp plugin version

Hi Nick, Can you please tell me which version of oXygen WebHelp plugin and which DITA-OT distribution are you using? In an older forum post you said that you will continue to use the v17 plugin with DITA-OT 1.7.5. Is this still your current version? Have you succeeded to upgrade to version 19? In th...
by alin
Tue May 30, 2017 9:26 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Set a section to be collapsed when a page loads
Replies: 9
Views: 5259

Re: Set a section to be collapsed when a page loads

Hello,

I have tested the solution posted above with WebHelp 19.0 and one of our sample DITA maps and it seems to work.
Please let me know if you need further assistance.

Regards,
Alin
by alin
Wed May 24, 2017 10:43 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: webhelp .properties file
Replies: 6
Views: 3648

Re: webhelp .properties file

Hi Nick, I see that the topics indeed render in the file hierarchy, but all links are broken. The DITA-OT does not handle it well when references are outside the directory where the published DITA map is found. By default, it does not even copy the referenced topics to the output directory and this ...
by alin
Mon May 22, 2017 6:56 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: webhelp .properties file
Replies: 6
Views: 3648

Re: webhelp .properties file

Hello, The rules for the properties file format match the ones specified in the JavaDoc documentation of the java.util.Properties class (please see the documentation of the load method: http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html#load%28java.io.InputStream%29). I do not see an...