From: SourceForge.net <no...@so...> - 2006-08-01 13:23:08
|
Bugs item #1524576, was opened at 2006-07-18 16:51 Message generated for change (Comment added) made by dleidert You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1524576&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XSL Group: output: manpages Status: Open Resolution: None Priority: 5 Submitted By: Sam Steingold (sds) Assigned to: Nobody/Anonymous (nobody) Summary: man: only one copyright element is processed Initial Comment: <refentry id="clisp"> <refentryinfo> ... <copyright><year>1992-2006</year><holder>Bruno Haible</holder></copyright> <copyright><year>1998-2006</year><holder>Sam Steingold</holder></copyright> </refentryinfo> only the first <copyright> element appears in the man page output ---------------------------------------------------------------------- Comment By: Daniel Leidert (dleidert) Date: 2006-08-01 15:23 Message: Logged In: YES user_id=1102637 This seems to be caused by the '[1]' location qualifier. But then it misses a newline after processing each copyright element. A possible patch: Index: manpages/info.xsl =================================================================== --- manpages/info.xsl (Revision 6119) +++ manpages/info.xsl (Arbeitskopie) @@ -475,12 +475,14 @@ <xsl:text>" </xsl:text> <!-- * the copyright mode="titlepage.mode" template is --> <!-- * imported from the HTML stylesheets --> - <xsl:apply-templates - select="(($info[//copyright])[last()]//copyright)[1]" - mode="titlepage.mode"/> - <xsl:text> </xsl:text> - <xsl:apply-templates - select="(($info[//legalnotice])[last()]//legalnotice)[1]"/> + <xsl:for-each select="(($info[//copyright])[last()]//copyright)"> + <xsl:apply-templates select="." mode="titlepage.mode"/> + <xsl:text> .br </xsl:text> + </xsl:for-each> + <xsl:for-each select="(($info[//legalnotice])[last()]//legalnotice)"> + <xsl:apply-templates select="." mode="titlepage.mode"/> + <xsl:text> .br </xsl:text> + </xsl:for-each> </xsl:when> <xsl:otherwise/> <!-- * do nothing, no copyright or legalnotice found --> </xsl:choose> Regards, Daniel ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1524576&group_id=21935 |