summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2017-05-30 19:56:24 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2017-05-30 19:56:24 +0000
commit714fa12a7be85d81c7ac22b1cf15ae5b4a34777d (patch)
tree64db6f9f7d376c696a02f37e1cd58b6be03e3d0b
parent6677c45fc8fe2d855051a302c0d676d24ab43e26 (diff)
downloaddocutils-0.10.tar.gz
Spelling fixesdocutils-0.10
git-svn-id: http://svn.code.sf.net/p/docutils/code/tags/docutils-0.10@8093 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
-rw-r--r--docs/dev/rst/alternatives.txt10
-rw-r--r--docs/howto/rst-roles.txt2
-rw-r--r--docs/user/docutils-05-compat.sty.txt10
-rw-r--r--docs/user/rst/quickref.html4
-rw-r--r--docutils/statemachine.py2
-rw-r--r--docutils/writers/latex2e/docutils-05-compat.sty10
-rwxr-xr-xtest/test_parsers/test_rst/test_directives/test_unicode.py4
7 files changed, 21 insertions, 21 deletions
diff --git a/docs/dev/rst/alternatives.txt b/docs/dev/rst/alternatives.txt
index 2b1ca7220..ee0538fc1 100644
--- a/docs/dev/rst/alternatives.txt
+++ b/docs/dev/rst/alternatives.txt
@@ -513,7 +513,7 @@ used square brackets for phrase-links. I changed my mind because:
etc. names) into hyperlinks is a useful feature. PyDoc recognizes
identifiers heuristically, but it doesn't take much imagination to
come up with counter-examples where PyDoc's heuristics would result
- in embarassing failure. I wanted to do it deterministically, and
+ in embarrassing failure. I wanted to do it deterministically, and
that called for syntax. I called this construct "interpreted
text".
@@ -996,7 +996,7 @@ A new type of "inline external hyperlink" has been proposed.
(reference/target pairs must be proximate [refA trgA refB trgB],
not interleaved [refA refB trgA trgB] or nested [refA refB trgB
trgA]). This variation is too problematic; references and inline
- external targets will have to be kept imediately adjacent (see (3)
+ external targets will have to be kept immediately adjacent (see (3)
below).
The ``"reference__ __<target>"`` syntax is actually for "anonymous
@@ -1086,7 +1086,7 @@ maintainable web pages. The arguments go something like this:
To which I said, "So use anonymous hyperlinks."
-- Anonymous hyperlinks are difficult to maintain becuase the
+- Anonymous hyperlinks are difficult to maintain because the
references and targets have to be kept in sync.
"So keep the targets close to the references, grouped after each
@@ -2103,7 +2103,7 @@ From a reply by Tony Ibbs on 2002-03-01:
- and thus both easier to skip, and also (paradoxically) easier to
pick out so that I could follow them.
- Thus, for the moment (and as always susceptable to argument), I'd
+ Thus, for the moment (and as always susceptible to argument), I'd
say -1 on the new form of footnote reference (i.e., I much prefer
the existing ``[1]_`` over the proposed ``1_``), and ambivalent
over the proposed target change.
@@ -2339,7 +2339,7 @@ __ http://thread.gmane.org/gmane.text.docutils.devel/1386
7. "I'd prefer to see double-dot-space / command / double-colon as the
standard Docutils markup-marker. It's unusual enough to avoid
- being accidently used. Everything that starts with a double-dot
+ being accidentally used. Everything that starts with a double-dot
should end with a double-colon."
That would increase the punctuation verbosity of some constructs
diff --git a/docs/howto/rst-roles.txt b/docs/howto/rst-roles.txt
index f0b635978..79a9e240d 100644
--- a/docs/howto/rst-roles.txt
+++ b/docs/howto/rst-roles.txt
@@ -126,7 +126,7 @@ registered with the parser and language mappings added:
roles.register_canonical_role(name, role_function)
This code is normally placed immediately after the definition of
- the role funtion.
+ the role function.
2. Add an entry to the ``roles`` dictionary in
``docutils/parsers/rst/languages/en.py`` for the role, mapping the
diff --git a/docs/user/docutils-05-compat.sty.txt b/docs/user/docutils-05-compat.sty.txt
index c40af374f..70078521e 100644
--- a/docs/user/docutils-05-compat.sty.txt
+++ b/docs/user/docutils-05-compat.sty.txt
@@ -109,7 +109,7 @@ Backwards compatibility:
New configuration setting defaults
----------------------------------
-- font-encoding: "T1" (formerly implicitely set by 'ae').
+- font-encoding: "T1" (formerly implicitly set by 'ae').
- use-latex-toc: true (ToC with page numbers).
- use-latex-footnotes: true (no mixup with figures).
@@ -273,14 +273,14 @@ Font encoding
New feature:
Do not mix font-encoding and font settings: do not load the obsolete
- `ae` and `aeguill` packages unless explicitely required via the
+ `ae` and `aeguill` packages unless explicitly required via the
``--stylesheet`` option.
:font-encoding = "": do not load `ae` and `aeguill`, i.e.
* do not change font settings,
* do not use the fontenc package
- (implicitely loaded via `ae`),
+ (implicitly loaded via `ae`),
* use LaTeX default font encoding (OT1)
:font-encoding = "OT1": load `fontenc` with ``\usepackage[OT1]{fontenc}``
@@ -492,7 +492,7 @@ Standard package for tables across several pages::
\usepackage{longtable}
Extra space between text in tables and the line above them
-('array' is implicitely loaded by 'tabularx', see below)::
+('array' is implicitly loaded by 'tabularx', see below)::
\usepackage{array}
\setlength{\extrarowheight}{2pt}
@@ -551,7 +551,7 @@ Removed definitions
admonition width
^^^^^^^^^^^^^^^^
-The ``admonitionwith`` lenght is replaced by the more powerful
+The ``admonitionwith`` length is replaced by the more powerful
``\DUadmonition`` command (see admonitions_).
Backwards compatibility:
diff --git a/docs/user/rst/quickref.html b/docs/user/rst/quickref.html
index 05db15f54..8786f8465 100644
--- a/docs/user/rst/quickref.html
+++ b/docs/user/rst/quickref.html
@@ -1222,11 +1222,11 @@ A&nbsp;transition&nbsp;marker&nbsp;is&nbsp;a&nbsp;horizontal&nbsp;line
<td>
<samp>Titles&nbsp;are&nbsp;targets,&nbsp;too</samp>
<br><samp>=======================</samp>
- <br><samp>Implict&nbsp;references,&nbsp;like&nbsp;`Titles&nbsp;are</samp>
+ <br><samp>Implicit&nbsp;references,&nbsp;like&nbsp;`Titles&nbsp;are</samp>
<br><samp>targets,&nbsp;too`_.</samp>
<td>
<font size="+2"><strong><a name="title">Titles are targets, too</a></strong></font>
- <p>Implict references, like <a href="#title">Titles are
+ <p>Implicit references, like <a href="#title">Titles are
targets, too</a>.
</table>
diff --git a/docutils/statemachine.py b/docutils/statemachine.py
index 0c26ee3d2..6a29b9747 100644
--- a/docutils/statemachine.py
+++ b/docutils/statemachine.py
@@ -313,7 +313,7 @@ class StateMachine:
self.notify_observers()
def is_next_line_blank(self):
- """Return 1 if the next line is blank or non-existant."""
+ """Return 1 if the next line is blank or non-existent."""
try:
return not self.input_lines[self.line_offset + 1].strip()
except IndexError:
diff --git a/docutils/writers/latex2e/docutils-05-compat.sty b/docutils/writers/latex2e/docutils-05-compat.sty
index cc6b6a8aa..31f7b4e1b 100644
--- a/docutils/writers/latex2e/docutils-05-compat.sty
+++ b/docutils/writers/latex2e/docutils-05-compat.sty
@@ -109,7 +109,7 @@
% New configuration setting defaults
% ----------------------------------
%
-% - font-encoding: "T1" (formerly implicitely set by 'ae').
+% - font-encoding: "T1" (formerly implicitly set by 'ae').
% - use-latex-toc: true (ToC with page numbers).
% - use-latex-footnotes: true (no mixup with figures).
%
@@ -273,14 +273,14 @@
%
% New feature:
% Do not mix font-encoding and font settings: do not load the obsolete
-% `ae` and `aeguill` packages unless explicitely required via the
+% `ae` and `aeguill` packages unless explicitly required via the
% ``--stylesheet`` option.
%
% :font-encoding = "": do not load `ae` and `aeguill`, i.e.
%
% * do not change font settings,
% * do not use the fontenc package
-% (implicitely loaded via `ae`),
+% (implicitly loaded via `ae`),
% * use LaTeX default font encoding (OT1)
%
% :font-encoding = "OT1": load `fontenc` with ``\usepackage[OT1]{fontenc}``
@@ -492,7 +492,7 @@
\usepackage{longtable}
% Extra space between text in tables and the line above them
-% ('array' is implicitely loaded by 'tabularx', see below)::
+% ('array' is implicitly loaded by 'tabularx', see below)::
\usepackage{array}
\setlength{\extrarowheight}{2pt}
@@ -551,7 +551,7 @@
%
% admonition width
% ^^^^^^^^^^^^^^^^
-% The ``admonitionwith`` lenght is replaced by the more powerful
+% The ``admonitionwith`` length is replaced by the more powerful
% ``\DUadmonition`` command (see admonitions_).
%
% Backwards compatibility:
diff --git a/test/test_parsers/test_rst/test_directives/test_unicode.py b/test/test_parsers/test_rst/test_directives/test_unicode.py
index e7551203d..d6205ca67 100755
--- a/test/test_parsers/test_rst/test_directives/test_unicode.py
+++ b/test/test_parsers/test_rst/test_directives/test_unicode.py
@@ -28,7 +28,7 @@ totest = {}
totest['unicode'] = [
["""
Insert an em-dash (|mdash|), a copyright symbol (|copy|), a non-breaking
-space (|nbsp|), a backwards-not-equals (|bne|), and a captial omega (|Omega|).
+space (|nbsp|), a backwards-not-equals (|bne|), and a capital omega (|Omega|).
.. |mdash| unicode:: 0x02014
.. |copy| unicode:: \\u00A9
@@ -52,7 +52,7 @@ u"""\
), a backwards-not-equals (
<substitution_reference refname="bne">
bne
- ), and a captial omega (
+ ), and a capital omega (
<substitution_reference refname="Omega">
Omega
).