unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 315c93029b31123bab77f82939802a47dce5554f 796 bytes (raw)
name: packages/patches/docbook2x-fix-synopsis.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
# Source: <https://sources.debian.org/patches/docbook2x/0.8.8-18/07_Fix-hyphens-in-commands-and-options-in-synopsis.patch/>

From 06944d2bf8aa761ec6c145c964e59c3b1f41d7a5 Mon Sep 17 00:00:00 2001
From: Samuel Thibault <sthibault@debian.org>
Date: Wed, 6 Sep 2023 21:48:59 +0200
Subject: man: Fix hyphens in commands and options in synopsis

diff --git a/xslt/man/synop.xsl b/xslt/man/synop.xsl
index 9713a1b..e535b75 100644
--- a/xslt/man/synop.xsl
+++ b/xslt/man/synop.xsl
@@ -107,9 +107,9 @@
     <xsl:call-template name="cmdsynopsis-gentext-sepchar" />
   </xsl:if>
 
-  <b>
+  <xsl:call-template name="inline-bold-monospace">
     <xsl:apply-templates mode="cmdsynopsis" />
-  </b>
+  </xsl:call-template>
 </xsl:template>
 
 <xsl:template match="replaceable" mode="cmdsynopsis">
-- 
2.34.1


debug log:

solving 315c93029b31123bab77f82939802a47dce5554f ...
found 315c93029b31123bab77f82939802a47dce5554f in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).