On Tue, Mar 6, 2012 at 13:27, Clifford Yapp <[email protected]> wrote:
...
>> There are several issues for me here:
>>
>> 1.  There needs to be a common xsl customization file for all DB products.
>>
>>     - I don't see an ".xsl.in" that fits
>
>
> Hmm.  Would this xsl file get included by the individual sytlesheet xsl
> files, or is it an additional parameter on the xsltproc command line?

Include by all (maybe not man, I have no experience with it)l:

  # pseudo code
  [fo|man|xhtml]-stylesheet.master.;

     include brlcad-common.xsl
   ...

>> 2.  All fo products need a common customization file.
>>
>>    - I have added
>> "doc/docbook/resources/brlcad/brlcad-fo-stylesheet.xsl.in
>
>
> Apply the following diff to doc/docbook/CMakeLists.txt:

I think mine is like that--I'll check it in and you can tweak it if not.

>> 3.  Given I have 1 and 2, how do I get them included during the build?
>
>
> The above patch should handle everything for the second case - I need to
> understand the mechanics of how you're applying the "common" xsl file in
> addition to the individual ones to have a good answer for the first case.
>
>>
>>    - I think I have the general case covered (but I haven't checked
>> results closely yet).
>>
>>    - The immediate problem I have is trying to fix the books:  I need
>> the new fo-xsl file included in a particular order as soon as I can
>> figure out how to control the order.
>
>
> Why not have the
> doc/docbook/resources/brlcad/tutorial-cover-template.xsl.in include the
> fo-xsl logic file (maybe rename it to book-fo-template if it's going to
> cover more than just the cover formatting)? Is the brlcad-fo-stylesheet.
> template committed?  I could take a quick look if you can explain the
> ordering you're after.

Properly, the cover stylesheet is include in the fo master stylesheet.
 As you know, the covers are specialized for each book:

    fo master stylesheet

       include common stylesheet

       include cover stylesheet

One other file that is needed for all fo master stylesheets is the
fonts xsl file

I see a common file and a fonts file but not either with a .in suffix,
is that correct or?

>> BTW, I would rather have my FOP info at the end of the configuration
>> rather than during the initial part if there is concern over too much
>> info (or maybe have it only during debug builds).
>
>
> I can't really control where it's printing it when it does the tests -

Well, I just thought the message there could be omitted since it is
superfluous if one is not generating pdf (can the search even be
excluded for non-pdf?).

> In my experience
> once your FOP setup is correct that result won't change much...  a quick way
> to double check the FOP results is just grep the Cache file for FOP:

Good tip.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to