Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #10349

Merged
merged 2 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion doc/extras.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions doc/lua-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -5912,7 +5912,7 @@ Parameters:

Returns:

- doc contatining just the literal string ([Doc])
- doc containing just the literal string ([Doc])

*Since: 2.18*

Expand Down
2 changes: 1 addition & 1 deletion pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Image.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/Text/Pandoc/Writers/ANSI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 8 additions & 3 deletions test/jats-reader.native
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ Pandoc
, Space
, Str "the"
, Space
, Str "pragraph,"
, Str "paragraph,"
, Space
, Str "but"
, Space
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions test/jats-reader.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>.
Expand Down
2 changes: 1 addition & 1 deletion test/typst-reader.native
Original file line number Diff line number Diff line change
Expand Up @@ -3201,7 +3201,7 @@ Pandoc
( "" , [ "box" ] , [] )
[ Math InlineMath "\\ominus"
, Str "\8192"
, Code ( "" , [] , [] ) "minus.cirle"
, Code ( "" , [] , [] ) "minus.circle"
]
]
]
Expand Down
2 changes: 1 addition & 1 deletion test/undergradmath.typ
Original file line number Diff line number Diff line change
Expand Up @@ -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("")`),
Expand Down
Loading