I've added the following to the Docbook plugin:

1. Support for copying media (or whatever) files to the target directory, so now you may include any kind of image in the docbook source directory, link to them from the docbook files using relative paths and expect the resulting documents to be perfectly viewable in an HTML browser, including the images. Doing it this way has the advantage of being simple and letting you see the result in your favorite WYSIWYG Docbook editor before publishing.

2. Support for stylesheet parametrization at will using a properties file. You don't have to wait for the plugin to support any parameter, just create a parameter file with properties syntax, include any parameter the stylesheets accept, tell the plugin where the file is located using the parametersFile parameter and you're done.

You may find the patch at http://jira.codehaus.org/browse/MOJO-251.

Thanks, best regards
Jose

2006/1/20, Jose Gonzalez Gomez < [EMAIL PROTECTED]>:
First of all sorry for the delay, but I've been ill for almot the whole week...

I'm adding functionalities to the plugin as I need them. Right now I'm adding support for adding images to the Docbook sources using the mediaobject tag and relative paths, and I'm also thinking about adding support for having a properties file where the user could specify parameters for the stylesheets.

Regarding png support, I guess he was talking about the first point mentioned above: in this case I'm thinking to include images in the same source tree, together with the Docbook source files and after converting Docbook files, copy all the images to the target directory. In this case, the plugin won't support this or the other kind of image, it'll just copy all the files that doesn't have an xml extension to the target directory and they will be shown as long as the browser you use supports them. If anybody has any other suggestion regarding this, please tell me.

As soon as I have a patch for this functionality I'll submit it to JIRA.

Best regards
Jose

2006/1/17, Kris Bravo < [EMAIL PROTECTED]>:
Jose,

Someone was on the irc channel several hours ago inquiring about the
docbook plugin. They asked if it supports png images. Could you respond
for the record?

Kris Bravo
Corridor Software, Inc.
http://www.corridor-software.us

> Hi there,
>
> For those interested, you have a new Docbook plugin available at Mojo (
> http://mojo.codehaus.org/docbook-maven-plugin/). The plugin is in a very
> alpha state, although is quite usable for generating HTML output from
> interlinked Docbook documents. Comments, bug reports and request or ideas
> for enhancements are welcomed.
>
> Best regards
> Jose
>




Reply via email to