You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Hiroki Watanabe <hw...@gmail.com> on 2008/01/21 15:49:25 UTC

[DBF] Does Velocity DocBook Framework support other format(e.g HTMLHelp)?

Hello,

Does Velocity DocBook Framework support other formats beside html,
htmlsingle, pdf?

I tried to generate HTML Help using Velocity DocBook Framework 1.0,
and following error occured in ant process:

 > BUILD FAILED
 > ...
 > Could not find file
docbook-xsl-1.70.0/htmlhelp/titlepage.template.xml to copy

Though there isn't a titlepage.template.xml in htmlhelp of docbook-xsl,
a copy task is executed in build-docbook.xml

 * build-docbook.xml(line:159):
 <copy file="${dbf.xsl.dir}/@{xsl}/titlepage.template.xml" ...
faileonerror="true" />

So I modified the copy task's failonerror attribute "true" to "false",
then htmlhelp was successfully generated.

Is the framework support format only html, htmlsingle, ant pdf only?
titlepage.template.xml only exists in html and fo of docbook-xsl.

Sorry my poor english.
-- 
Hiroki Watanabe
hwatanabe.japan@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org