This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Error using Applethelp.xsl with 1.64.1


I've resolved the error.

My apologies, I did not know that I needed to download a revised version of the htmlhelp-common.xsl file. As soon as that file was in place, everything worked extremely well!

I feel foolish--I should have double-checked to make sure I had all the right files. Thank you so much for the help.

Dave

David Cramer (Tech Pubs) wrote:

Yes. When it succeeds, you should see the following when you process a doc with saxon (using this test doc: http://cvs.sourceforge.net/viewcvs.py/*checkout*/docbook/testdocs/tests/article.001.xml?rev=1.4):
--------------------------------------------------------------------------------------------------
dcramer@myrmecine ~/applethelptest
$ java -cp ../../../Program\ Files/XMLmind_XML_Editor/saxon.jar com.icl.saxon.StyleSheet article.001.xml applethelp.xsl
Writing files/index.html for article(article)
Writing htmlhelp.hhp
Writing toc.hhc
Writing index.html
Writing contents.pane.html
Writing index.pane.html


==============================================================================
NOTE:

For the applet-style help to function, you must first copy the contents of the
'java' folder from your HTML Help Workshop installation to the directory
containing the frameset files. Note that you must copy the *contents* of
C:\Program Files\HTML Help Workshop\java, not the folder (so HHCtrl.class and
so on must be in the same directory as index.html, contents.pane.html, and
index.pane.html).


You must also copy the images used by the frameset to the path defined
in htmlhelp.frameset.graphics.path. For example:

images/ cntidx.gif
       cntimage.gif
       cnttab.gif
       indexcnt.gif
       indextab.gif
==============================================================================

dcramer@myrmecine ~/applethelptest
$
--------------------------------------------------------------------------------------------------
It appears that for you, the template named generate.htmlhelp.frameset is not being called. Could you confirm that in applethelp.xsl the following is set: <xsl:param name="htmlhelp.generate.frameset" select="1"/> and that the htmlhelp-common.xsl that's in the same directory as applethelp.xsl contains <xsl:call-template name="generate.htmlhelp.frameset"/> at line 60.


David



-----Original Message-----
From: David Shevitz [mailto:dshevitz@singlestep.com]
Sent: Friday, June 18, 2004 9:55 AM
To: David Cramer (Tech Pubs)
Cc: docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] Error using Applethelp.xsl with 1.64.1


Aha! Doesn't like trademarks, I guess.


I removed the symbol, and now I get the following output:
Writing files/ar01s02.html for section
Writing files/ar01s03.html for section
Writing files/ar01s04.html for section
Writing files/ar01s05.html for section
Writing files/ar01s06.html for section
Writing files/ar01s07.html for section
Writing files/ar01s08.html for section
Writing files/ar01s09.html for section
Writing files/ar01s10.html for section
Writing files/index.html for article
Writing htmlhelp.hhp
Writing toc.hhc

Should the content.pane.html file be available at this point?







To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]