You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/10/27 13:05:09 UTC

[jira] Created: (MPPDF-24) Internal links failed

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPPDF-24

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPPDF-24
    Summary: Internal links failed
       Type: Bug

     Status: Open
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-pdf-plugin
   Versions:
             2.3

   Assignee: Arnaud HERITIER
   Reporter: Siveton Vincent

    Created: Wed, 27 Oct 2004 7:04 AM
    Updated: Wed, 27 Oct 2004 7:04 AM
Environment: Maven xdoc 1.9

Description:
Internal links (in blue with Acrobat) are not usefull.
If we click on it, nothing occurs.

This issue doesnt prevent the other functionnalities.

If this issue is too hard to repair, maybe just remove the internal links in the generated PDF...


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPPDF-24) Internal links failed

Posted by "Arnaud HERITIER (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPPDF-24?page=all ]

Arnaud HERITIER updated MPPDF-24:
---------------------------------

        Version:     (was: 2.3)
                 2.2
    Description: 
Internal links (in blue with Acrobat) are not usefull.
If we click on it, nothing occurs.

This issue doesnt prevent the other functionnalities.

If this issue is too hard to repair, maybe just remove the internal links in the generated PDF...

  was:
Internal links (in blue with Acrobat) are not usefull.
If we click on it, nothing occurs.

This issue doesnt prevent the other functionnalities.

If this issue is too hard to repair, maybe just remove the internal links in the generated PDF...


> Internal links failed
> ---------------------
>
>          Key: MPPDF-24
>          URL: http://jira.codehaus.org/browse/MPPDF-24
>      Project: maven-pdf-plugin
>         Type: Bug
>     Versions: 2.2
>  Environment: Maven xdoc 1.9
>     Reporter: Vincent Siveton
>     Assignee: Arnaud HERITIER
>     Priority: Minor
>  Attachments: fo-body.patch, project2fo.patch
>
>
> Internal links (in blue with Acrobat) are not usefull.
> If we click on it, nothing occurs.
> This issue doesnt prevent the other functionnalities.
> If this issue is too hard to repair, maybe just remove the internal links in the generated PDF...

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPPDF-24) Internal links failed

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPPDF-24?page=all ]

Lukas Theussl updated MPPDF-24:
-------------------------------

    Attachment: fo-body.patch
                project2fo.patch

Attached two patches for project2fo and fo-body that make internal links work. It might be considered a bit hacky and probably needs some more testing but it works fine for me and I am not going to spend more time on it so I make it available. Here's what I've done:

- so far internal links used the generate-id() function which does not work for relative links because the id is unique for the current xml node only. I have replaced that by an algorithm that constructs the id from the path of the current document and the href tag. As such, links should work in complete analogy to the xdoc plugin. In particular, id's are also generated for sub/section names (replacing spaces by underscores, again like xdoc).

- the patch for fo-body also contains a fix for MPPDF-13: the location of image sources is constructed relative to the location of the current document.

- the patch for projet2fo also contains a fix for MPPDF-36 with the solution I indicated there, ie, the footer is simply ignored. It might be included somehow in the future, but this at least avoids a complete failure of the pdf generation.

- a minor fix: in fo-body, the baseline-shift tag in the "sup" template (superscripts) was set to "sup", it should be "super". However, sub- and superscripts still don't work even though they are marked as implemented by the fop project (http://xml.apache.org/fop/compliance.html). This is probably a fop issue so I didn't want to open a JIRA issue for that.

Finally MPPDF-23 also seems to be fixed, even though this was the case already before applying my patches.

> Internal links failed
> ---------------------
>
>          Key: MPPDF-24
>          URL: http://jira.codehaus.org/browse/MPPDF-24
>      Project: maven-pdf-plugin
>         Type: Bug
>     Versions: 2.3
>  Environment: Maven xdoc 1.9
>     Reporter: Vincent Siveton
>     Assignee: Arnaud HERITIER
>     Priority: Minor
>  Attachments: fo-body.patch, project2fo.patch
>
>
> Internal links (in blue with Acrobat) are not usefull.
> If we click on it, nothing occurs.
> This issue doesnt prevent the other functionnalities.
> If this issue is too hard to repair, maybe just remove the internal links in the generated PDF...

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPPDF-24) Internal links failed

Posted by "Arnaud HERITIER (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPPDF-24?page=all ]
     
Arnaud HERITIER closed MPPDF-24:
--------------------------------

    Fix Version: 2.3
     Resolution: Fixed

patch applied. Thanks to Lukas Theussl.

> Internal links failed
> ---------------------
>
>          Key: MPPDF-24
>          URL: http://jira.codehaus.org/browse/MPPDF-24
>      Project: maven-pdf-plugin
>         Type: Bug
>     Versions: 2.2
>  Environment: Maven xdoc 1.9
>     Reporter: Vincent Siveton
>     Assignee: Arnaud HERITIER
>     Priority: Minor
>      Fix For: 2.3
>  Attachments: fo-body.patch, project2fo.patch
>
>
> Internal links (in blue with Acrobat) are not usefull.
> If we click on it, nothing occurs.
> This issue doesnt prevent the other functionnalities.
> If this issue is too hard to repair, maybe just remove the internal links in the generated PDF...

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPPDF-24) Internal links failed

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPPDF-24?page=comments#action_40835 ]
     
Lukas Theussl commented on MPPDF-24:
------------------------------------

I just checked myself with the maven docs because I had no problems with any of my projects. Indeed, for maven the pdf generation fails with a duplicate id. This is because the href="/reference/maven-jelly-tags/index.html" tag appears twice in navigation-pdf.xml. This is related to MPPDF-26 which has to be fixed on a more general level. For now, you will have to remove one of the two href's in navigation-pdf.

> Internal links failed
> ---------------------
>
>          Key: MPPDF-24
>          URL: http://jira.codehaus.org/browse/MPPDF-24
>      Project: maven-pdf-plugin
>         Type: Bug
>     Versions: 2.3
>  Environment: Maven xdoc 1.9
>     Reporter: Vincent Siveton
>     Assignee: Arnaud HERITIER
>     Priority: Minor
>  Attachments: fo-body.patch, project2fo.patch
>
>
> Internal links (in blue with Acrobat) are not usefull.
> If we click on it, nothing occurs.
> This issue doesnt prevent the other functionnalities.
> If this issue is too hard to repair, maybe just remove the internal links in the generated PDF...

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPPDF-24) Internal links failed

Posted by "Arnaud HERITIER (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPPDF-24?page=comments#action_40824 ]
     
Arnaud HERITIER commented on MPPDF-24:
--------------------------------------

Thanks a lot Lukas.
This is a very good patch.
I have actually applied it locally but I have a problem generating the maven's doc. 
I must fix a duplicated id error before to commit it.

> Internal links failed
> ---------------------
>
>          Key: MPPDF-24
>          URL: http://jira.codehaus.org/browse/MPPDF-24
>      Project: maven-pdf-plugin
>         Type: Bug
>     Versions: 2.3
>  Environment: Maven xdoc 1.9
>     Reporter: Vincent Siveton
>     Assignee: Arnaud HERITIER
>     Priority: Minor
>  Attachments: fo-body.patch, project2fo.patch
>
>
> Internal links (in blue with Acrobat) are not usefull.
> If we click on it, nothing occurs.
> This issue doesnt prevent the other functionnalities.
> If this issue is too hard to repair, maybe just remove the internal links in the generated PDF...

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org