[Bug 544537] Re: Invalid man links
** Changed in: yelp (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to yelp in Ubuntu. https://bugs.launchpad.net/bugs/544537 Title: Invalid man links To manage notifications about this bug go to: https://bugs.launchpad.net/yelp/+bug/544537/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 544537] Re: Invalid man links
** Changed in: yelp (Ubuntu) Status: New = Fix Committed ** Changed in: yelp (Ubuntu) Importance: Undecided = Low -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to yelp in Ubuntu. https://bugs.launchpad.net/bugs/544537 Title: Invalid man links -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 544537] Re: Invalid man links
Bug fixed in the lastest yelp development version - https://bugzilla.gnome.org/show_bug.cgi?id=638265 ** Bug watch added: GNOME Bug Tracker #638265 https://bugzilla.gnome.org/show_bug.cgi?id=638265 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to yelp in ubuntu. https://bugs.launchpad.net/bugs/544537 Title: Invalid man links -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 544537] Re: Invalid man links
** Also affects: yelp via https://bugzilla.gnome.org/show_bug.cgi?id=638265 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to yelp in ubuntu. https://bugs.launchpad.net/bugs/544537 Title: Invalid man links -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 544537] Re: Invalid man links
fabiengb thank you for working together on this and creating the upstream GNOME bug. I linked the upstream bug to this one via clicking Also affects Project then pasting the URL. Keep up the good work! Marking as New. ** Changed in: yelp (Ubuntu) Status: Incomplete = New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to yelp in ubuntu. https://bugs.launchpad.net/bugs/544537 Title: Invalid man links -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 544537] Re: Invalid man links
fabiengb, thank you for working on this bug and helping make Ubuntu better. The next step is to test in Maverick and if present, link upstream bug to this one found via a GNOME yelp search - https://bugzilla.gnome.org/buglist.cgi?query_format=specificorder=relevance+descbug_status=__open__product=Yelpcontent= or if not found create one via https://bugzilla.gnome.org/enter_bug.cgi and toggle this bug's Status to New. ** Changed in: yelp (Ubuntu) Status: Expired = Incomplete -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to yelp in ubuntu. https://bugs.launchpad.net/bugs/544537 Title: Invalid man links -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 544537] Re: Invalid man links
[Expired for yelp (Ubuntu) because there has been no activity for 60 days.] ** Changed in: yelp (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to yelp in ubuntu. https://bugs.launchpad.net/bugs/544537 Title: Invalid man links -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 544537] Re: Invalid man links
I have just checked. This is still present in Lucid. The fix provided enables to solve this issue. Thanks for your interest. -- Invalid man links https://bugs.launchpad.net/bugs/544537 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to yelp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 544537] Re: Invalid man links
Thank you for posting this bug. Does this issue occur in Lucid? ** Changed in: yelp (Ubuntu) Status: New = Incomplete -- Invalid man links https://bugs.launchpad.net/bugs/544537 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to yelp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 544537] Re: Invalid man links
** Description changed: Binary package hint: yelp OS : Ubuntu 9.10 Yelp : 2.28.0 Man page links do not work when there is no character afer the section number in the man file. For example, a man code like this : .Xr ssh 1 produces a Xml like this : Xrssh 1/Xr so, the XSL transformation fails and produce an invalid link as following : ssh() This bug appears when there are no space + another character after the section number in the man file. - I managed to correct it by modifying the man2html.xsl. + I managed to fix it by changing the man2html.xsl. File : man2html.xsl Line : 322 !-- Cross reference -- xsl:template match=Xr - xsl:variable name=manpage select=substring-before(string(.), ' ')/ - xsl:variable name=sectiontmp select=substring-before(substring-after(string(.), ' '), ' ')/ - xsl:variable name=extra select=substring-after(substring-after(string(.), ' '), ' ')/ - xsl:choose - xsl:when test=$sectiontmp='' - xsl:variable name=section select=substring-after(string(.), ' ')/ - a - xsl:attribute name=href - xsl:textman:/xsl:text - xsl:value-of select=$manpage/ - xsl:text(/xsl:text - xsl:value-of select=$section/ - xsl:text)/xsl:text - /xsl:attribute - xsl:value-of select=$manpage/ - xsl:text(/xsl:text - xsl:value-of select=$section/ - xsl:text)/xsl:text - /a - /xsl:when - xsl:when test=$sectiontmp!='' - xsl:variable name=section select=$sectiontmp/ - a - xsl:attribute name=href - xsl:textman:/xsl:text - xsl:value-of select=$manpage/ - xsl:text(/xsl:text - xsl:value-of select=$section/ - xsl:text)/xsl:text - /xsl:attribute - xsl:value-of select=$manpage/ - xsl:text(/xsl:text - xsl:value-of select=$section/ - xsl:text)/xsl:text - /a - /xsl:when - /xsl:choose - xsl:value-of select=$extra/ + xsl:variable name=manpage select=substring-before(string(.), ' ')/ + xsl:variable name=sectiontmp select=substring-before(substring-after(string(.), ' '), ' ')/ + xsl:variable name=extra select=substring-after(substring-after(string(.), ' '), ' ')/ + xsl:choose + xsl:when test=$sectiontmp='' + xsl:variable name=section select=substring-after(string(.), ' ')/ + a + xsl:attribute name=href + xsl:textman:/xsl:text + xsl:value-of select=$manpage/ + xsl:text(/xsl:text + xsl:value-of select=$section/ + xsl:text)/xsl:text + /xsl:attribute + xsl:value-of select=$manpage/ + xsl:text(/xsl:text + xsl:value-of select=$section/ + xsl:text)/xsl:text + /a + /xsl:when + xsl:when test=$sectiontmp!='' + xsl:variable name=section select=$sectiontmp/ + a + xsl:attribute name=href + xsl:textman:/xsl:text + xsl:value-of select=$manpage/ + xsl:text(/xsl:text + xsl:value-of select=$section/ + xsl:text)/xsl:text + /xsl:attribute + xsl:value-of select=$manpage/ + xsl:text(/xsl:text + xsl:value-of select=$section/ + xsl:text)/xsl:text + /a + /xsl:when + /xsl:choose + xsl:value-of select=$extra/ /xsl:template - I did not find another way of duplicate the code. + I did not find another way that duplicate the code. -- Invalid man links https://bugs.launchpad.net/bugs/544537 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to yelp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs