From 0cd83f6900aa4f9ef58f3255982ab354006332b3 Mon Sep 17 00:00:00 2001 From: "Kian Meng, Ang" Date: Sat, 25 Dec 2021 14:00:25 +0800 Subject: Fix typos (#229) --- CHANGELOG.adoc | 6 +++--- README.md | 2 +- asciidoc/asciidoc.py | 2 +- asciidoc/resources/asciidoc.conf | 2 +- asciidoc/resources/dblatex/asciidoc-dblatex.sty | 2 +- asciidoc/resources/filters/latex/latex-filter.conf | 2 +- asciidoc/resources/filters/source/source-highlight-filter-test.txt | 2 +- asciidoc/resources/help.conf | 2 +- asciidoc/resources/icons/README | 2 +- doc/asciidoc.txt | 2 +- doc/faq.txt | 4 ++-- doc/latex-backend.txt | 2 +- doc/latex-bugs.txt | 2 +- doc/latexmathml.txt | 2 +- website/newtables.txt | 4 ++-- website/version83.txt | 2 +- 16 files changed, 20 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index a6fdbd2..a6ea95e 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -1089,7 +1089,7 @@ Version 8.5.1 (2009-10-31) - The 'xhtml11' backend dynamically processes footnotes using JavaScript. - Tidied up and namespaced 'xhtml11' JavaScript. -- Superceded `javascripts/toc.js` with `javascripts/asciidoc-xhtml11.js`. +- Superseded `javascripts/toc.js` with `javascripts/asciidoc-xhtml11.js`. - Added 'disable-javascript' attribute ('xhtml11' backend). - Styled HTML footnotes. - Added links to HTML footnote refs. @@ -1115,7 +1115,7 @@ Version 8.5.1 (2009-10-31) Regression issues ~~~~~~~~~~~~~~~~~ There's been quite a bit of tiding up to the xhtml11 JavaScript. The -most obvious change is that the toc.js script has been superceded by +most obvious change is that the toc.js script has been superseded by asciidoc-xhtml11.js so if you're linking you'll need get a copy of the new file from the distribution javascripts directory. @@ -1762,7 +1762,7 @@ to the previous 8.2.7 release: are rendered vertically. - The list 'compact' style has been dropped and is now a list option (use `options="compact"` in attribute lists). -- AsciiDoc version 6 sytnax no longer supported. +- AsciiDoc version 6 syntax no longer supported. - Linuxdoc been removed from the distribution. - The unsupported experimental 'latex' backend has not been tested on this release. diff --git a/README.md b/README.md index a7572cb..7a8a28b 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ AsciiDoc.py is written in Python so you need a Python interpreter package manager for your OS or by downloading it from the official Python website http://www.python.org. -Additionally, you wil need: +Additionally, you will need: * DocBook XSL Stylesheets 1.76.1 * xsltproc (libxml 20706, libxslt 10126 and libexslt 815). diff --git a/asciidoc/asciidoc.py b/asciidoc/asciidoc.py index c5fc2b8..61690c4 100644 --- a/asciidoc/asciidoc.py +++ b/asciidoc/asciidoc.py @@ -4051,7 +4051,7 @@ class Reader1: self._lineno = 0 # The last line read from file object f. self.line_ranges = None # line ranges to include self.current_depth = 0 # Current include depth. - self.max_depth = 10 # Initial maxiumum allowed include depth. + self.max_depth = 10 # Initial maximum allowed include depth. self.bom = None # Byte order mark (BOM). self.infile = None # Saved document 'infile' attribute. self.indir = None # Saved document 'indir' attribute. diff --git a/asciidoc/resources/asciidoc.conf b/asciidoc/resources/asciidoc.conf index bee8603..d66294a 100644 --- a/asciidoc/resources/asciidoc.conf +++ b/asciidoc/resources/asciidoc.conf @@ -588,7 +588,7 @@ template::[pass-blockmacro] # Synthesize missing target attribute for filter generated file names. # The tag split | ensures missing target file names are auto-generated # before the filter is executed, the remainder (the [image-blockmacro]) -# is excuted after the filter to ensure data URI encoding comes after +# is executed after the filter to ensure data URI encoding comes after # the image is created. {target%}{counter2:target-number} {target%}{set2:target:{docname}__{target-number}.png} diff --git a/asciidoc/resources/dblatex/asciidoc-dblatex.sty b/asciidoc/resources/dblatex/asciidoc-dblatex.sty index 309459f..8f6eca0 100644 --- a/asciidoc/resources/dblatex/asciidoc-dblatex.sty +++ b/asciidoc/resources/dblatex/asciidoc-dblatex.sty @@ -18,5 +18,5 @@ % For DocBook literallayout elements, see `./dblatex/dblatex-readme.txt`. \usepackage{alltt} -% To preserve simple quotes in the blocs of code +% To preserve simple quotes in the blocks of code \usepackage{upquote} diff --git a/asciidoc/resources/filters/latex/latex-filter.conf b/asciidoc/resources/filters/latex/latex-filter.conf index e9b749f..ee255a0 100644 --- a/asciidoc/resources/filters/latex/latex-filter.conf +++ b/asciidoc/resources/filters/latex/latex-filter.conf @@ -31,7 +31,7 @@ template::[latex-filter-image-blockmacro] # Synthesize missing target attribute for filter generated file names. # The tag split | ensures missing target file names are auto-generated # before the filter is executed, the remainder (the [image-blockmacro]) -# is excuted after the filter to ensure data URI encoding comes after +# is executed after the filter to ensure data URI encoding comes after # the image is created. # This template replaces the filter-image-blockmacro template so that # we can generate SVG images from LaTeX code. diff --git a/asciidoc/resources/filters/source/source-highlight-filter-test.txt b/asciidoc/resources/filters/source/source-highlight-filter-test.txt index cd2390c..b7bccbe 100644 --- a/asciidoc/resources/filters/source/source-highlight-filter-test.txt +++ b/asciidoc/resources/filters/source/source-highlight-filter-test.txt @@ -1,4 +1,4 @@ -Source Hightlight Filter Test +Source Highlight Filter Test ============================= Details of the filter can be found in diff --git a/asciidoc/resources/help.conf b/asciidoc/resources/help.conf index a4b8775..0899c0d 100644 --- a/asciidoc/resources/help.conf +++ b/asciidoc/resources/help.conf @@ -224,7 +224,7 @@ Document links URLs ---- - Use normal URL and email addess syntax or: + Use normal URL and email address syntax or: http:address[caption] (link to web page) mailto:address[caption] (link to mail recipient) diff --git a/asciidoc/resources/icons/README b/asciidoc/resources/icons/README index f12b2a7..09da77f 100644 --- a/asciidoc/resources/icons/README +++ b/asciidoc/resources/icons/README @@ -1,5 +1,5 @@ Replaced the plain DocBook XSL admonition icons with Jimmac's DocBook icons (http://jimmac.musichall.cz/ikony.php3). I dropped transparency -from the Jimmac icons to get round MS IE and FOP PNG incompatibilies. +from the Jimmac icons to get round MS IE and FOP PNG incompatibilities. Stuart Rackham diff --git a/doc/asciidoc.txt b/doc/asciidoc.txt index 0721022..4468e3e 100644 --- a/doc/asciidoc.txt +++ b/doc/asciidoc.txt @@ -1359,7 +1359,7 @@ The 'reftext' attribute can an also be set by the 'BlockId' element. |floatstyle |docbook | 'floatstyle' is used to specify the floatstyle attribute for the titled table, example, image and equation blocks. This is useful when -used in conjuction with the dblatex toolchain. A typical example +used in conjunction with the dblatex toolchain. A typical example would be to specify the value as 'floatstyle="[htbp]"'. |==================================================================== diff --git a/doc/faq.txt b/doc/faq.txt index 76f22b7..f8647bc 100644 --- a/doc/faq.txt +++ b/doc/faq.txt @@ -669,7 +669,7 @@ chart_object.set_defaults(bar_plot.T, direction="horizontal", data=data) # Attribute cluster=(0,3) tells that you are going to draw three bar # plots side by side. The plot labeled "foo" will the leftmost (i.e., # 0th out of 3). Attribute hcol tells the column from which to -# retrive sample values from. It defaults to one. +# retrieve sample values from. It defaults to one. ar.add_plot(bar_plot.T(label="foo", cluster=(0,3))) ar.add_plot(bar_plot.T(label="bar", hcol=2, cluster=(1,3))) ar.add_plot(bar_plot.T(label="baz", hcol=3, cluster=(2,3))) @@ -1372,7 +1372,7 @@ or https://www.latex-project.org/[LaTeX] to AsciiDoc. use a passthrough block it must contain DocBook (not HTML). Fortunately DocBook XSL Stylesheets has a http://www.sagehill.net/docbookxsl/InsertExtHtml.html[dbhtml-include -processing instruction] which will inlcude a file containing raw HTML +processing instruction] which will include a file containing raw HTML into the generated HTML output. For example: --------------------------------------------------------------- diff --git a/doc/latex-backend.txt b/doc/latex-backend.txt index c87f456..0232af5 100644 --- a/doc/latex-backend.txt +++ b/doc/latex-backend.txt @@ -85,7 +85,7 @@ autoref:: Let's LaTeX print the number of the section, subsection, figure, table or theorem the referenced anchor resides preceded with a contextual label. cite:: -Let's LaTeX interprete this reference as a reference to a bibliography entry. If the attribute 'latex-use-bibliography-environment' is set, references with 'cite' style as well as their corresponding bibliography anchors are presented as automatically generated numbers. +Let's LaTeX interpret this reference as a reference to a bibliography entry. If the attribute 'latex-use-bibliography-environment' is set, references with 'cite' style as well as their corresponding bibliography anchors are presented as automatically generated numbers. If the 'style' attribute is not set the reference is printed the common way. diff --git a/doc/latex-bugs.txt b/doc/latex-bugs.txt index d241cdb..66c79d7 100644 --- a/doc/latex-bugs.txt +++ b/doc/latex-bugs.txt @@ -67,7 +67,7 @@ Cause:: The table models in LaTeX and HTML are too dissimilar for one `asciidoc` specification to generate valid output in both formats by simple regexp replacement. Related to this is the unfortunate fact that `` and related tags aren't a required part of HTML4, -and some broswers (at least Firefox and Konqueror) don't implement +and some browsers (at least Firefox and Konqueror) don't implement them. Solution:: Perhaps table processing could be handled by a Python diff --git a/doc/latexmathml.txt b/doc/latexmathml.txt index a1df891..d87a7d6 100644 --- a/doc/latexmathml.txt +++ b/doc/latexmathml.txt @@ -2,7 +2,7 @@ LaTeXMathML Formulae ==================== https://www.maths.nottingham.ac.uk/plp/pmadw/lm.html[LaTeXMathML] -capability has been added to AsciiDoc for users who are more familar +capability has been added to AsciiDoc for users who are more familiar with or prefer LaTeX math formulas to the https://asciidoc.org/asciimath.html[ASCIIMath] notation. diff --git a/website/newtables.txt b/website/newtables.txt index 839d347..0c6e52c 100644 --- a/website/newtables.txt +++ b/website/newtables.txt @@ -214,7 +214,7 @@ homero verear ea mea, qui. --------------------------------------------------------------------- -.Horizontal and vertial headings +.Horizontal and vertical headings [cols="h,4*",options="header",width="50%"] |================================== | |West |Central |East | Total @@ -226,7 +226,7 @@ homero verear ea mea, qui. .AsciiDoc source --------------------------------------------------------------------- -.Horizontal and vertial headings +.Horizontal and vertical headings [cols="h,4*",options="header",width="50%"] |================================== | |West |Central |East | Total diff --git a/website/version83.txt b/website/version83.txt index c830a07..d4cd91d 100644 --- a/website/version83.txt +++ b/website/version83.txt @@ -7,7 +7,7 @@ introduces a decent https://asciidoc.org/newtables.html[tables] syntax. There are a few fairly minor backward compatibility issues, please read the link:CHANGELOG.html#X1[compatibility issues] section in the -CHANGLOG before upgrading. +CHANGELOG before upgrading. New Features ------------ -- cgit v1.2.1