Package: pnm2ppa / 1.13-9

0003-Fix-various-errors-in-the-pnm2ppa-manpage.patch Patch series | download
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
From 47343fcdf45a1cce1f18f3d87509d23990bbec8b Mon Sep 17 00:00:00 2001
From: Didier Raboud <odyx@debian.org>
Date: Sat, 10 Feb 2018 16:45:13 +0100
Subject: Fix various errors in the pnm2ppa manpage.

 Amongst those: hyphen-used-as-minus from lintian and the lack of section identifier.
Last-Update: 2011-05-26
---
 docs/en/pnm2ppa.1 | 98 +++++++++++++++++++++++++++----------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

diff --git a/docs/en/pnm2ppa.1 b/docs/en/pnm2ppa.1
index 35fd7f1..1f7ded1 100644
--- a/docs/en/pnm2ppa.1
+++ b/docs/en/pnm2ppa.1
@@ -1,8 +1,8 @@
-.TH pnm2ppa "23 Jun 2002"
+.TH pnm2ppa 1 "23 Jun 2002"
 .SH NAME
 pnm2ppa - convert portable anymap (PNM) images to HP's PPA printer format.
 .SH SYNOPSIS
-pnm2ppa [options] [ -i \fIinfile\fR ] [ -o \fIoutfile\fR ]
+pnm2ppa [options] [ \-i \fIinfile\fR ] [ \-o \fIoutfile\fR ]
 
 .SH DESCRIPTION
 Reads portable anymap (PNM) format as input. Binary PNM formats pnmraw = 
@@ -16,111 +16,111 @@ Printing Performance Architecture (PPA) printers (HP DeskJet 710C, 712C, 720C,
 GhostScript output devices "pbmraw", "pgmraw" or "ppmraw",  or by "pnmraw", 
 which will choose one of these  formats as appropriate for the document.)
 \fBpnm2ppa\fP assumes the input resolution is 600dpi (or 300dpi if 
-the command-line option \fB--dpi300\fP is used): input at higher/lower 
+the command-line option \fB\-\-dpi300\fP is used): input at higher/lower 
 resolutions will result in a correspondingly larger/smaller printed image,
 provided it is within the printer's allowed size range.
 .PP
 
 .SH OPTIONS
-.\"{{{	-b bottommargin
+.\"{{{	\-b bottommargin
 .IP "\fB\-b \fIbottommargin\fR\fP"
-Sets the bottom margin \fIbottommargin\fR in units of 1/600 inches (e.g., \fB -b 150\fP corresponds to 0.25").
+Sets the bottom margin \fIbottommargin\fR in units of 1/600 inches (e.g., \fB \-b 150\fP corresponds to 0.25").
 .\"}}}
 
-.\"{{{	-B blackness
+.\"{{{	\-B blackness
 .IP "\fB\-B \fIblackness\fR\fP"
 Sets the black ink density \fIblackness\fR in drops per pixel (0,1,2,3,4).
 .\"}}}
 
-.\"{{{	--bi
-.IP "\fB\--bi\fP"
+.\"{{{	\-\-bi
+.IP "\fB\-\-bi\fP"
 Force bidirectional print sweeps.
 .\"}}}
 
 .\"{{{	--bw
-.IP "\fB\--bw\fP"
+.IP "\fB\-\-bw\fP"
 Disables the color cartridge; will print in grey scale using only the black cartridge.
 .\"}}}
 
-.\"{{{	-d
+.\"{{{	\-d
 .IP "\fB\-d\fP"
 Displays the current configuration.
 .\"}}}
 
-.\"{{{	--dpi300
-.IP "\fB\--dpi300\fP"
+.\"{{{	\-\-dpi300
+.IP "\fB\-\-dpi300\fP"
 Treat input resolution as 300dpi instead of 600dpi.
 .\"}}}
 
-.\"{{{	--eco
-.IP "\fB\--eco\fP"
+.\"{{{	\-\-eco
+.IP "\fB\-\-eco\fP"
 Econofast mode: lower print quality that is faster and saves ink.
 .\"}}}
 
-.\"{{{	-f configFile
+.\"{{{	\-f configFile
 .IP "\fB\-f \fIconfigFile\fR\fP"
 Re-reads configuration from \fIconfigFile\fR (after 
 initially reading it from /etc/pnm2ppa.conf). 
 .\"}}}
 
-.\"{{{	-F GammaFile
+.\"{{{	\-F GammaFile
 .IP "\fB\-F \fIGammaFile\fR\fP"
 Overrides reading the color-correction table (Gamma curve) from the default 
 file /etc/pnm2ppa.gamma, and uses \fIGammaFile\fR instead.
 .\"}}}
 
-.\"{{{	--fd
-.IP "\fB\--fd\fP"
-Enable fast ordered dithering instead of using the slower, but beautiful, Floyd-Steinberg dithering. (Has no effect in --bw mode.)
+.\"{{{	\-\-fd
+.IP "\fB\-\-fd\fP"
+Enable fast ordered dithering instead of using the slower, but beautiful, Floyd-Steinberg dithering. (Has no effect in \-\-bw mode.)
 .\"}}}
 
-.\"{{{	-g
+.\"{{{	\-g
 .IP "\fB\-g\fP"
 Prints a page of color intensity samples (for comparison with gamma.ppm
 data produced by calibrate_ppa).
 This is part of a \fBcolor-correction\fP procedure; see COLOR.txt for more details.
 .\"}}}
 
-.\"{{{	-h, --help
-.IP "\fB\-h, --help\fP"
+.\"{{{	\-h, \-\-help
+.IP "\fB\-h, \-\-help\fP"
 Displays program usage.
 .\"}}}
 
-.\"{{{	-i infile
+.\"{{{	\-i infile
 .IP "\fB\-i \fIinfile\fR\fP"
-Input file \fIinfile\fR is either a path to a PPM file, or '-' to indicate stdin  (defaults to stdin).
+Input file \fIinfile\fR is either a path to a PPM file, or '\-' to indicate stdin  (defaults to stdin).
 .\"}}}
 
-.\"{{{	-l leftmargin
+.\"{{{	\-l leftmargin
 .IP "\fB\-l \fIleftmargin\fR\fP"
-Sets the left margin \fIleftmargin\fR in units of 1/600 inches (e.g., \fB-l 150\fP corresponds to 0.25").
+Sets the left margin \fIleftmargin\fR in units of 1/600 inches (e.g., \fB\-l 150\fP corresponds to 0.25").
 .\"}}}
 
-.\"{{{	--noGamma
-.IP "\fB\--noGamma\fP"
+.\"{{{	\-\-noGamma
+.IP "\fB\-\-noGamma\fP"
 Switches off any color-correction.
 .\"}}}
 
-.\"{{{	-o outfile | - 
-.IP "\fB\-o \fIoutfile\fR | - \fP"
-Output file \fIoutfile\fR is either a path to a file or device, or '-' to indicate stdout (defaults to stdout).
+.\"{{{	\-o outfile | \- 
+.IP "\fB\-o \fIoutfile\fR | \- \fP"
+Output file \fIoutfile\fR is either a path to a file or device, or '\-' to indicate stdout (defaults to stdout).
 .\"}}}
 
-.\"{{{	-p
+.\"{{{	\-p
 .IP "\fB\-p\fP"
 Disables the black ink cartridge; i.e.,  print  using only the color ink cartridge, even for printing "black".  This might be useful for printing high-quality
 color  images.
 .\"}}}
 
-.\"{{{	-r rightmargin
+.\"{{{	\-r rightmargin
 .IP "\fB\-r \fIrightmargin\fR\fP"
-Sets the right margin \fIrightmargin\fR in units of 1/600 inches (e.g., \fB-r 150\fP corresponds to 0.25").
+Sets the right margin \fIrightmargin\fR in units of 1/600 inches (e.g., \fB\-r 150\fP corresponds to 0.25").
 .\"}}}
 
-.\"{{{	-s  papersize
+.\"{{{	\-s  papersize
 .IP "\fB\-s \fIpapersize\fR\fP"
 Sets the default paper size (now used only for color-correction output 
-produced by the \fB-g\fP option). 
+produced by the \fB\-g\fP option). 
 In normal use, pnm2ppa now instead reads the paper dimensions from 
 pnm input file headers, and 
 checks that it is a valid papersize for the given printer model. 
@@ -130,40 +130,40 @@ Possible values for \fIpapersize\fR are \fBa4\fP (A4),
 The default is US Letter.
 .\"}}}
 
-.\"{{{	-t topmargin
+.\"{{{	\-t topmargin
 .IP "\fB\-t \fItopmargin\fR\fP"
-Sets the top margin \fItopmargin\fR in units of 1/600 inches (ie \fB-t 150\fP corresponds to 0.25").
+Sets the top margin \fItopmargin\fR in units of 1/600 inches (ie \fB\-t 150\fP corresponds to 0.25").
 .\"}}}
 
-.\"{{{	--uni
-.IP "\fB\--uni\fP"
+.\"{{{	\-\-uni
+.IP "\fB\-\-uni\fP"
 Force unidirectional (left to right) print sweeps.  Useful if
 "shearing" is a problem for high quality color images.
 .\"}}}
 
-.\"{{{	-v  printertype
+.\"{{{	\-v  printertype
 .IP "\fB\-v \fIprintertype\fP"
 Selects the printer model.  Possible values of \fIprintertype\fR are:
 \fB710\fP, \fB712\fP, \fB720\fP, \fB722\fP, \fB820\fP and \fB1000\fP.
 The default is the HP DeskJet 7X0 Series (710, 712, 720, 722).
 .\"}}}
 
-.\"{{{	--verbose
-.IP "\fB\--verbose\fP"
+.\"{{{	\-\-verbose
+.IP "\fB\-\-verbose\fP"
 Displays the program's System Log messages on the standard output, as well.
 .\"}}}
 
-.\"{{{	--version
-.IP "\fB\--version\fP"
+.\"{{{	\-\-version
+.IP "\fB\-\-version\fP"
 Displays the program's version information.
 .\"}}}
 
-.\"{{{	-x xoffset
+.\"{{{	\-x xoffset
 .IP "\fB\-x \fIxoffset\fR\fP"
 Sets the x-offset \fIxoffset\fR from the left of the page. Units are 1/600 inches.
 .\"}}}
 
-.\"{{{	-y yoffset
+.\"{{{	\-y yoffset
 .IP "\fB\-y \fIyoffset\fR\fP"
 Sets the y-offset \fIyoffset\fR from the top of the page. Units are 1/600 inches.
 .\"}}}
@@ -172,7 +172,7 @@ Sets the y-offset \fIyoffset\fR from the top of the page. Units are 1/600 inches
 .SH NOTES
 The default configuration file \fI/etc/pnm2ppa.conf\fR  is read in first. Command line arguments then modify the resulting definitions.
 .PP
-The \fB-v\fP option resets all definitions (margins, offsets, etc.)  back to
+The \fB\-v\fP option resets all definitions (margins, offsets, etc.)  back to
 the inbuilt defaults for that printer and should be used before subsequent
 \fB-b\fP, \fB-l\fP, \fB-r\fP, \fB-t\fP, \fB-x\fP and \fB-y\fP arguments.
 .SH "SEE ALSO"
@@ -212,5 +212,5 @@ http://sourceforge.net/projects/pnm2ppa.
 .SH BUGS
 Faint horizontal lines marking boundaries between print sweeps may be visible.
 You may get better results when printing images, with the options:
- \fB -p --uni \fP (this may no longer apply since recent code improvements).
+ \fB \-p \-\-uni \fP (this may no longer apply since recent code improvements).