Reini,
I'm working on my docbook conversion and things are going pretty good so
far. I'm rendering out htmlhelp and pdf's now.
I'd like to suggest a small change that I hope won't impact anything, but
would make converting xhmtl with xsl stylesheets easier (as far as I know
how with xsl stylesheets).
Would it be possible to put a <div> tag around each plugin with an id or
class name of the plugin? I'm using the UnfoldSubpages plugin as docbook
books, with each page included as a chapter. In order to have this work, I
need each invocation of the UnfoldSubpages plugin to be in a tag. I have
modified my UnfoldSubpages plugin like so:
(changed lines 174-184 like so)
$div = HTML::div(array('id'=>'unfoldsubpages plugin'));
if (! $smalltitle) {
$div->pushContent(HTML::p(array('class' => $quiet ?
'' : 'transclusion-title'),
fmt("Included from %s:",
WikiLink($page))));
}
$div->pushContent(HTML(HTML::div(array('class' => $quiet ?
'' : 'transclusion'),
false, $ct)));
$content->pushContent($div);
so that the contents of the plugin are in a <div id="unfoldsubpages
plugin">plugin content</div> tags.
This allows my xls stylesheet to convert this into a docbook <book></book>
tag :-)
Is this doable for all plugins? That would give me a lot of flexablity with
my stylesheets.
Thanks,
John Cole
-------------------------------------
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
|