| |
---|
| | </xsl:when> |
---|
| | <xsl:otherwise> |
---|
| | <!-- |
---|
| | Sometimes the hyperlink content may be explicitly split across multiple lines, separated by <br> elements. This isn't a problem in (X)HTML, but it breaks (Xe)LaTeX, because you can't include a \\ inside most macros. The solution is to explicitly process the sub-elements, and wrap appropriate hyperref macros around them, /except/ for any embedded <br> elements. This does lead to some slightly |
---|
| | odd output when you embed markup in the hyperlink text. |
---|
| | odd output when you embed markup in the hyperlink text; in particular, spaces won't be included in |
---|
| | the hyperlink. |
---|
| | |
---|
| | We can't just call hyperlink-internal, because we still want to process the <br> elements. |
---|
| | --> |
---|
| | <xsl:for-each select="node()"> |
---|
| |
---|
|