Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-12-05 | Fix makeSections so it doesn't turn column divs into sections. | John MacFarlane | 1 | -1/+3 | |
2019-12-04 | Fix regression with behavior of --variable. | John MacFarlane | 1 | -2/+8 | |
Previously -Vfoo=1 -Vfoo=2 would produce a list value for foo; with 2.8 it produced just '2'. This commit restores the earlier beahvior. Closes #5962. | |||||
2019-12-03 | Move data/emoji.json to emoji.json, add to extra-source-files. | John MacFarlane | 1 | -1/+1 | |
This doesn't really belong in data-files as it's not loaded dynamically. | |||||
2019-11-29 | Add `ascii_identifiers` as a supported extension for `markdown`. | John MacFarlane | 1 | -27/+25 | |
This fixes a regression in 2.8. | |||||
2019-11-27 | Use `[|..|]` syntax to simplify Emoji.TH. | John MacFarlane | 1 | -6/+6 | |
2019-11-27 | Remove redundant import. | John MacFarlane | 1 | -1/+0 | |
2019-11-27 | Generate Emoji module with TH. | John MacFarlane | 2 | -1793/+43 | |
- Add Text.Pandoc.Emoji.TH. - Replace long literal list in Text.Pandoc.Emoji with one-liner generating it from data/emoji.json using TH. - Add Makefile target to download data/emoji.json. - Remove tools/emoji.hs. | |||||
2019-11-27 | LaTeX writer - hlint. | John MacFarlane | 1 | -29/+24 | |
2019-11-27 | HTML writer: hlint improvements. | John MacFarlane | 1 | -25/+22 | |
2019-11-27 | Removed useless cpp for old versions of blaze. | John MacFarlane | 1 | -14/+0 | |
2019-11-27 | Removed unneeded pragma. | John MacFarlane | 1 | -1/+0 | |
2019-11-26 | Add pdf to list of output formats (`--list-output-formats`). | John MacFarlane | 1 | -1/+2 | |
Closes #5938. | |||||
2019-11-25 | EPUB writer: Fix regression with `--css option. | John MacFarlane | 1 | -9/+13 | |
Closes #5937. | |||||
2019-11-25 | RST writers: Use grid tables for 1-column tables. | John MacFarlane | 1 | -1/+1 | |
With simple tables, we have a clash with heading syntax. Closes #5936. | |||||
2019-11-24 | Add unexported Text.Pandoc.Readers.Metadata. | John MacFarlane | 3 | -105/+162 | |
For YAML metadata parsing. A step in the direction of #5914. No API change. | |||||
2019-11-22 | Jira writer: improve escaping of special chars (#5925) | Albert Krewinkel | 1 | -18/+9 | |
Backslash-escaping is used instead of HTML entities, as escaped characters are easier to read this way. Furthermore, Confluence, which seems to use a subset of Jira markup, seems to get confused by HTML entities. | |||||
2019-11-21 | LaTeX reader: parse \micro siunitx unit command (#5921) | Jose Luis Duran | 1 | -0/+1 | |
This was somehow missed in 884aef31c55e375cd62fcb55a71829d005087cae. | |||||
2019-11-21 | TEI writer: don't strip hash from internal links. | John MacFarlane | 1 | -6/+2 | |
Closes #5922. | |||||
2019-11-20 | Fix typos (#5919) | Brian Wignall | 1 | -1/+1 | |
2019-11-19 | Improve markdown escaping in list items. | John MacFarlane | 1 | -27/+25 | |
Closes #5918. | |||||
2019-11-18 | DokuWiki reader: parse markup inside monospace ('') (#5917) | Alexander Krotov | 1 | -2/+2 | |
Fixes #5916 | |||||
2019-11-17 | Reverted the behavior change with `--title-prefix`. | John MacFarlane | 2 | -2/+4 | |
It now implies `--standalone` again, as before. | |||||
2019-11-17 | Ensure that options imply `--standalone` even in defaults file. | John MacFarlane | 1 | -14/+15 | |
Certain options (`--self-contained`, `--include-in-header`, etc.) imply `--standalone`. We now handle this after option parsing so that it affects options specified in defaults files too. Behavior change: `--title-prefix` no longer implies `--standalone`. | |||||
2019-11-16 | Ms writer: boldface definition terms in DefinitionLists. | John MacFarlane | 1 | -1/+2 | |
Like LaTeX, ConTeXt. | |||||
2019-11-16 | ConTeXt writer: set csl-hanging-ident variable if needed. | John MacFarlane | 1 | -2/+6 | |
2019-11-16 | ConTeXt writer: Use special environment for CSL references. | John MacFarlane | 1 | -0/+8 | |
2019-11-16 | ConTeXt writer: use braces, not start/stop, for inline language tags. | John MacFarlane | 1 | -2/+2 | |
This prevents unwanted gobbling of spaces. | |||||
2019-11-16 | Add `Ext_smart` to list of possible extensions for HTML. | John MacFarlane | 1 | -0/+1 | |
2019-11-15 | RST writer: Improve spacing for tables with no width information. | John MacFarlane | 2 | -6/+26 | |
If a simple table would be too wide, we use a grid table. The code for generating grid tables has been adjusted to give more intelligent column widths when widths aren't given. (This also affects the markdown writer.) Closes #5899. | |||||
2019-11-15 | LaTeX Reader: Add KOMA-Script metadata commands (#5910) | Andrew Dunning | 1 | -1/+8 | |
Add all titling commands to existing definition for `\dedication`. | |||||
2019-11-14 | Default files: Allow leaving input-files blank again. | John MacFarlane | 1 | -3/+4 | |
Leaving it blank yields a Nothing value (interpreted as stdin). Providing an empty list is intepreted as no input. This resolves one part of #5888. | |||||
2019-11-14 | Change optInputFiles to a `Maybe [FilePath]`. | John MacFarlane | 4 | -15/+21 | |
`Nothing` means: nothing specified. `Just []` means: an empty list specified (e.g. in defaults). Potentially these could lead to different behavior: see #5888. | |||||
2019-11-14 | Writers.Shared: Clean up code for adding metadata to variables. | John MacFarlane | 1 | -10/+9 | |
2019-11-14 | Markdown reader: use take1WhileP for table row. | John MacFarlane | 1 | -1/+1 | |
2019-11-14 | Markdown reader: Use take1WhileP for str. | John MacFarlane | 1 | -1/+3 | |
This yields a small but measurable performance improvement. | |||||
2019-11-14 | Parsing: Rename takeWhileP -> take1WhileP and clean it up. | John MacFarlane | 1 | -9/+11 | |
(It doesn't match the empty sequence.) | |||||
2019-11-14 | Allow combining `-Vheader-includes` and `--include-in-header`. | John MacFarlane | 1 | -15/+21 | |
Closes #5904. | |||||
2019-11-14 | Fix regression preventing header-includes from being set using -V. | John MacFarlane | 1 | -1/+2 | |
See #5904. | |||||
2019-11-14 | RST writer: fix backslash escaping after strings | Albert Krewinkel | 1 | -2/+2 | |
The check whether a complex inline element following a string must be escaped, now depends on the last character of the string instead of the first. Fixes: #5906 | |||||
2019-11-13 | Fix regression introduced by last commit. | John MacFarlane | 1 | -1/+2 | |
2019-11-13 | Markdown reader: don't parse footnote body unless extension enabled. | John MacFarlane | 1 | -18/+20 | |
2019-11-13 | Default files: combine with prior values when appropriate. | John MacFarlane | 1 | -21/+45 | |
Certain command-line arguments can be repeated: `--metadata-file`, `--css`, `--include-in-header`, `--include-before-body`, `--include-after-body`, `--variable`, `--metadata`, `--syntax-definition`. In these cases, values specified in default files should be added to the list rather than replacing values specified earlier on the command line (perhaps in other default files). So, for example, if one does pandoc --variable foo=3 --defaults d1 --defaults d2 and `d1` sets the variable `bar` and `d2` sets `baz`, all three variables will be set. Closes #5894. | |||||
2019-11-13 | Use `atx-headers` rather than `setext-headers` in defaults file... | John MacFarlane | 1 | -2/+2 | |
for consistency with CLI options. See #5894. | |||||
2019-11-13 | Ensure there's a blank line before RST tables. | John MacFarlane | 1 | -4/+5 | |
Closes #5898. | |||||
2019-11-12 | Switch to new pandoc-types and use Text instead of String [API change]. | despresc | 124 | -5922/+6294 | |
PR #5884. + Use pandoc-types 1.20 and texmath 0.12. + Text is now used instead of String, with a few exceptions. + In the MediaBag module, some of the types using Strings were switched to use FilePath instead (not Text). + In the Parsing module, new parsers `manyChar`, `many1Char`, `manyTillChar`, `many1TillChar`, `many1Till`, `manyUntil`, `mantyUntilChar` have been added: these are like their unsuffixed counterparts but pack some or all of their output. + `glob` in Text.Pandoc.Class still takes String since it seems to be intended as an interface to Glob, which uses strings. It seems to be used only once in the package, in the EPUB writer, so that is not hard to change. | |||||
2019-11-11 | Fix typos (#5896) | Brian Wignall | 2 | -2/+2 | |
2019-11-11 | Markdown reader: fix small super/subscript issue. | John MacFarlane | 1 | -2/+6 | |
Superscripts and subscripts cannot contain spaces, but newlines were previously allowed (unintentionally). This led to bad interactions in some cases with footnotes. E.g. ``` foo^[note] bar^[note] ``` With this change newlines are also not allowed inside super/subscripts. Closes #5878. | |||||
2019-11-11 | Change the implementation of `htmlSpanLikeElements` and implement `<dfn>` ↵ | Florian Beeres | 3 | -7/+16 | |
(#5882) * Add HTML Reader support for `<dfn>`, parsing this as a Span with class `dfn`. * Change `htmlSpanLikeElements` implementation to retain classes, attributes and inline content. | |||||
2019-11-07 | DocBook reader: Fix bug with entities in mathphrase element. | John MacFarlane | 1 | -4/+2 | |
Closes #5885. | |||||
2019-11-07 | Fix list fields in Opt so they aren't reversed. | John MacFarlane | 3 | -30/+30 | |
Previously optIncludeInHeader, etc. were in reverse order. This has been changed to promote #5881. Note also that the `sourcefile` variable used to be sometimes a string, sometimes a list (when there was more than one). Now it is always a list. |