Maven Doxia Tools
  1. Maven Doxia Tools
  2. DOXIATOOLS-19

totally no rich formatting in generated PDFs/RTFs

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Doxia Book Renderer
    • Labels:
      None
    • Number of attachments :
      1

      Description

      We've decided to use Maven Doxia back in 2008.
      2,5 years have passed but generated PDFs/RTFs still look unacceptably ugly.

      Please see attached project.
      PDFs/RTFs built from content

      <p>No formatting.</p>
      <p>font size 1: <font size="1">this</font></p>
      <p>font size 20: <font size="20">this</font></p>
      <p>font size=small: <font size="small">small</font> </p>
      <p> small: <small>this</small> </p>
      <p> font color red: <font color="red">this</font> </p>
      <p> strike: <s>strike</s> </p>
      <p><source> code line XXX </source> </p>
      

      have totally no formatting while xhtml looks fine.

      Frankly speaking I just can't believe Doxia Books plugin is so lame - could there be a misconfiguration in my sample project?

      At least is there a workaround to make source code formatting differ from main text in PDF (e.g. have smaller size)? We need this badly.

        Activity

        Hide
        Lukas Theussl added a comment -

        The book code is indeed unmaintained and in bad shape, we will probably deprecate it.

        For pdf you should be happier with the maven-pdf-plugin [1], for rtf output, you might try the corresponding doxia module [2], but I am not sure how that works.

        [1] http://maven.apache.org/plugins/maven-pdf-plugin/
        [2] http://maven.apache.org/doxia/references/index.html

        Show
        Lukas Theussl added a comment - The book code is indeed unmaintained and in bad shape, we will probably deprecate it. For pdf you should be happier with the maven-pdf-plugin [1] , for rtf output, you might try the corresponding doxia module [2] , but I am not sure how that works. [1] http://maven.apache.org/plugins/maven-pdf-plugin/ [2] http://maven.apache.org/doxia/references/index.html
        Hide
        Lazy Coder added a comment -

        Thanks for the response!
        It's really a pity as for Doxia Books, but thanks for maven-pdf-plugin.
        As for rtf output I have

        <format>
           <id>rtf</id>
        </format>
        

        in my pom.xml so I assume I already use doxia RTF module.
        Its output looks quite the same as PDF.

        Show
        Lazy Coder added a comment - Thanks for the response! It's really a pity as for Doxia Books, but thanks for maven-pdf-plugin. As for rtf output I have <format> <id> rtf </id> </format> in my pom.xml so I assume I already use doxia RTF module. Its output looks quite the same as PDF.

          People

          • Assignee:
            Unassigned
            Reporter:
            Lazy Coder
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: