Hi, Hussein:
Good news! Everything is working great, except for the
"header_footer_files" parameter. I added that parameter to the
Document Conversion Parameters list. But when I generate the
webhelp, I hit this error:
Invoking method
"com.xmlmind.xmleditext.whc.CompileWebHelp.compile"
with arguments
"docb.toWebHelp"
"file:/C:/Users/Pierce/Documents/private-docs/xtcommission/wh_resources/header_footer_files",
invalid value for parameter "user-resources"
To get past it, I removed the "header_footer_files" parameter. But I
would like to add it back so I can include a logo and gradient in
the header, per your example. I tried creating an absolute path to
each of the files inside that directory, also--but hit a similar error.
Speaking of absolute paths: Since I manage multiple different
technical guides, it would be helpful if I could add a variable to
the absolute path value for the header/footer parameters I'm using
now. All my books now have a "wh_resources" directory in the home
directory. But since each home directory has a different absolute
path, without a variable I have to update the parameter paths each
time I generate webhelp for a book.
Example absolute path I'm using:
file:/C:/Users/Pierce/Documents/xtupledocs/referenceguide/wh_resources/header_footer.css
Is there something like the following (or similar) I can use?
%/wh_resources/header_footer.css
Many thanks for your help.
Best regards,
Pierce
On 7/29/2014 2:07 PM, Hussein Shafie wrote:
On 07/29/2014 06:35 PM, Pierce Tyler wrote:
1. I'm not sure where to place the files: header.html,
footer.html and
header_footer.css. Do I put these into
'xxe-config:docbook/xsl/webhelp/'
or 'xxe-config:docbook/xsl/webhelp/wh_resources/' or some other
location?
You must create all these files:
* in a directory of your own, typically nearby the source of your
documentation,
* NOT in "xxe-config:docbook/xsl/webhelp/" (which may be
overwritten the next time you'll upgrade XXE.)
2. Also, the XHTML file you mentioned below, does that file already
exist? Or do I need to create it--and if so, where does it go?
You need to create your own versions of header.html, footer.html and
header_footer.css. Of course, you can give these files different
names because these files are all yours.
You may want to download the DocBook source of XMLmind XML Editor
help from the following location.
---
http://www.pixware.fr/_download/pierce/help.tar.gz
(1422877bytes, Tue Jul 29 20:02:50 CEST 2014)
---
This archive contains our own header.html, footer.html and
header_footer.css files. It also contains a makefile which shows
you how such files are passed as parameters to the XSLT stylesheets.
--
Pierce Tyler
VP Knowledge Management @xTuple
[email protected] <mailto:[email protected]>
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support