From: SourceForge.net <no...@so...> - 2007-07-22 13:26:15
|
Patches item #1753170, was opened at 2007-07-13 05:33 Message generated for change (Comment added) made by gderosa You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373749&aid=1753170&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: print/FO/PDF >Status: Open Resolution: None Priority: 5 Private: No Submitted By: Guido De Rosa (gderosa) Assigned to: Nobody/Anonymous (nobody) Summary: ulink.show=1 and "mailto:" hypertext links Initial Comment: Hi, I'm contributing to the HR-XSL project and recently found a problem related to DocBook-XSL: http://sourceforge.net/tracker/?func=add&group_id=21935&atid=373749 So I submit this small patch: it applies to the latest SVN revision and its code is quite self-explanatory. Its purpose is to avoid this (ugly) FO/PDF formatting: na...@do... [mailto:na...@do...] when this XML code is found: <ulink url="mailto:na...@do...">na...@do...</ulink> So that, with ulink.show set to non-zero, printing of URL is suppressed not only when the text of the link is identical to the URL: http://docbook.sourceforge.net/release/xsl/current/doc/fo/ulink.show.html but also when they differ just by a "mailto:" string. ---------------------------------------------------------------------- >Comment By: Guido De Rosa (gderosa) Date: 2007-07-22 15:26 Message: Logged In: YES user_id=1320192 Originator: YES That means that a modification is needed in hr-xsl... Thanks for the suggestion! ---------------------------------------------------------------------- Comment By: Jirka Kosek (kosek) Date: 2007-07-22 10:57 Message: Logged In: YES user_id=189932 Originator: NO Thanks for the patch, but I'm curious why you are using mailto: with ulink. In DocBook you should use <email>yo...@em...</email> for marking-up email addresses. ---------------------------------------------------------------------- Comment By: Guido De Rosa (gderosa) Date: 2007-07-13 05:49 Message: Logged In: YES user_id=1320192 Originator: YES File Added: mailto.diff ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373749&aid=1753170&group_id=21935 |