Search found 4141 matches

by sorin_ristache
Thu Nov 20, 2014 2:28 pm
Forum: Other Issues
Topic: ant build script taking forever to convert HTML to DITA
Replies: 7
Views: 4167

Re: ant build script taking forever to convert HTML to DITA

Hi,

Can you post a valid URL instead of http://localhost/... ? Thank you.
by sorin_ristache
Thu Nov 20, 2014 2:03 pm
Forum: Other Issues
Topic: Republishing webhelp with feedback
Replies: 3
Views: 2640

Re: Republishing webhelp with feedback

I think you can exclude only one directory from the copy operation that will copy the WebHelp files to the web server: WEBHELP_TRANSFORM_OUT_DIRECTORY/oxygen-webhelp . So the automated build operation is changed only by adding an exception for this oxygen-webhelp sub-directory. You must include this...
by sorin_ristache
Wed Nov 19, 2014 11:43 am
Forum: Other Issues
Topic: Republishing webhelp with feedback
Replies: 3
Views: 2640

Re: Republishing webhelp with feedback

Hi Tom, I suppose you modify only the content of the DITA topics, not the files in the OXYGEN_DIR\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\oxygen-webhelp directory. If this is true then I suggest a simple solution: please copy to the web server the output directory of the WebHelp-Feedba...
by sorin_ristache
Wed Nov 19, 2014 10:43 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Change format of section contents in WebHelp
Replies: 3
Views: 2300

Re: Change format of section contents in WebHelp

Hi, I am not sure what you mean by the child topics of a section. The section element does not allow a topic child element. Do you mean the list of child links at the bottom of a topic page? Is yes, for modifying the list of child links please add the following template to the stylesheet OXYGEN_DIR\...
by sorin_ristache
Wed Nov 19, 2014 10:05 am
Forum: Other Issues
Topic: ant build script taking forever to convert HTML to DITA
Replies: 7
Views: 4167

Re: ant build script taking forever to convert HTML to DITA

You have to make sure the catalog.xml file is configured as an XML catalog in the ANT transformation started from a Terminal console. In the DITA transformation the catalog.xml file is configured by the h2d plugin in the DITA-OT/plugins/h2d/plugin.xml file: <plugin id="org.dita.specialization.h...
by sorin_ristache
Tue Nov 18, 2014 2:31 pm
Forum: Other Issues
Topic: ant build script taking forever to convert HTML to DITA
Replies: 7
Views: 4167

Re: ant build script taking forever to convert HTML to DITA

Hi Tom, When you run the HTML to DITA conversion from a Terminal console the delay is caused by the omission of the catalog.xml file located in the same directory as the build.xml file because an XML catalog is not set explicitly in the command line task. If the HTML to DITA conversion runs as a DIT...
by sorin_ristache
Tue Nov 18, 2014 11:13 am
Forum: Common Problems
Topic: Webhelp Transformation issue
Replies: 8
Views: 5611

Re: Webhelp Transformation issue

Thank you for letting us know.
by sorin_ristache
Mon Nov 17, 2014 4:14 pm
Forum: Common Problems
Topic: Webhelp Transformation issue
Replies: 8
Views: 5611

Re: Webhelp Transformation issue

Hi Jim, First you should run on the DITA map PingAccess.ditamap the action called Validate and Check for Completeness available on the toolbar of the DITA Maps Manager view . Does this action report any errors? If yes please fix them before running a DITA transformation on the map. In the final webh...
by sorin_ristache
Fri Nov 14, 2014 10:45 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: mapref in bookmap PDF fails when using Apache FOP
Replies: 4
Views: 2279

Re: mapref in bookmap PDF fails when using Apache FOP

Hi,

It is possible that a bug in the DITA-OT transformation creates an invalid FO file when mapref is used but we need some sample files for reproducing the error. Thank you for letting us know about the workaround that you found.
by sorin_ristache
Wed Nov 12, 2014 6:27 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: mapref in bookmap PDF fails when using Apache FOP
Replies: 4
Views: 2279

Re: mapref in bookmap PDF fails when using Apache FOP

Hi, First run the action called Validate and Check for Completeness on the DITA map that is transformed to PDF. This action is available on the toolbar of the DITA Maps Manager view . If there are validation errors please fix these errors before running the PDF transformation. If after that you stil...
by sorin_ristache
Tue Nov 11, 2014 6:24 pm
Forum: DocBook
Topic: How to show indexterms in DocBook 5 Webhelp
Replies: 2
Views: 5156

Re: How to show indexterms in DocBook 5 Webhelp

Hi Craig, This can be done with the following modification: please add the following code at the end of the template with the attribute match="d:indexterm" in file OXYGEN_INSTALL_DIR\frameworks\docbook\xsl\com.oxygenxml.webhelp\xsl\docbook\chunk_custom.xsl : <xsl:if test="d:primary&qu...
by sorin_ristache
Mon Nov 10, 2014 11:50 am
Forum: Common Problems
Topic: Hide stars in webhelp search results.
Replies: 1
Views: 1315

Re: Hide stars in webhelp search results.

Hello,

You can hide the stars in the list of search results with a custom CSS that you set in the args.css parameter of the DITA transformation and that hides the XHTML element <div id="star">, for example:

Code: Select all

.star {
visibility:hidden;
}
by sorin_ristache
Mon Nov 10, 2014 9:53 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Move figure caption above the figure
Replies: 7
Views: 4219

Re: Move figure caption above the figure

The default value of the placement attribute is inline. So it was explicitly set to break for separating each image from the surrounding text. This separation will occur in all types of output created from such an XML topic file.
by sorin_ristache
Thu Nov 06, 2014 6:29 pm
Forum: Other Issues
Topic: Dynamically hide content in body and TOC
Replies: 8
Views: 5935

Re: Dynamically hide content in body and TOC

At least 2 different XSL files will need to be modified if you want to pass the product attribute value to output. The outputclass alternative is easier and more DITA like, this is why I suggested it. The product attribute is really for profiling/filtering DITA content, not for passing values to out...
by sorin_ristache
Thu Nov 06, 2014 5:39 pm
Forum: Other Issues
Topic: Dynamically hide content in body and TOC
Replies: 8
Views: 5935

Re: Dynamically hide content in body and TOC

Then the product attribute passed through to the output (as data-platform). In the code that you posted it seems only the values of the audience , platform and id attributes are passed to output, not product . How do I allow the same product attribute to pass through to the TOC output? The only att...
by sorin_ristache
Thu Nov 06, 2014 11:47 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Figure and Table cross-references
Replies: 4
Views: 2640

Re: Figure and Table cross-references

I think it could be done but you need to customize the stylesheets of DITA-OT that create the XHTML pages. You can start from the stylesheet OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.xhtml\xsl\dita2xhtml.xsl . This file is used in the WebHelp transformation so if you modify the fig...
by sorin_ristache
Wed Nov 05, 2014 10:28 am
Forum: XSLT and FOP
Topic: Using args.xsl with WebHelp plugin
Replies: 8
Views: 3839

Re: Using args.xsl with WebHelp plugin

Yes, I think you should specify a different createMainFiles.xsl by setting args.create.main.files.xsl instead of creating a new transtype in DITA-OT.
by sorin_ristache
Tue Nov 04, 2014 2:32 pm
Forum: XSLT and FOP
Topic: Using args.xsl with WebHelp plugin
Replies: 8
Views: 3839

Re: Using args.xsl with WebHelp plugin

You should not use the args.xsl parameter for setting or adding an XSLT stylesheet in the WebHelp transformation. You should use one of the existing XSLT stylesheets in directory . But I don't want to modify all builds. I want to selectively add buttons for a particular build that is going in one o...
by sorin_ristache
Tue Nov 04, 2014 1:40 pm
Forum: XSLT and FOP
Topic: Using args.xsl with WebHelp plugin
Replies: 8
Views: 3839

Re: Using args.xsl with WebHelp plugin

The index.html file is always created in the output directory of the WebHelp transformation. Maybe you have a topic called index.dita or index.xml in the concepts sub-directory of the directory of your input DITA map file? So, no. The index.html that is showing up in my concepts directory is the on...
by sorin_ristache
Tue Nov 04, 2014 11:48 am
Forum: XSLT and FOP
Topic: withFrames equivalent for Feedback
Replies: 2
Views: 2453

Re: withFrames equivalent for Feedback

Hi, You can test the parameter WEBHELP_PRODUCT_ID in any XSLT stylesheet used in the transformation started by OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\xsl\dita\desktop\dita2webhelp.xsl : <xsl:if test="$WEBHELP_PRODUCT_ID != ''"> In the createMainFiles.xsl t...
by sorin_ristache
Tue Nov 04, 2014 10:51 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Move figure caption above the figure
Replies: 7
Views: 4219

Re: Move figure caption above the figure

Hi,

Now I understand, you have the placement=break attribute on the image element. No, commenting out that code doesn't affect anything else.
by sorin_ristache
Mon Nov 03, 2014 7:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Figure and Table cross-references
Replies: 4
Views: 2640

Re: Figure and Table cross-references

Hi, Sorry, this can't be done in the DITA WebHElp transformation or in the DITA XHTML transformation, because these transformations do not create a continuous sequence with all the content so that the position of each figure can be known in the overall sequence (like: the first figure/table in the c...
by sorin_ristache
Mon Nov 03, 2014 6:58 pm
Forum: XSLT and FOP
Topic: Using args.xsl with WebHelp plugin
Replies: 8
Views: 3839

Re: Using args.xsl with WebHelp plugin

Hello, In particular, I'd like to be able to add a couple extra buttons in the create-toc-common-file template. To test, I've created a separate version of that file, and referenced it in args.xsl like this: "Oxygen XML Editor 15\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\xsl\dita\di...
by sorin_ristache
Mon Nov 03, 2014 6:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Move figure caption above the figure
Replies: 7
Views: 4219

Re: Move figure caption above the figure

Sorry, there is no <br/> tag inserted between the figure caption and the figure. The code that I showed you to be replaced and also the entire <img> tag is inside a <div> tag like the following: <div class="fig fignone"><p class="figcap">IRIS TITLE</p> <img class="image"...
by sorin_ristache
Fri Oct 31, 2014 6:47 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Move figure caption above the figure
Replies: 7
Views: 4219

Re: Move figure caption above the figure

Hello, For moving the caption back above the figure please replace the following lines between lines 1558 and 1562 in the file OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.xhtml\xsl\xslhtml\dita2htmlImpl.xsl : <!-- OXYGEN PATCH START EXM-18109 EXM-28090 - moved image caption below. --...
by sorin_ristache
Fri Oct 24, 2014 11:03 am
Forum: Other Issues
Topic: Adding a Watermark to XHTML and PDF output
Replies: 17
Views: 13828

Re: Adding a Watermark to XHTML and PDF output

Gary, But adopting the concept of separate plugins for different purposes, there is no custom.xsl file in a Customization folder. There are custom.xsl files in the ..cfg/attr and ..cfg/xsl folders. I've tried placing the variable declaration in various files in those folders, but the transform alway...
by sorin_ristache
Thu Oct 23, 2014 12:44 pm
Forum: General XML Questions
Topic: WebHelp footnotes not working
Replies: 5
Views: 3822

Re: WebHelp footnotes not working

Hello,

I just sent you the code patch by email. Please let us know if it does not work for you.
by sorin_ristache
Thu Oct 23, 2014 8:45 am
Forum: Other Issues
Topic: Adding a Watermark to XHTML and PDF output
Replies: 17
Views: 13828

Re: Adding a Watermark to XHTML and PDF output

Hello, I have run into a new problem with the functioning of the draft watermark solution you communicated in this thread. I have begun moving toward creating a separate plugin in the DITA-OT plugins folder for the different kinds of PDF output my company requires -- such as one that prints a differ...
by sorin_ristache
Wed Oct 22, 2014 5:40 pm
Forum: General XML Questions
Topic: WebHelp footnotes not working
Replies: 5
Views: 3822

Re: WebHelp footnotes not working

Hi, It was a bug that slipped in version 16.1. We will fix it shortly and include it probably in the next Oxygen 16.1 maintenance release. As a quick workaround you can run the WebHelp transformation in Oxygen 16.0 to avoid the bug, but I think I can give you a small code patch to fix the problem in...
by sorin_ristache
Wed Oct 15, 2014 12:48 pm
Forum: Common Problems
Topic: WebHelp Generation is very very slow
Replies: 3
Views: 1593

Re: WebHelp Generation is very very slow

Hi George, I suppose the Oxygen instance running with no admin rights does not have read access to the Oxygen install directory or to some subdirectories of the Oxygen install directory, where for example some schema files (DTD, XML Schema, etc) are stored which are necessary in the transformation? ...