Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-07-30 | Markdown reader: allow unquoted numbers, booleans as YAML mapping keys. | John MacFarlane | 1 | -26/+28 | |
Previously in 2.2.2 you could not do --- 0: bar ... but only --- '0': bar ... With this change, both forms work. | |||||
2018-07-30 | Use YAML.decode rather than YAML.decodeStrict. | John MacFarlane | 1 | -1/+1 | |
(Minor) | |||||
2018-07-30 | DocBook reader: metadata handling improvements. | John MacFarlane | 2 | -39/+29 | |
Now we properly parse title and subtitle elements that are direct children of book and article (as well as children of bookinfo, articleinfo, or info). We also now use the "subtitle" metadata field for subtitles, rather than tacking the subtitle on to the title. | |||||
2018-07-30 | Lua Utils module: add function blocks_to_inlines (#4799) | Albert Krewinkel | 5 | -3/+69 | |
Exposes a function converting which flattenes a list of blocks into a list of inlines. An example use case would be the conversion of Note elements into other inlines. | |||||
2018-07-30 | Remove duplicate instruction (#4796) | Josh | 1 | -1/+0 | |
2018-07-24 | RST reader: remove support for nested inlines. | danse | 3 | -23/+26 | |
RST does not allow nested emphasis, links, or other inline constructs. Closes #4581, double parsing of links with URLs as link text. This supersedes the earlier fix for #4581 in 6419819b46c0d69c7024ba8aa4a6381cb311341c. Fixes #4561, a bug parsing with URLs inside emphasis. Closes #4792. | |||||
2018-07-24 | MediaWiki writer: Avoid extra blank line in tables with empty cells. | John MacFarlane | 2 | -0/+19 | |
Note that the old output is semantically identical, but the new output looks better. Closes #4794. | |||||
2018-07-23 | Org reader: fix parsers relying on parseFromString | Albert Krewinkel | 2 | -4/+14 | |
Emphasis was not parsed when it followed directly after some block types (e.g., lists). The org reader uses a wrapper for the `parseFromString` function to handle org-specific state. The last position of a character allowed before emphasis was reset incorrectly in this wrapper. Emphasized text was not recognized when placed directly behind a block which the reader parses using `parseFromString`. Fixes: #4784 | |||||
2018-07-21 | MANUAL: Clarify when csquotes is used in LaTeX writer. | John MacFarlane | 1 | -3/+4 | |
Closes #4514. | |||||
2018-07-21 | MANUAL: Added commonmark to list of output formats where... | John MacFarlane | 1 | -1/+1 | |
`raw_tex` has an effect. See #4527. | |||||
2018-07-21 | RST reader: fix double-link bug. | John MacFarlane | 2 | -1/+14 | |
Link labels containing raw URLs were parsed as autolinks, but links within links are not allowed. Closes #4581. | |||||
2018-07-21 | Moved some beamer code in default.latex template. | John MacFarlane | 1 | -37/+35 | |
This change allows beamer themes to change the template and font (as Metropolis does). Closes #4450. | |||||
2018-07-19 | Make sure pandoc-windows-*.msi are deleted as intermediate files. | John MacFarlane | 1 | -0/+2 | |
2018-07-19 | Update man page, changelog, authors. | John MacFarlane | 4 | -12/+33 | |
2018-07-19 | Fix for bug in parsing `\include` in markdown. | John MacFarlane | 2 | -1/+32 | |
Starting in 2.2.2, everything after an `\input` (or `\include`) in a markdown file would be parsed as raw LaTeX. This commit fixes the issue and adds a regression test. Closes #4781. | |||||
2018-07-19 | rawLaTeXBlock: never retokenize macroDef. | John MacFarlane | 1 | -1/+1 | |
2018-07-19 | MANUAL: clarify gfm vs markdown_github (#4783) | Mauro Bieg | 1 | -7/+7 | |
2018-07-18 | Add missing rollingLinks option to revealjs template (#4778) | Igor Khorlo | 1 | -0/+4 | |
Fix (add) the missing option 'rollingLinks' in reveal.js template. | |||||
2018-07-18 | Use 'keywords' instead of 'tags' in YAML metadata example. | John MacFarlane | 1 | -1/+1 | |
Unlike `tags`, `keywords` is used in some of the writers and default templates. Closes #4779. | |||||
2018-07-18 | Bump version to 2.2.2.1. | John MacFarlane | 1 | -1/+1 | |
2018-07-18 | Fix regression finding templates in user data directory. | John MacFarlane | 1 | -3/+1 | |
Under version 2.2.1 and prior pandoc found latex templates in the templates directory under the data directory, but this no longer works in 2.2.2. MANUAL says: "If the template is not found, pandoc will search for it in the templates subdirectory of the user data directory (see `--data-dir`)." This commit fixes the regression, which stems from 07bce91. Closes #4777. | |||||
2018-07-15 | Update AUTHORS. | John MacFarlane | 1 | -0/+5 | |
2018-07-15 | Minor cabal file changes. | John MacFarlane | 1 | -2/+2 | |
Requested by 'stack upload.' Different format for minimum cabal version. Use of autogen-modules. | |||||
2018-07-15 | linux/Dockerfile: simplify and use new ghc 8.4.3. | John MacFarlane | 1 | -35/+3 | |
2018-07-15 | Update changelog. | John MacFarlane | 1 | -1/+18 | |
2018-07-15 | Make markdown and github writers respect the `emoji` extension. | John MacFarlane | 3 | -0/+37 | |
2018-07-15 | Wrap emojis in span nodes (#4759) | Anders Waldenborg | 6 | -21/+56 | |
Text.Pandoc.Emoji now exports `emojiToInline`, which returns a Span inline containing the emoji character and some attributes with metadata (class `emoji`, attribute `data-emoji` with emoji name). Previously, emojis (as supported in Markdown and CommonMark readers, e.g ":smile:") were simply translated into the corresponding unicode code point. By wrapping them in Span nodes, we make it possible to do special handling such as giving them a special font in HTML output. We also open up the possibility of treating them differently when the `--ascii` option is selected (though that is not part of this commit). Closes #4743. | |||||
2018-07-15 | Small edits in changelog. | John MacFarlane | 1 | -19/+19 | |
2018-07-15 | Update man page. | John MacFarlane | 2 | -18/+31 | |
2018-07-15 | Bump to 2.2.2 and update changelog. | John MacFarlane | 2 | -1/+156 | |
2018-07-15 | Support abbreviated units for siunitx (#4773). | John MacFarlane | 1 | -0/+89 | |
2018-07-15 | LaTeX reader: be more forgiving in key/value option parsing. | John MacFarlane | 1 | -16/+39 | |
We now allow arbitrary LaTeX values. This helps with #4761. The `\maxwidth` is still not propagated to the latex destination, but at least we don't choke on parsing. | |||||
2018-07-14 | appveyor: fixed use of --stack-yaml. | John MacFarlane | 1 | -3/+3 | |
2018-07-14 | appveyor: try using lts-11. | John MacFarlane | 1 | -3/+3 | |
2018-07-14 | Revert "appveyor - for diagnostics, try building just aeson-pretty..." | John MacFarlane | 1 | -1/+1 | |
This reverts commit 6aa6fb2692dbd6eda8950f8ee55ad29fb7c33cc6. | |||||
2018-07-14 | appveyor - for diagnostics, try building just aeson-pretty... | John MacFarlane | 1 | -1/+1 | |
instead of pandoc-citeproc. | |||||
2018-07-14 | appveyor: try with stack --no-terminal, remove verbosity. | John MacFarlane | 1 | -1/+1 | |
2018-07-14 | appveyor: use right option to change verbosity. | John MacFarlane | 1 | -1/+1 | |
2018-07-14 | appveyor: increase stack verbosity. | John MacFarlane | 1 | -1/+1 | |
2018-07-14 | Revert "Try limiting to aeson-pretty-0.8.5." | John MacFarlane | 1 | -1/+0 | |
This reverts commit ceec41072ae454183d4647b422b26953170cea87. | |||||
2018-07-14 | Try limiting to aeson-pretty-0.8.5. | John MacFarlane | 1 | -0/+1 | |
That built before on appveyor... | |||||
2018-07-14 | appveyor: revert build aeson-pretty first. | John MacFarlane | 1 | -1/+0 | |
2018-07-13 | Fix aeson flag again... | John MacFarlane | 1 | -1/+1 | |
2018-07-13 | Fix appveyor flag. | John MacFarlane | 1 | -1/+1 | |
2018-07-13 | appveyor: try building aeson-pretty first... | John MacFarlane | 1 | -0/+1 | |
2018-07-13 | Use latest network. | John MacFarlane | 1 | -0/+1 | |
Hopefully this will build on Windows. See https://ci.appveyor.com/project/jgm/pandoc/build/1.0.2625/job/tfpvh7rxue26phoq | |||||
2018-07-13 | Travis: Use system ghc. And use ghc-8.4.3 instead of 8.4.2. | John MacFarlane | 2 | -6/+6 | |
2018-07-13 | Add pandoc-citeproc to stack.yaml. | John MacFarlane | 1 | -0/+1 | |
2018-07-13 | Travis: Use lts-12 resolver. | John MacFarlane | 1 | -1/+1 | |
2018-07-13 | Makefile: use lts12 resolver. | John MacFarlane | 1 | -1/+1 | |