What do you use to generate PDF books?

I'am using doxia-maven-plugin to generate html books, but the pdf format
is 'deprecated' because it is generated by iText and iText no longer
support pdf output. (http://maven.apache.org/doxia/modules/index.html).
I have pb with UTF 8 encoding of french pages...(it is a known pb of
iText...)

I have read that from the doc-book output of doxia, I can generate a PDF
book but I don't have found how...docbook seems very "dark" to me : need
a xsltranslator , how? not a word of doxia site...

I also have found the JBoss Plugin : maven-jdocbook-plugin
(http://labs.jboss.com/maven-jdocbook-plugin/) but, here again, I didn't
get correct result : i try to inject the docbook xml generated by doxia,
but it is invalid for jdocbook plugin...I have made some hand made
corrections to the xml... but the result is awfull...


Well, I try many things, but did not found ONE way to generate a pdf
from maven....

What do you use? and how?  Thanks!
May be it's just a dream?

-- 
Julien Graglia



Extract of my pom :

<!-- http://labs.jboss.com/maven-jdocbook-plugin/ -->
<!-- mvn jdocbook:generate -->
<!-- mvn jdocbook:bundle -->
<plugin>
    <groupId>org.jboss.maven.plugins</groupId>
    <artifactId>maven-jdocbook-plugin</artifactId>
    <version>2.0.0</version>
    <extensions>true</extensions>
    <executions>
                    <execution>
                        <phase>install</phase>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
    <configuration>
                <!--  if no options defined : NPE in
java.lang.NullPointerException
        at
org.jboss.maven.plugins.jdocbook.GenerationMojo.process(GenerationMojo.java:55) 
!!-->
                <options>
                <useRelativeImageUris>true</useRelativeImageUris>
                </options>
        <formats>
          
            <format>
                <formatName>html</formatName>
            </format>
            <format>
                <formatName>pdf</formatName>
            </format>
        </formats>
        <sourceDocumentName>ref-guide.xml</sourceDocumentName>
       
    </configuration>
</plugin>

            <!--
http://maven.apache.org/doxia/doxia/doxia-maven-plugin/index.html -->
            <!-- doxia:render-books -->
            <plugin>
                <groupId>org.apache.maven.doxia</groupId>
                <artifactId>doxia-maven-plugin</artifactId>
                <version>1.0-alpha-10</version>
                <executions>
                    <execution>
                        <phase>pre-site</phase>
                        <goals>
                            <goal>render-books</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <books>
                        <book>
                            <directory>src/books/ref-guide/</directory>
                            <descriptor>src/books/ref-guide.xml</descriptor>
                            <formats>
                                <format>
                                    <id>xdoc</id>
                                </format>
                                <format>
                                    <id>xhtml</id>
                                </format>
                                <format>
                                    <id>doc-book</id>
                                </format>
                            </formats>
                        </book>
                    </books>
                </configuration>
            </plugin>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to