git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 4/6] manpage-bold-literal.xsl: stop using git.docbook.backslash

From
MÅMartin Ågren <martin.agren@gmail.com>
Date
Mar 29, 2020, 13:18 UTC
Message-ID
<28263e58b91706b34c651b5ab1475f1496a5c2cf.1585486103.git.martin.agren@gmail.com>
In-Reply-To
<cover.1585486103.git.martin.agren@gmail.com>

We used to assign git.docbook.backslash one of two different values -- one "normal" and one for working around a problem with docbook-xsl 1.72. After the previous commit, we don't support that version anymore and always use the "normal" value, a literal backslash.

Just explicitly use a backslash instead of using git.docbook.backslash. The next commit will drop the definition of git.docbook.backslash entirely.

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
---
 Documentation/manpage-bold-literal.xsl | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Documentation/manpage-bold-literal.xsl b/Documentation/manpage-bold-literal.xsl
index 94d6c1b545..e13db85693 100644
--- a/Documentation/manpage-bold-literal.xsl
+++ b/Documentation/manpage-bold-literal.xsl
@@ -8,11 +8,9 @@
      this makes literal text easier to distinguish in manpages
      viewed on a tty -->
 <xsl:template match="literal|d:literal">
-	<xsl:value-of select="$git.docbook.backslash"/>
-	<xsl:text>fB</xsl:text>
+	<xsl:text>\fB</xsl:text>
 	<xsl:apply-templates/>
-	<xsl:value-of select="$git.docbook.backslash"/>
-	<xsl:text>fR</xsl:text>
+	<xsl:text>\fR</xsl:text>
 </xsl:template>
 
 </xsl:stylesheet>
-- 
2.26.0
Previous: Martin ÅgrenNext: Martin Ågren
Message 5 of 16 in “Doc: drop support for docbook-xsl before 1.74”
  1. 0/6 Doc: drop support for docbook-xsl before 1.74Martin Ågren, Mar 29, 2020
  2. 1/6 Doc: drop support for docbook-xsl before 1.71.1Martin Ågren, Mar 29, 2020
  3. 2/6 Doc: drop support for docbook-xsl before 1.72.0Martin Ågren, Mar 29, 2020
  4. 3/6 Doc: drop support for docbook-xsl before 1.73.0Martin Ågren, Mar 29, 2020
  5. 4/6 manpage-bold-literal.xsl: stop using git.docbook.backslashMartin Ågren, Mar 29, 2020
  6. 5/6 manpage-normal.xsl: fold in manpage-base.xslMartin Ågren, Mar 29, 2020
  7. 6/6 INSTALL: drop support for docbook-xsl before 1.74Martin Ågren, Mar 29, 2020
  8. Jeff KingMar 30, 2020
  9. Junio C HamanoMar 29, 2020
  10. Jeff KingMar 30, 2020
  11. Martin ÅgrenMar 31, 2020
  12. Jeff KingApr 1, 2020
  13. Junio C HamanoApr 1, 2020
  14. brian m. carlsonApr 2, 2020
  15. Junio C HamanoApr 2, 2020
  16. brian m. carlsonMar 30, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.