From 8bfd428f29ac556b9733f62aa16e9d03ab6354c1 Mon Sep 17 00:00:00 2001 From: milde Date: Tue, 30 May 2017 19:56:24 +0000 Subject: [PATCH] Spelling fixes git-svn-id: http://svn.code.sf.net/p/docutils/code/tags/docutils-0.10@8093 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docs/dev/rst/alternatives.txt | 10 +++++----- docs/howto/rst-roles.txt | 2 +- docs/user/docutils-05-compat.sty.txt | 10 +++++----- docs/user/rst/quickref.html | 4 ++-- docutils/statemachine.py | 2 +- docutils/writers/latex2e/docutils-05-compat.sty | 10 +++++----- test/test_parsers/test_rst/test_directives/test_unicode.py | 4 ++-- 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__ __"`` 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 transition marker is a horizontal line Titles are targets, too
======================= -
Implict references, like `Titles are +
Implicit references, like `Titles are
targets, too`_. Titles are targets, too -

Implict references, like Titles are +

Implicit references, like Titles are targets, too. 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 ( bne - ), and a captial omega ( + ), and a capital omega ( Omega ). -- 2.11.4.GIT