[Refdb-users] FO stylesheet problem #2: docbook xml book converts to invalid FO
Status: Beta
                
                Brought to you by:
                
                    mhoenicka
                    
                
            | 
      
      
      From: Markus H. <mar...@mh...> - 2004-03-07 16:10:47
      
     | 
| David Nebauer writes: > Since the source file converts to html perfectly the problem appears to > lie with the refdb fo stylesheets. Since docbook xml articles do not > appear to produce the same error, it involves something specific to > docbookx books -- or at least not affecting docbookx articles. Once > again, however, I am insufficiently knowledgeable about xsl (and fo) to > determine the cause of the problem. > There's a few things we can do to address this problem. First of all, your hand-coded test document #1 does not contain a bibliography. I don't expect this to be the reason, but you should probably provide a hand-coded bibliography to test the stock DocBook stylesheet bibliography code. Second, you could attempt to process the document using the stock DocBook stylesheets. The result will be more than ugly, but this could help to isolate the problem. If the RefDB driver files are the culprit, the DocBook fo stylesheets should transform the document without errors, regardless of how nasty the output is going to look. Third, I suspect that a version mismatch might cause the problem. In contrast to the more or less static DSSSL stylesheets, the XSLT stylesheets have changed quite a bit since I implemented the RefDB driver files. It is quite likely that the templates that the driver files override have to be updated to a recent version of the stock DocBook stylesheets. I'll try to find some time next week to look into this. In general, the bibliography code in the fo stylesheets is a lot more complex than in the html stylesheets, as it has to take care of things like recto/verso, proper pagination and such. Therefore it is not surprising that it is easier to confuse than the html output. regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |