You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lazy Coder (JIRA)" <ji...@codehaus.org> on 2011/01/17 17:13:57 UTC

[jira] Created: (DOXIA-419) totally no rich formatting in generated PDFs/RTFs

totally no rich formatting in generated PDFs/RTFs
-------------------------------------------------

                 Key: DOXIA-419
                 URL: http://jira.codehaus.org/browse/DOXIA-419
             Project: Maven Doxia
          Issue Type: Bug
          Components: Book
    Affects Versions: 1.1.3
            Reporter: Lazy Coder


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
{code:xml}
<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>
{code}
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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DOXIA-419) totally no rich formatting in generated PDFs/RTFs

Posted by "Lazy Coder (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251882#action_251882 ] 

Lazy Coder commented on DOXIA-419:
----------------------------------

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 
{code:xml}
<format>
   <id>rtf</id>
</format>
{code}
in my pom.xml so I assume I already use doxia RTF module.
Its output looks quite the same as PDF.

> totally no rich formatting in generated PDFs/RTFs
> -------------------------------------------------
>
>                 Key: DOXIA-419
>                 URL: http://jira.codehaus.org/browse/DOXIA-419
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Book
>    Affects Versions: 1.1.3
>            Reporter: Lazy Coder
>         Attachments: ugly_pdf_in_doxia.zip
>
>
> 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
> {code:xml}
> <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>
> {code}
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (DOXIATOOLS-19) totally no rich formatting in generated PDFs/RTFs

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/DOXIATOOLS-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg moved DOXIA-419 to DOXIATOOLS-19:
-------------------------------------------------

          Component/s:     (was: Book)
                       Book
    Affects Version/s:     (was: 1.1.3)
                  Key: DOXIATOOLS-19  (was: DOXIA-419)
              Project: Maven Doxia Tools  (was: Maven Doxia)
    
> totally no rich formatting in generated PDFs/RTFs
> -------------------------------------------------
>
>                 Key: DOXIATOOLS-19
>                 URL: https://jira.codehaus.org/browse/DOXIATOOLS-19
>             Project: Maven Doxia Tools
>          Issue Type: Bug
>          Components: Book
>            Reporter: Lazy Coder
>         Attachments: ugly_pdf_in_doxia.zip
>
>
> 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
> {code:xml}
> <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>
> {code}
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (DOXIA-419) totally no rich formatting in generated PDFs/RTFs

Posted by "Lazy Coder (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIA-419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lazy Coder updated DOXIA-419:
-----------------------------

    Attachment: ugly_pdf_in_doxia.zip

> totally no rich formatting in generated PDFs/RTFs
> -------------------------------------------------
>
>                 Key: DOXIA-419
>                 URL: http://jira.codehaus.org/browse/DOXIA-419
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Book
>    Affects Versions: 1.1.3
>            Reporter: Lazy Coder
>         Attachments: ugly_pdf_in_doxia.zip
>
>
> 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
> {code:xml}
> <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>
> {code}
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DOXIA-419) totally no rich formatting in generated PDFs/RTFs

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251879#action_251879 ] 

Lukas Theussl commented on DOXIA-419:
-------------------------------------

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

> totally no rich formatting in generated PDFs/RTFs
> -------------------------------------------------
>
>                 Key: DOXIA-419
>                 URL: http://jira.codehaus.org/browse/DOXIA-419
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Book
>    Affects Versions: 1.1.3
>            Reporter: Lazy Coder
>         Attachments: ugly_pdf_in_doxia.zip
>
>
> 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
> {code:xml}
> <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>
> {code}
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira