git.iko.soy/typeable/pandoc
on master help sign in
Fix typos (#5896)
commit78399ccf90faf34c915f4ca76c57dd4024e0b91e authorBrian Wignall <BrianWignall@gmail.com> dateMon 11 Nov 2019, 14:29 (7 years ago) parent741b1f7
3 files changed+10−10
changelog.md+8−8 src/Text/Pandoc/Parsing.hs+1−1 src/Text/Pandoc/Writers/Docx.hs+1−1
changelog.md+8−8
@@ -1207,7 +1207,7 @@
12071207 + Properly escape attributes in Markdown writer (#5369).
12081208 + Be sure implicit figures work in list contexts (#5368).
12091209 Previously they would sometimes not work: e.g., when they
1210− occured in final paragraphs in lists that were originally
1210+ occurred in final paragraphs in lists that were originally
12111211 parsed as Plain and converted later using PlainToPara.
12121212
12131213 * Docx writer: Use `w:br` without attributes for line breaks (#5377).
@@ -6304,7 +6304,7 @@
63046304 of item disappear or are misplaced. Use `\texttt` instead.
63056305 + Fix problem with escaping in `lstinline` (#1629). Previously the
63066306 LaTeX writer created invalid LaTeX when `--listings` was specified and
6307− a code span occured inside emphasis or another construction.
6307+ a code span occurred inside emphasis or another construction.
63086308 + Fix error with line breaks after empty content (#2874). LaTeX
63096309 requires something before a line break, so we insert a `~` if no
63106310 printable content has yet been emitted.
@@ -6411,7 +6411,7 @@
64116411
64126412 + Don't drop smartTag contents (#2242).
64136413 + Handle local namespace declarations (#3365). Previously we didn't
6414− recognize math, for example, when the xmlns declaration occured on
6414+ recognize math, for example, when the xmlns declaration occurred on
64156415 the element and not the root.
64166416 + More efficient trimSps (#1530). Replacing `trimLineBreaks`. This
64176417 does the work of `normalizeSpaces` as well, so we avoid the need for
@@ -11893,7 +11893,7 @@
1189311893 + Parse contents of curly quotes or matched `"` as quotes.
1189411894 + Support `\textnormal` as span with class `nodecor`.
1189511895 This is needed for pandoc-citeproc.
11896− + Improved citation parsing. This fixes a run-time error that occured
11896+ + Improved citation parsing. This fixes a run-time error that occurred
1189711897 with `\citet{}` (empty list of keys). It also ensures that empty keys
1189811898 don't get produced.
1189911899
@@ -12187,7 +12187,7 @@
1218712187 to make that the current directory before running pandoc. (#942)
1218812188
1218912189 * Better error reporting in some readers, due to changes in `readWith`:
12190− the line in which the error occured is printed, with a caret pointing
12190+ the line in which the error occurred is printed, with a caret pointing
1219112191 to the column.
1219212192
1219312193 * All slide formats now support incremental slide view for definition lists.
@@ -12241,7 +12241,7 @@
1224112241 * A new generic block container (`Div`) has been added to `Block`,
1224212242 and a generic inline container (`Span`) has been added to `Inline`.
1224312243 These can take attributes. They will render in HTML, Textile,
12244− MediaWiki, Org, RST and and Markdown (with `markdown_in_html`
12244+ MediaWiki, Org, RST and Markdown (with `markdown_in_html`
1224512245 extension) as HTML `<div>` and `<span>` elements; in other formats
1224612246 they will simply pass through their contents. But they can be
1224712247 targeted by scripts.
@@ -13238,7 +13238,7 @@
1323813238### API changes
1323913239
1324013240 * `Text.Pandoc.Definition`: Added `Attr` field to `Header`.
13241− Previously header identifers were autogenerated by the writers.
13241+ Previously header identifiers were autogenerated by the writers.
1324213242 Now they are added in the readers (either automatically or explicitly).
1324313243
1324413244 * `Text.Pandoc.Builder`:
@@ -13475,7 +13475,7 @@
1347513475 incorrectly implented RST-style autolinks for URLs and email
1347613476 addresses. This has been fixed. Now an autolink is done this way:
1347713477 `"$":http://myurl.com`.
13478− + Fixed footnotes bug in textile. This affected notes occuring
13478+ + Fixed footnotes bug in textile. This affected notes occurring
1347913479 before punctuation, e.g. `foo[1].`. Closes #518.
1348013480
1348113481 * LaTeX reader:
src/Text/Pandoc/Parsing.hs+1−1
@@ -1250,7 +1250,7 @@ type SubstTable = M.Map Key Inlines
12501250
12511251-- | Add header to the list of headers in state, together
12521252-- with its associated identifier. If the identifier is null
1253−-- and the auto_identifers extension is set, generate a new
1253+-- and the auto_identifiers extension is set, generate a new
12541254-- unique identifier, and update the list of identifiers
12551255-- in state. Issue a warning if an explicit identifier
12561256-- is encountered that duplicates an earlier identifier
src/Text/Pandoc/Writers/Docx.hs+1−1
@@ -1472,7 +1472,7 @@ wrapBookmark ident contents = do
14721472
14731473-- Word imposes a 40 character limit on bookmark names and requires
14741474-- that they begin with a letter. So we just use a hash of the
1475−-- identifer when otherwise we'd have an illegal bookmark name.
1475+-- identifier when otherwise we'd have an illegal bookmark name.
14761476toBookmarkName :: String -> String
14771477toBookmarkName s =
14781478 case s of