Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-10-14 | Tweak travis for ghc 8.6.1. | John MacFarlane | 1 | -2/+2 | |
2018-10-13 | Custom writer: give full access to doc in optional Setup function (#4967) | Albert Krewinkel | 2 | -4/+50 | |
Custom writers can specify an optional `Setup` function. The function takes the full Pandoc document as input and should not return any value. Users can use this function to configure the writer depending on the given document's content or its metadata. data/sample.lua: add sample use of Setup function. The change allows to control the image format used to encode the image produced from dot code. Closes #4957 | |||||
2018-10-13 | Travis: add ghc 8.6.1 build. | John MacFarlane | 1 | -3/+3 | |
2018-10-13 | Update benchmarks for ghc 8.6.1. | John MacFarlane | 2 | -12/+18 | |
2018-10-13 | Makefile: added full-cabal target. | John MacFarlane | 1 | -3/+9 | |
Also, use cabal-new configure in quick-cabal and full-cabal. | |||||
2018-10-13 | Makefile: make trypandoc, benchmarks in quick-cabal target. | John MacFarlane | 1 | -2/+2 | |
2018-10-13 | data/sample.lua: replace custom pipe function with pandoc.utils.pipe | Albert Krewinkel | 1 | -14/+3 | |
2018-10-13 | Use pandoc-citeproc 0.14.6. | John MacFarlane | 4 | -4/+4 | |
2018-10-13 | Lua filter docs: add documentation for Element/Sec | Albert Krewinkel | 1 | -0/+30 | |
2018-10-13 | Lua filter internals: push Shared.Element as userdata | Albert Krewinkel | 1 | -19/+24 | |
Hierarchical Elements were pushed to Lua as plain tables. This is simple, but has the disadvantage that marshaling is eager: all child elements will be marshaled as part of the object. Using a Lua userdata object instead allows lazy access to fields, causing content marshaling just (but also each time) when a field is accessed. Filters which do not traverse the full element contents tree become faster as a result. | |||||
2018-10-12 | Lua filters: push ListAttributes via constructor | Albert Krewinkel | 2 | -2/+17 | |
This ensures that ListAttributes, as present in OrderedList elements, have additional accessors (viz. *start*, *style*, and *delimiter*). | |||||
2018-10-11 | Lua filter docs: document list attributes | Albert Krewinkel | 1 | -3/+27 | |
2018-10-11 | data/pandoc.lua: add datatype ListAttributes | Albert Krewinkel | 2 | -1/+46 | |
Make ListAttributes a datatype. The type is similar to Attr. | |||||
2018-10-11 | Lua filter docs: document fields of Citation objects | Albert Krewinkel | 1 | -2/+26 | |
2018-10-11 | Lua filter docs: document fields of inline objects | Albert Krewinkel | 1 | -14/+96 | |
2018-10-11 | HTML reader: fix htmlTag and isInlineTag to accept processing instructions. | John MacFarlane | 2 | -8/+23 | |
Fixes regression #3123 (since 2.0). Added regression test. | |||||
2018-10-11 | Muse reader internals: don't use "choice" with static list | Alexander Krotov | 1 | -18/+16 | |
2018-10-11 | Muse reader: use indentWith to parse indentation | Alexander Krotov | 1 | -2/+2 | |
2018-10-11 | Muse reader: move museInPara from state to environment | Alexander Krotov | 1 | -34/+25 | |
2018-10-10 | INSTALL.md: Add chromeos install instructions (#4958) | Evan Pratten | 1 | -0/+13 | |
2018-10-10 | Pandoc.Parsing: rewrite nonspaceChar using noneOf | Alexander Krotov | 1 | -1/+1 | |
2018-10-10 | Vimwiki reader: get rid of F, runF and stateMeta' in favor of stateMeta | Alexander Krotov | 1 | -6/+6 | |
2018-10-10 | Muse reader internals: merge link and explicit link parsers into one function | Alexander Krotov | 1 | -13/+5 | |
2018-10-10 | Test that Muse reader can parse code with = sign inside | Alexander Krotov | 1 | -0/+2 | |
(fixed by previous commit) | |||||
2018-10-10 | Muse reader: rewrite code parser in applicative style | Alexander Krotov | 1 | -8/+5 | |
2018-10-10 | Muse reader: fix parsing of empty cells | Alexander Krotov | 2 | -1/+12 | |
2018-10-10 | Reimplement mapLeft using Bifunctor.first | Alexander Krotov | 1 | -2/+2 | |
2018-10-10 | Muse reader: simplify table parsing | Alexander Krotov | 1 | -10/+6 | |
2018-10-09 | Added docx/docPropos/custom.xml to cabal data-files. | John MacFarlane | 1 | -0/+1 | |
2018-10-09 | Docx writer: added framework for custom properties. | John MacFarlane | 31 | -3/+26 | |
So far, we don't actually write any custom properties, but we have the infrastructure to add this. See #3034. | |||||
2018-10-09 | Get rid of mapLeft in Muse reader | Alexander Krotov | 1 | -3/+3 | |
2018-10-09 | hlint Muse writer | Alexander Krotov | 1 | -4/+4 | |
2018-10-09 | Muse reader: rewrite parseHtmlContent, verseTag and lineBlock in applicative ↵ | Alexander Krotov | 1 | -18/+12 | |
style | |||||
2018-10-09 | Get rid of unnecessary bind "res" | Alexander Krotov | 1 | -2/+1 | |
2018-10-08 | Fixed tests for new skylighting. | John MacFarlane | 3 | -9/+9 | |
2018-10-08 | Require skylighting 0.7.4. | John MacFarlane | 5 | -5/+9 | |
Closes #4920. | |||||
2018-10-08 | LaTeX writer with `--listings`: don't pass through org-babel attributes. | John MacFarlane | 1 | -1/+4 | |
So far: just, tangle, exports, results which are used by org mode. It might be better to use a whitelist of legal listings attributes, but there are a large number, and these may change. Closes #4889. | |||||
2018-10-08 | Add helpful suggestion to missing title warning. | John MacFarlane | 1 | -1/+2 | |
Tell users what to add to the command line to avoid the warning. Closes #4909. | |||||
2018-10-08 | LaTeX writer: with `--biblatex`, use `\autocite` when possible. | John MacFarlane | 2 | -13/+43 | |
`\autocites{a1}{a2}{a3}` will not collapse the entries. So, if we don't have prefixes and suffixes, we use instead `\autocite{a1;a2;a3}`. Closes #4960. | |||||
2018-10-08 | ODT writer: improve metadata. | John MacFarlane | 1 | -7/+26 | |
- Author, date added to metadata. - Remaining metadata properties (besides author, date, title, lang) are added as meta:user-defined tags. | |||||
2018-10-07 | Docx writer: handle tables in table cells. | John MacFarlane | 1 | -2/+7 | |
Although this is not documented in the spec, some versions of Word require a 'w:p' element inside every table cell. Thus, we add one when the contents of a cell do not already include one (e.g. when a table cell contains a table). Closes #4953. | |||||
2018-10-07 | RST reader: don't allow single-dash separator in headerless table. | John MacFarlane | 2 | -1/+13 | |
Closes #4382. | |||||
2018-10-07 | LaTeX reader: fix bugs omitting raw tex. | John MacFarlane | 5 | -10/+28 | |
The default is `-raw_tex`, so no raw tex should result unless we explicitly say `+raw_tex`. Previously some raw commands did make it through. Closes #4527. | |||||
2018-10-07 | INSTALL: note about TinyTeX. | John MacFarlane | 1 | -1/+2 | |
2018-10-07 | RST reader: pass through fields in unknown directives as div attributes. | John MacFarlane | 2 | -17/+36 | |
This commit also adds support for `class` and `name` attributes to directives in general. Closes #4715. | |||||
2018-10-07 | Makefile - make .msi download targets more robust. | John MacFarlane | 1 | -2/+2 | |
Now they should be insensitive to changes in the order of the builds on appveyor. | |||||
2018-10-07 | Revert export of hasSimpleCells from T.P.Writers.Shared. | John MacFarlane | 1 | -18/+0 | |
This wasn't necessary. | |||||
2018-10-06 | RST writer: use simple tables when possible. | John MacFarlane | 4 | -42/+82 | |
Closes #4750. Text.Pandoc.Writers.Shared now exports hasSimpleCells [API change]. | |||||
2018-10-06 | Documentation: add draft for Lua objects reference | Albert Krewinkel | 1 | -0/+396 | |
2018-10-06 | Lua filter doc: fix description of Code.text | Albert Krewinkel | 2 | -2/+2 | |