From 4a28f84a34da432cce5a9a9fba14268b7c784e31 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:24:55 -0600 Subject: [PATCH 01/13] spelling: and Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 253c446f..c0b9b26a 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,7 @@ commands = deps = -rrequirements/docs.txt skipsdist = True -# Coverage for python 2.7 and and 3.4 only +# Coverage for python 2.7 and 3.4 only [testenv:py27-coverage] commands = nosetests --with-doctest --with-coverage --cover-package pydocx [] From d4781056969e6ea522bff6fcf3872d4d6609d8fb Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:15:32 -0600 Subject: [PATCH 02/13] spelling: below Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pydocx/export/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydocx/export/html.py b/pydocx/export/html.py index 18e3ea53..8066c1b8 100644 --- a/pydocx/export/html.py +++ b/pydocx/export/html.py @@ -390,7 +390,7 @@ def export_listing_paragraph_property_indentation( if not left and not hanging: return style - # All the bellow left margin calculation is done because html ul/ol/li elements have + # All the below left margin calculation is done because html ul/ol/li elements have # their default indentations and we need to make sure that we migrate as near as # possible solution to html. margin_left = left From cacdc3181baca0157b6aa38af5726048e62f7f24 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:15:52 -0600 Subject: [PATCH 03/13] spelling: contribute Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/plugins.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugins.rst b/docs/plugins.rst index 40069e74..c0149516 100644 --- a/docs/plugins.rst +++ b/docs/plugins.rst @@ -8,7 +8,7 @@ in the core library. If it's something that should exist, the PyDocX project is always open to new -contributions. Details of how to contibute +contributions. Details of how to contribute can be found in :doc:`/development`. For things that don't fit in the core From 588b6336c6bdd46bee4462008225daa0e94c9972 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:24:04 -0600 Subject: [PATCH 04/13] spelling: github Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index d99af8d7..aaafc3a5 100644 --- a/README.rst +++ b/README.rst @@ -9,7 +9,7 @@ PyDocX * `Installation `_ * `Documentation `_ * `Release Notes `_ -* `Github Page `_ +* `GitHub Page `_ * `Issue Tracking `_ PyDocX is a tool From 94ddbcace64146168d0a5919b720664965d752a5 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:16:23 -0600 Subject: [PATCH 05/13] spelling: handlers Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 120f60d2..9e9f9d3c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -183,7 +183,7 @@ **0.4.00** - External images are now handled. This causes a backwards incompatible change - with all handers related to images. + with all handlers related to images. **0.3.23** From b2c0410f72e8157080d48020385e32c57ed3c63b Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 12 Oct 2025 16:09:57 -0600 Subject: [PATCH 06/13] spelling: item Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- tests/fixtures/table_with_multi_rowspan.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fixtures/table_with_multi_rowspan.html b/tests/fixtures/table_with_multi_rowspan.html index 8f7a8396..94b8fb51 100644 --- a/tests/fixtures/table_with_multi_rowspan.html +++ b/tests/fixtures/table_with_multi_rowspan.html @@ -1 +1 @@ -
First sectionItem 1
Item 2
Second sectionItem 1
Item 2
Item 3
Imte 4
+
First sectionItem 1
Item 2
Second sectionItem 1
Item 2
Item 3
Item 4
From 9e4a16fe7ab3c75e31c2691f24630cf9680d307b Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:23:47 -0600 Subject: [PATCH 07/13] spelling: its Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pydocx/export/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydocx/export/html.py b/pydocx/export/html.py index 8066c1b8..785da63f 100644 --- a/pydocx/export/html.py +++ b/pydocx/export/html.py @@ -428,7 +428,7 @@ def export_listing_paragraph_property_indentation( pass # Here as well, we remove the default hanging which word adds - # because
  • tag will provide it's own + # because
  • tag will provide its own hanging -= level_ind_hanging if margin_left: From 671c738a4b5a51b2d2ce3676f5c430791bee21a1 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:16:43 -0600 Subject: [PATCH 08/13] spelling: lossy Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9e9f9d3c..417d28e5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -56,7 +56,7 @@ (``self.first_pass == True``), you can now track information that will be used to make decisions in the second pass. The notable example where this technique is used is implementing complex fields. Because the export methods are called - twice, some exporter extensions that perform lossly operations on the + twice, some exporter extensions that perform lossy operations on the document structure may need to ignore processing during the first pass. - The function signature of the ``get_hyperlink_tag`` has changed. It previously accepted a ``Hyperlink`` instance. Now it only accepts From 89ab614671f60ff6587ed02eb2b904ae0bc37de7 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:19:28 -0600 Subject: [PATCH 09/13] spelling: numeral Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/enumerated_list_detection.rst | 6 +++--- pydocx/export/numbering_span.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/enumerated_list_detection.rst b/docs/enumerated_list_detection.rst index 21ff6498..d2c35742 100644 --- a/docs/enumerated_list_detection.rst +++ b/docs/enumerated_list_detection.rst @@ -45,11 +45,11 @@ is automatic: Supported enumeration sequences ############################### -* arabic numberals: 1, 2, 3, ... +* arabic numerals: 1, 2, 3, ... * uppercase alphabet characters A, B, C, ..., Z, AA, AB, ... AZ, ... * lowercase alphabet characters a, b, c, ..., z, aa, ab, ... az, ... -* uppercase Roman numberals: I, II, III, IV, ... -* lowercase Roman numberals: i, ii, iii, iv, ... +* uppercase Roman numerals: I, II, III, IV, ... +* lowercase Roman numerals: i, ii, iii, iv, ... Supported enumeration patterns ############################## diff --git a/pydocx/export/numbering_span.py b/pydocx/export/numbering_span.py index 809ff672..dcb18823 100644 --- a/pydocx/export/numbering_span.py +++ b/pydocx/export/numbering_span.py @@ -26,7 +26,7 @@ def int_to_roman(i): ''' - Given any integer, return the roman numberal string. + Given any integer, return the roman numeral string. >>> int_to_roman(1) == 'I' True @@ -47,7 +47,7 @@ def int_to_roman(i): def roman_to_int(n): ''' - Given a roman numberal string, return the decimal equivalent. + Given a roman numeral string, return the decimal equivalent. >>> roman_to_int('I') 1 From 158636e17dbbc621377c2a3e625a00b10f0fb3ac Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:20:55 -0600 Subject: [PATCH 10/13] spelling: paragraphs Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage.rst b/docs/usage.rst index 7cf407ef..cae7faed 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -81,7 +81,7 @@ Currently Supported HTML elements * list styles * nested lists * list of tables - * list of pragraphs + * list of paragraphs * justification * images From 32074bd2442600f4e63a959752adcd4ba8192178 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:20:28 -0600 Subject: [PATCH 11/13] spelling: pdflatex Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index 0908da1d..b9358670 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -34,7 +34,7 @@ help: @echo " epub to make an epub" @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" @echo " latexpdf to make LaTeX files and run them through pdflatex" - @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx" + @echo " latexpdfja to make LaTeX files and run them through pdflatex/dvipdfmx" @echo " text to make text files" @echo " man to make manual pages" @echo " texinfo to make Texinfo files" @@ -118,7 +118,7 @@ latexpdf: latexpdfja: $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo "Running LaTeX files through platex and dvipdfmx..." + @echo "Running LaTeX files through pdflatex and dvipdfmx..." $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." From 5342586a11de041f6d9ff04f3bad326899866913 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:22:30 -0600 Subject: [PATCH 12/13] spelling: required Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pydocx/util/zip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydocx/util/zip.py b/pydocx/util/zip.py index 39f86361..2a29812d 100644 --- a/pydocx/util/zip.py +++ b/pydocx/util/zip.py @@ -30,7 +30,7 @@ def create_zip_archive(paths_to_data): that path specified by the key. Each path MUST NOT include an initial '/'. Each path MUST use '/' as a file - separator (this is requried by the zip specification). + separator (this is required by the zip specification). paths_to_data = { 'path/file.txt': 'hello', From b55e66ad0c1b8dcc7532f40bd962b74ffb3477d1 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:22:43 -0600 Subject: [PATCH 13/13] spelling: separate Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- tests/export/test_xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/export/test_xml.py b/tests/export/test_xml.py index 2ad17a88..f0110d67 100644 --- a/tests/export/test_xml.py +++ b/tests/export/test_xml.py @@ -461,7 +461,7 @@ def get_xml(self): return xml -class SeperateListsIntoParentListTestCase(TranslationTestCase): +class SeparateListsIntoParentListTestCase(TranslationTestCase): expected_output = '''