File: 0003-userinput-font.patch

package info (click to toggle)
docbook-to-man 1%3A2.0.0-49
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,824 kB
  • sloc: ansic: 5,843; makefile: 155; sh: 28
file content (25 lines) | stat: -rw-r--r-- 618 bytes parent folder | download | duplicates (3)
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
From: Philipp Benner <mail@philipp-benner.de>
Date: Fri, 12 May 2017 10:49:00 +0200
Subject: userinput-font

\fB' and `\fP' are not appropriate for the userinput environment.
Instead, `.ft' is used as a replacement.
---
 Transpec/docbook-to-man.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Transpec/docbook-to-man.ts b/Transpec/docbook-to-man.ts
index 1a3d70e..c466a8f 100644
--- a/Transpec/docbook-to-man.ts
+++ b/Transpec/docbook-to-man.ts
@@ -1930,8 +1930,8 @@ EndText:	\\fP
 -
 #
 GI:		USERINPUT
-StartText:	\\fB
-EndText:	\\fP
+StartText:	^.ft\sB^
+EndText:	^.ft
 -
 #
 GI:		VARNAME