guix/gnu/packages/patches/docbook-utils-documentation-edits.patch

103 lines
4.1 KiB
Diff
Raw Normal View History

# Source: <https://sources.debian.org/patches/docbook-utils/0.6.14-4/spellingtypo.patch/>
Description: Fix some typos in man pages
Author: Mathieu Malaterre <malat@debian.org>
Index: docbook-utils-0.6.14/doc/man/docbook2man-spec.pl.1
===================================================================
--- docbook-utils-0.6.14.orig/doc/man/docbook2man-spec.pl.1 2012-05-09 18:39:17.932819095 +0200
+++ docbook-utils-0.6.14/doc/man/docbook2man-spec.pl.1 2012-05-09 18:39:24.780818845 +0200
@@ -17,7 +17,7 @@
.SH "DESCRIPTION"
.PP
\fBdocbook2man\fR is a sgmlspl spec file that produced man
-pages (using the -man macros) from DocBook RefEntry markup.
+pages (using the \-man macros) from DocBook RefEntry markup.
.PP
The program reads ESIS produced by nsgmls (or other SGML parsers) from
standard input. Markup not found in RefEntry is discarded.
Index: docbook-utils-0.6.14/doc/man/frontend-spec.7
===================================================================
--- docbook-utils-0.6.14.orig/doc/man/frontend-spec.7 2012-05-09 18:41:45.172813778 +0200
+++ docbook-utils-0.6.14/doc/man/frontend-spec.7 2012-05-09 18:42:03.176813129 +0200
@@ -10,7 +10,7 @@
.SH "DESCRIPTION"
.PP
\fBjw\fR(1) calls frontends like
-\fIfrontends/docbook\fR to get the informations
+\fIfrontends/docbook\fR to get the information
specific to a given input format. The frontend knows which information
to return from the first command line parameter. It gets all necessary
data via environment variables ready to use.
Index: docbook-utils-0.6.14/doc/man/jw.1
===================================================================
--- docbook-utils-0.6.14.orig/doc/man/jw.1 2012-05-09 18:39:35.612818456 +0200
+++ docbook-utils-0.6.14/doc/man/jw.1 2012-05-09 18:40:51.736815708 +0200
@@ -142,7 +142,7 @@
The following options apply to the conversion script:
.TP
\fB -f \fIfrontend\fB | --frontend \fIfrontend\fB \fR
-Allows to specify another frontend than default \fIdocbook\fR\&.
+Allows one to specify another frontend than default \fIdocbook\fR\&.
The list of currently available frontends is:
.RS
.TP
@@ -156,13 +156,13 @@
.RE
.TP
\fB -b \fIbackend\fB | --backend \fIbackend\fB \fR
-Allows to specify another backend than default
+Allows one to specify another backend than default
\fIHTML\fR\&. The list of currently available
backends is:
.RS
.TP
\fB\fIdvi\fB\fR
-Converts to DVI (DeVice Independant
+Converts to DVI (DeVice Independent
files) by calling \fBJade\fR or
\fBOpenJade\fR\&.
.TP
@@ -210,7 +210,7 @@
.RE
.TP
\fB -c \fIfile\fB | --cat \fIfile\fB \fR
-Allows to use an extra SGML Open Catalog that will list
+Allows one to use an extra SGML Open Catalog that will list
other files like customization style sheets, adaptations to the
DocBook Document Type Definition, special character entities,
etc. This catalog is added to the list of catalogs determined
@@ -241,7 +241,7 @@
are specified on the command line.
.TP
\fB -d \fIfile\fB|default|none | --dsl \fIfile\fB|default|none \fR
-Allows to use a customized style sheet instead
+Allows one to use a customized style sheet instead
of the default one.
A "target" starting with a hash mark "#" can be appended
Index: docbook-utils-0.6.14/doc/man/sgmldiff.1
===================================================================
--- docbook-utils-0.6.14.orig/doc/man/sgmldiff.1 2012-05-09 18:41:13.316814927 +0200
+++ docbook-utils-0.6.14/doc/man/sgmldiff.1 2012-05-09 18:41:38.032814038 +0200
@@ -17,7 +17,7 @@
.SH "DESCRIPTION"
.PP
-This perl script allows to determine the structural differences
+This perl script allows one to determine the structural differences
between two SGML files. It compares the files, regardless of what
is in between the tags, to only focus on the markup. Its output
is similar to \fBdiff\fR(1)\&.
@@ -62,8 +62,8 @@
Lines 5 to 7 of the first file have been changed
into lines 8 to 10 of the second line.
In addition to those summaries, the lines of the first file are
-shown preceeded by '<' and the lines of the second file are
-shown preceeded by '>".
+shown preceded by '<' and the lines of the second file are
+shown preceded by '>".
.SH "OPTIONS"
.PP
Here is the list of actions that can be requested to