How to generate pdf from docbook 5.0

前端 未结 7 1686
再見小時候
再見小時候 2021-01-31 00:19

I\'ve written a docbook 5.0 document with the header:




        
7条回答
  •  日久生厌
    2021-01-31 00:38

    Apart from the header you gave, did you try a smaller example, like this one from the DocBook 5.0: The Definitive Guide ?

    
    
    
      An Example Book
      Example
      
        No notice is required.
        
          NormanWalsh
        
      
    
      
      
          This book is dedicated to you.
      
      
    
      
        Foreword
        
            Some content is always required.
        
      
    
      
        A Chapter
        
            Content is required in chapters too.
        
      
    
      
        Optional Appendix
        
            Appendixes are optional.
        
      
    
    

    Just rendered it to a PDF through one of my Maven environments. Can you give a small example (or a few separated onces) containing some content, which makes the use of all the additional name spaces necessary.

    In case the above example does not work, and you are interested in how I have setup my environment read Making DocBook content available in a Maven project site. Just replace the example with the above DocBook 5.0 example. Only the docbkx-maven-plugin is of interest, in relation to this question. (PS: Some basic knowledge of Java and Maven2 is required for this.)

提交回复
热议问题