On Fri, 2006-11-03 at 08:06, KP Kirchdoerfer wrote:
> Am Freitag, 3. November 2006 16:42 schrieb Mike Noyes:
> >
> > I modified /home/groups/l/le/leaf/admin/doc-build.sh, and added:
> >
> >           --stringparam chunk.section.depth 0 \
> >           --stringparam use.id.as.filename 1 \
> >
> >         Note: not committed to cvs as it's a quick hack.
> >
> > That's all I have time for right now. Let me know if it improves things.
> > Thanks.
> 
> Mike;
> 
> Just checked the docs looks good - and usable.
> 
> What's the problem committing it? The params are there to get used - so I 
> consider it not as "quick hack".

KP,
Using stringparam for long term customization is poor practice. It's
equivalent to using a blunt instrument. A customization layer provides
almost full control over the generated content appearance. See TOC
modifications available below:

        http://www.sagehill.net/docbookxsl/TOCcontrol.html
        
                section   nop
                
                Example: the modification above removes sections from
                the toc, but not part or reference. That modification is
                not possible with a stringparam.

-- 
Mike Noyes <mhnoyes at users.sourceforge.net>
http://sourceforge.net/users/mhnoyes/
SF.net Projects: leaf, phpwebsite, phpwebsite-comm, sitedocs


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to