On Fri, Aug 30, 2013 at 7:53 PM, Tom Browder <tom.brow...@gmail.com> wrote:
> I had that working for my limited use (book and chunk html only) with a > not-very-clean Perl system. With CMake I think we need maybe a separate xsl > file for: > > man/html > man/pdf (fo) > book/html > book/pdf (fo) > article/html > article/pdf (fo) So these would be equivalent (roughly) to the resources/brlcad/brlcad-*-stylesheet.xsl.in files, except something like: resources/brlcad/brlcad-man-xhtml-stylesheet.xsl.in resources/brlcad/brlcad-man-fo-stylesheet.xsl.in resources/brlcad/brlcad-book-xhtml-stylesheet.xsl.in resources/brlcad/brlcad-book-fo-stylesheet.xsl.in resources/brlcad/brlcad-article-xhtml-stylesheet.xsl.in resources/brlcad/brlcad-article-fo-stylesheet.xsl.in Correct? > The main reason is for fine-tuning such things as TOCs, section (chapter) > font sizes and numbering (or not), etc. Books and articles are very > different. Sure - sounds great, in fact! I'm all for better quality output. >> (Note that some of our categories are currently the same DocBook type, but > if we want them formatted differently, they will each need their own > customized xsl files for both html and pdf.) > > BTW, I think we should split out the man page pdf products as a separate > extra-extra target because man pages can easily be made into pdf's as > required on *nix systems, to wit: > > $ man -t attributes > attributes.ps > $ ps2pdf attributes.ps The PDF man pages can already be enabled and disabled separately from the rest of the PDF docs - I don't recall if they're also a completely separate build target... If the above is what you want Tom, I can copy our existing stylesheet templates in as starting points and wire up the build to reference them correctly for each type - would that do what you need? Cliff ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel