Thread (3 messages) 3 messages, 2 authors, 2016-06-15
DORMANTno replies

[PATCH] Fixed man entities.

From: Alexey I. Froloff <hidden>
Date: 2016-06-15 22:46:42
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

It has to be just "\fR", "\fB", ".sp" and ".br", not weird unicode
stuff.

Signed-off-by: Alexey I. Froloff <redacted>
---
 Documentation/manpage-1.72.xsl |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/manpage-1.72.xsl b/Documentation/manpage-1.72.xsl
index 4065a3a..2f4b6cb 100644
--- a/Documentation/manpage-1.72.xsl
+++ b/Documentation/manpage-1.72.xsl
@@ -5,17 +5,17 @@
 <xsl:param name="refentry.meta.get.quietly" select="1"/>
 
 <xsl:template match="co">
-	<xsl:value-of select="concat('&#x2593;fB(',substring-after(@id,'-'),')&#x2593;fR')"/>
+	<xsl:value-of select="concat('\\fB(',substring-after(@id,'-'),')\\fR')"/>
 </xsl:template>
 <xsl:template match="calloutlist">
-	<xsl:text>&#x2302;sp&#10;</xsl:text>
+	<xsl:text>.sp&#10;</xsl:text>
 	<xsl:apply-templates/>
 	<xsl:text>&#10;</xsl:text>
 </xsl:template>
 <xsl:template match="callout">
-	<xsl:value-of select="concat('&#x2593;fB',substring-after(@arearefs,'-'),'. &#x2593;fR')"/>
+	<xsl:value-of select="concat('\\fB',substring-after(@arearefs,'-'),'. \\fR')"/>
 	<xsl:apply-templates/>
-	<xsl:text>&#x2302;br&#10;</xsl:text>
+	<xsl:text>.br&#10;</xsl:text>
 </xsl:template>
 
 </xsl:stylesheet>
-- 
1.6.2.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help