aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog.md2
-rw-r--r--doc/extras.md2
-rw-r--r--doc/lua-filters.md6
-rw-r--r--pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Image.hs2
-rw-r--r--src/Text/Pandoc/Writers/ANSI.hs2
-rw-r--r--test/jats-reader.native11
-rw-r--r--test/jats-reader.xml6
-rw-r--r--test/typst-reader.native2
-rw-r--r--test/undergradmath.typ2
9 files changed, 20 insertions, 15 deletions
diff --git a/changelog.md b/changelog.md
index a42fc030e..35e2a8efc 100644
--- a/changelog.md
+++ b/changelog.md
@@ -3311,7 +3311,7 @@
* HTML, Markdown writers: filter out empty class attributes (#8251).
These should not be generated by any pandoc readers, but they
- might be produced programatically.
+ might be produced programmatically.
* Markdown writer:
diff --git a/doc/extras.md b/doc/extras.md
index 3a4e86688..7d52147bf 100644
--- a/doc/extras.md
+++ b/doc/extras.md
@@ -47,7 +47,7 @@ complete list, see the [Pandoc Extras wiki page](https://github.com/jgm/pandoc/w
process Markdown documents with integrated data and charts
(integrates pandoc).
- [pandoc-plot](https://github.com/LaurentRDC/pandoc-plot)
- allows you to integrate programatically generated plots
+ allows you to integrate programmatically generated plots
generated by various tools.
### Citations
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index 913d57f02..7e4ea0b5a 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -422,7 +422,7 @@ its dependency
install by adding `path.lua = "/path/to/your/lua"` in your ZeroBrane
settings file. Next, open your Lua filter in ZeroBrane, and add
`require('mobdebug').start()` at the line where you want your
-breakpoint. Then make sure the Project > Lua Intepreter is set to the
+breakpoint. Then make sure the Project > Lua Interpreter is set to the
"Lua" you added in settings and enable "Start Debugger Server" [see
detailed instructions
here](https://studio.zerobrane.com/doc-remote-debugging). Run Pandoc
@@ -4885,7 +4885,7 @@ Returns a table containing the size and resolution of an image;
throws an error if the given string is not an image, or if the
size of the image cannot be determined.
-The resulting table has four entires: *width*, *height*,
+The resulting table has four entries: *width*, *height*,
*dpi_horz*, and *dpi_vert*.
The `opts` parameter, when given, should be either a WriterOptions
@@ -5912,7 +5912,7 @@ Parameters:
Returns:
-- doc contatining just the literal string ([Doc])
+- doc containing just the literal string ([Doc])
*Since: 2.18*
diff --git a/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Image.hs b/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Image.hs
index 3b2465ccc..cf9f8e55d 100644
--- a/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Image.hs
+++ b/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Image.hs
@@ -75,7 +75,7 @@ size = defun "size"
, "throws an error if the given string is not an image, or if the size"
, "of the image cannot be determined."
, ""
- , "The resulting table has four entires: *width*, *height*, *dpi\\_horz*,"
+ , "The resulting table has four entries: *width*, *height*, *dpi\\_horz*,"
, "and *dpi\\_vert*."
, ""
, "The `opts` parameter, when given, should be either a WriterOptions"
diff --git a/src/Text/Pandoc/Writers/ANSI.hs b/src/Text/Pandoc/Writers/ANSI.hs
index 1fbbd8629..962560422 100644
--- a/src/Text/Pandoc/Writers/ANSI.hs
+++ b/src/Text/Pandoc/Writers/ANSI.hs
@@ -69,7 +69,7 @@ writeANSI opts document =
stInTable = False
}
--- | Return ANSI-styled verison of document
+-- | Return ANSI-styled version of document
pandocToANSI :: PandocMonad m
=> WriterOptions -> Pandoc -> TW m Text
pandocToANSI opts (Pandoc meta blocks) = do
diff --git a/test/jats-reader.native b/test/jats-reader.native
index 51048dd5a..61a35ebb8 100644
--- a/test/jats-reader.native
+++ b/test/jats-reader.native
@@ -536,7 +536,7 @@ Pandoc
, Space
, Str "the"
, Space
- , Str "pragraph,"
+ , Str "paragraph,"
, Space
, Str "but"
, Space
@@ -568,7 +568,12 @@ Pandoc
]
, Para
[ Strong
- [ Str "Outside" , Space , Str "a" , Space , Str "pararaph" ]
+ [ Str "Outside"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph"
+ ]
, Str ","
, Space
, Str "should"
@@ -613,7 +618,7 @@ Pandoc
]
, Para
[ Strong
- [ Str "Inside" , Space , Str "a" , Space , Str "pragraph" ]
+ [ Str "Inside" , Space , Str "a" , Space , Str "paragraph" ]
, Str ","
, Space
, Str "should"
diff --git a/test/jats-reader.xml b/test/jats-reader.xml
index 0bb36346d..641f1ea9c 100644
--- a/test/jats-reader.xml
+++ b/test/jats-reader.xml
@@ -163,12 +163,12 @@
</sec>
<sec id="disp-formulae">
<title>Block formulae with <italic>disp-formula</italic></title>
- <p><bold>Inside a paragraph</bold>, should be natively coded inside the pragraph, but show as block:</p>
+ <p><bold>Inside a paragraph</bold>, should be natively coded inside the paragraph, but show as block:</p>
<p>Einstein showed that <disp-formula><alternatives>
<tex-math><![CDATA[e=mc^2]]></tex-math>
<mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>e</mml:mi><mml:mo>=</mml:mo><mml:mi>m</mml:mi><mml:msup><mml:mi>c</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></disp-formula>.
This formula is important because…</p>
- <p><bold>Outside a pararaph</bold>, should show as block:</p>
+ <p><bold>Outside a paragraph</bold>, should show as block:</p>
<p>Einstein showed that </p>
<disp-formula><alternatives>
<tex-math><![CDATA[e=mc^2]]></tex-math>
@@ -177,7 +177,7 @@
</sec>
<sec id="no-formula-wrapper">
<title>Without a formula wrapper</title>
- <p><bold>Inside a pragraph</bold>, should show inline:</p>
+ <p><bold>Inside a paragraph</bold>, should show inline:</p>
<p>Einstein showed that <alternatives>
<tex-math><![CDATA[e=mc^2]]></tex-math>
<mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>e</mml:mi><mml:mo>=</mml:mo><mml:mi>m</mml:mi><mml:msup><mml:mi>c</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:math></alternatives>.
diff --git a/test/typst-reader.native b/test/typst-reader.native
index ade99b4bc..5b04e523d 100644
--- a/test/typst-reader.native
+++ b/test/typst-reader.native
@@ -3201,7 +3201,7 @@ Pandoc
( "" , [ "box" ] , [] )
[ Math InlineMath "\\ominus"
, Str "\8192"
- , Code ( "" , [] , [] ) "minus.cirle"
+ , Code ( "" , [] , [] ) "minus.circle"
]
]
]
diff --git a/test/undergradmath.typ b/test/undergradmath.typ
index 1910d31b0..e0daacd3b 100644
--- a/test/undergradmath.typ
+++ b/test/undergradmath.typ
@@ -259,7 +259,7 @@ Just type them!
cell($\u{224D}$, [`\u{224D}` @tricky]), cell($tilde.eq$, `tilde.eq`), cell($n!$, `n!`),
cell($equiv$, `equiv`), cell($tilde.not$, `tilde.not`), cell($diff$, `diff`),
cell($prec$, `prec`), cell($plus.circle$, `plus.circle`), cell($nabla$, `nabla`),
- cell($prec.eq$, `prec.eq`), cell($minus.circle$, `minus.cirle`), cell($planck.reduce$, `planck.reduce`),
+ cell($prec.eq$, `prec.eq`), cell($minus.circle$, `minus.circle`), cell($planck.reduce$, `planck.reduce`),
cell($succ$, `succ`), cell($dot.circle$, `dot.circle`), cell($circle.stroked.tiny$, `circle.stroked.tiny`),
cell($succ.eq$, `succ.eq`), cell($times.circle$, `times.circle`), cell($star$, `star`),
cell($prop$, `prop`), cell($\u{2298}$, [`\u{2298}` @tricky]), cell($sqrt("")$, `sqrt("")`),