Debian Codegraph @

debian/patches/escape-minuses-on-manpage

raw
1 Description: Escaping minus signs on man page
2 Author: Christoph Feenders <[email protected]>
3 Last-update: 2022-06-05
4
5 Escaping hypthons "-" --> "\-" on manual page to explicitly mark them as minus
6 signs. Cures lintian tag "hyphen-used-as-minus-sign".
7
8 --- a/ebook2cw.1
9 +++ b/ebook2cw.1
10 @@ -12,105 +12,105 @@
11 A number of CW and audio parameters can be changed from their default values, by
12 command line switches or a config file (see below). These are (default values in brackets):
13
14 -.B -w wpm
15 -- CW speed in words per minute [25]
16 +.B \-w wpm
17 +\- CW speed in words per minute [25]
18
19 -.B -e wpm
20 -- Effective CW speed. If set, the spaces are sent at this speed instead of the
21 -character speed set by -w ("Farnsworth").
22 +.B \-e wpm
23 +\- Effective CW speed. If set, the spaces are sent at this speed instead of the
24 +character speed set by \-w ("Farnsworth").
25
26 -.B -W x
27 -- Extra Word spacing. Similar to -e, but only affects the inter-word spacing,
28 -not the inter-character spacing.
29 +.B \-W x
30 +\- Extra Word spacing. Similar to \-e, but only affects the inter\-word spacing,
31 +not the inter\-character spacing.
32
33 -.B -f freq
34 -- audio frequency in Hz [600]
35 +.B \-f freq
36 +\- audio frequency in Hz [600]
37
38 -.B -T SINE|0|SAWTOOTH|1|SQUARE|2
39 -- set waveform to sine, sawtooth, squarewave. [sine]
40 +.B \-T SINE|0|SAWTOOTH|1|SQUARE|2
41 +\- set waveform to sine, sawtooth, squarewave. [sine]
42
43 -.B -Q minutes
44 -- Increase CW speed (QRQ) by 1 WpM in intervals of `minutes'. Speed will be
45 +.B \-Q minutes
46 +\- Increase CW speed (QRQ) by 1 WpM in intervals of `minutes'. Speed will be
47 reset to the initial value at the start of each chapter. [0]
48
49 -.B -n
50 -- Disables resetting the speed when using the -Q option.
51 +.B \-n
52 +\- Disables resetting the speed when using the \-Q option.
53
54 -.B -p
55 -- Disables the paragraph separator (<BT>)
56 +.B \-p
57 +\- Disables the paragraph separator (<BT>)
58
59 -.B -R risetime
60 -- risetime, in samples [50]
61 +.B \-R risetime
62 +\- risetime, in samples [50]
63
64 -.B -F falltime
65 -- falltime, samples [50]
66 +.B \-F falltime
67 +\- falltime, samples [50]
68
69 -.B -O
70 -- Use OGG/Vorbis encoder instead of MP3 if compiled with OGG support
71 +.B \-O
72 +\- Use OGG/Vorbis encoder instead of MP3 if compiled with OGG support
73
74 -.B -X
75 -- Do not encode, do not generate output files
76 +.B \-X
77 +\- Do not encode, do not generate output files
78
79 -.B -s samplerate
80 -- samplerate for the OGG/MP3 file [11025]
81 +.B \-s samplerate
82 +\- samplerate for the OGG/MP3 file [11025]
83
84 -.B -b bitrate
85 -- MP3 bitrate, kbps [16]
86 +.B \-b bitrate
87 +\- MP3 bitrate, kbps [16]
88
89 -.B -q quality
90 -- MP3 quality, 1 (best) to 9 (worst). CW still sounds very good with the worst quality, encoding time is greatly reduced. [5]
91 +.B \-q quality
92 +\- MP3 quality, 1 (best) to 9 (worst). CW still sounds very good with the worst quality, encoding time is greatly reduced. [5]
93
94 -.B -c chapter separator
95 -- Split chapters at this string [CHAPTER]. If empty or starts with a dash,
96 +.B \-c chapter separator
97 +\- Split chapters at this string [CHAPTER]. If empty or starts with a dash,
98 chapters will not be split and the output files will not be numbered.
99
100 -.B -d duration
101 -- Splits output files after "duration" seconds; finishes the current sentence.
102 +.B \-d duration
103 +\- Splits output files after "duration" seconds; finishes the current sentence.
104
105 -.B -l wordlimit
106 -- Splits output files after "wordlimit" words; finished the current sentence.
107 +.B \-l wordlimit
108 +\- Splits output files after "wordlimit" words; finished the current sentence.
109
110 -.B -o outfile-name
111 -- Output filename (chapter number and .mp3/.ogg will be appended) [Chapter]
112 +.B \-o outfile-name
113 +\- Output filename (chapter number and .mp3/.ogg will be appended) [Chapter]
114
115 -.B -a author
116 -- Author for the ID3 tag. Use quotes for strings with spaces (e.g. "JW Goethe")
117 +.B \-a author
118 +\- Author for the ID3 tag. Use quotes for strings with spaces (e.g. "JW Goethe")
119
120 -.B -t title
121 -- Title for the ID3 tag. Use quotes for strings with spaces (e.g. "Faust II")
122 +.B \-t title
123 +\- Title for the ID3 tag. Use quotes for strings with spaces (e.g. "Faust II")
124
125 -.B -k comment
126 -- Comment for the ID3 tag. Use quotes for strings with spaces.
127 +.B \-k comment
128 +\- Comment for the ID3 tag. Use quotes for strings with spaces.
129
130 -.B -y year
131 -- Year for the ID3 tag.
132 +.B \-y year
133 +\- Year for the ID3 tag.
134
135 -.B -u
136 -- Switches input encoding format to UTF-8. Currently supported alphabets
137 -include Latin, Greek, Hebrew, Arabic and Cyrillic. Default is ISO 8859-1.
138 +.B \-u
139 +\- Switches input encoding format to UTF\-8. Currently supported alphabets
140 +include Latin, Greek, Hebrew, Arabic and Cyrillic. Default is ISO 8859\-1.
141
142 -.B -E file
143 -- Loads configuration from `file`.
144 +.B \-E file
145 +\- Loads configuration from `file`.
146
147 -.B -g file
148 -- Guesses the encoding of `file` (ISO 8859-1 / ASCII or UTF-8).
149 +.B \-g file
150 +\- Guesses the encoding of `file` (ISO 8859\-1 / ASCII or UTF\-8).
151
152 -.B -S [ISO|UTF]
153 -- Shows a table of all available morse symbols for the ISO 8859-1 and UTF-8
154 +.B \-S [ISO|UTF]
155 +\- Shows a table of all available morse symbols for the ISO 8859\-1 and UTF\-8
156 character sets. Output in HTML format.
157
158 -.B -N snr
159 -- When this option is used, a noise background is added to the file and the CW
160 +.B \-N snr
161 +\- When this option is used, a noise background is added to the file and the CW
162 signal is scaled down to achieve a SNR (Signal to Noise ratio) of "snr" dB.
163 -Possible range of SNR: -10db to 10dB. Make sure to enclose the value in
164 -quotation marks if it's negative (i.e. -N "-3").
165 +Possible range of SNR: \-10db to 10dB. Make sure to enclose the value in
166 +quotation marks if it's negative (i.e. \-N "\-3").
167
168 -.B -B bandwidth in Hz
169 -- Sets the filter bandwidth if the -N / SNR option is used. Available filters
170 +.B \-B bandwidth in Hz
171 +\- Sets the filter bandwidth if the \-N / SNR option is used. Available filters
172 are 100Hz, 500Hz, 1kHz and 2.1kHz.
173
174 -.B -C frequency in Hz
175 -- Sets the center frequency of the filter if the -N / SNR option is used. This
176 +.B \-C frequency in Hz
177 +\- Sets the center frequency of the filter if the \-N / SNR option is used. This
178 should be set to the frequency of the Morse signal; currently implemented
179 center frequencies: 800Hz
180
181 @@ -133,8 +133,8 @@
182 can be changed by command line parameters can be set. Any settings made in the
183 config file can be overridden by command line arguments.
184
185 -Additionally, two `map` files can be set in the config file, for ISO8859-1 and
186 -UTF-8. You can map characters in those files to a string, which may be useful
187 +Additionally, two `map` files can be set in the config file, for ISO8859\-1 and
188 +UTF\-8. You can map characters in those files to a string, which may be useful
189 to replace characters like the exclamation mark (!) to a period (.), which is
190 more common in CW.
191