aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-10-15Added failing test case for macros.John MacFarlane1-0/+18
2018-10-15LaTeX reader: improve parsing of `\def` argspec.John MacFarlane1-4/+4
2018-10-15T.P.R.LaTeX.Parsing: moved some functions up a level.John MacFarlane1-20/+21
2018-10-15Lua filters doc: add ReaderOptions to list of objectsAlbert Krewinkel1-0/+35
2018-10-15Lua filters: rename ReaderOptions fields, use snake_caseAlbert Krewinkel1-5/+28
Snake case is used in most variable names, using camelCase for these fields was an oversight. A metatable is added to ensure that the old field names remain functional.
2018-10-14LaTeX reader: skip `\PackageError` commands.John MacFarlane1-0/+2
See #4408. But this doesn't fix the issue.
2018-10-14Markdown writer: ensure blank between raw block and normal content.John MacFarlane3-0/+15
Otherwise a raw block can prevent a paragraph from being recognized as such. Closes #4629.
2018-10-14Use pandoc-citeproc 0.14.7.John MacFarlane4-4/+4
2018-10-14Markdown reader: Fix awkward soft break movements before abbreviations.John MacFarlane3-6/+42
Closes #4635.
2018-10-14Travis: give up again on ghc 8.6.1 with cabal.John MacFarlane1-3/+3
2018-10-14Travis - another try, without targets.John MacFarlane1-2/+2
2018-10-14Custom writer: provide PANDOC_DOCUMENT instead of Setup functionAlbert Krewinkel2-41/+39
Custom writers have access to the global variable `PANDOC_DOCUMENT`. The variable contains a userdata wrapper around the full pandoc AST and exposes two fields, `meta` and `blocks`. The field content is only marshaled on-demand, performance of scripts not accessing the fields remains unaffected.
2018-10-14Travis: don't use targets in install deps.John MacFarlane1-1/+1
2018-10-14Travis: another try.John MacFarlane1-3/+3
2018-10-14Markdown reader: Added updateStrPos in a couple places where needed.John MacFarlane1-1/+2
2018-10-14Another attempt to make travis work on cabal/ghc 8.6.1.John MacFarlane1-1/+1
2018-10-14Travis: removed quotes.John MacFarlane1-1/+1
2018-10-14Another try at ghc 8.6.1/cabal on travis.John MacFarlane1-3/+3
2018-10-14Revert "Travis: add ghc 8.6.1 build."John MacFarlane1-3/+3
This reverts commit 8cee5b183e0cdbd0137b9bedb4728c8ef15f1145.
2018-10-14Revert "Tweak travis for ghc 8.6.1."John MacFarlane1-2/+2
This reverts commit eed4514c4c8985da8b0e1c3d358311a0043ea870.
2018-10-14Tweak travis for ghc 8.6.1.John MacFarlane1-2/+2
2018-10-13Custom writer: give full access to doc in optional Setup function (#4967)Albert Krewinkel2-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-13Travis: add ghc 8.6.1 build.John MacFarlane1-3/+3
2018-10-13Update benchmarks for ghc 8.6.1.John MacFarlane2-12/+18
2018-10-13Makefile: added full-cabal target.John MacFarlane1-3/+9
Also, use cabal-new configure in quick-cabal and full-cabal.
2018-10-13Makefile: make trypandoc, benchmarks in quick-cabal target.John MacFarlane1-2/+2
2018-10-14tests, commented debug functionsYan Pas2-30/+70
2018-10-13data/sample.lua: replace custom pipe function with pandoc.utils.pipeAlbert Krewinkel1-14/+3
2018-10-13Use pandoc-citeproc 0.14.6.John MacFarlane4-4/+4
2018-10-13Lua filter docs: add documentation for Element/SecAlbert Krewinkel1-0/+30
2018-10-13Lua filter internals: push Shared.Element as userdataAlbert Krewinkel1-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-12Lua filters: push ListAttributes via constructorAlbert Krewinkel2-2/+17
This ensures that ListAttributes, as present in OrderedList elements, have additional accessors (viz. *start*, *style*, and *delimiter*).
2018-10-11Lua filter docs: document list attributesAlbert Krewinkel1-3/+27
2018-10-11data/pandoc.lua: add datatype ListAttributesAlbert Krewinkel2-1/+46
Make ListAttributes a datatype. The type is similar to Attr.
2018-10-11Lua filter docs: document fields of Citation objectsAlbert Krewinkel1-2/+26
2018-10-11Lua filter docs: document fields of inline objectsAlbert Krewinkel1-14/+96
2018-10-11HTML reader: fix htmlTag and isInlineTag to accept processing instructions.John MacFarlane2-8/+23
Fixes regression #3123 (since 2.0). Added regression test.
2018-10-11Muse reader internals: don't use "choice" with static listAlexander Krotov1-18/+16
2018-10-11Muse reader: use indentWith to parse indentationAlexander Krotov1-2/+2
2018-10-11Muse reader: move museInPara from state to environmentAlexander Krotov1-34/+25
2018-10-10INSTALL.md: Add chromeos install instructions (#4958)Evan Pratten1-0/+13
2018-10-10Pandoc.Parsing: rewrite nonspaceChar using noneOfAlexander Krotov1-1/+1
2018-10-10Vimwiki reader: get rid of F, runF and stateMeta' in favor of stateMetaAlexander Krotov1-6/+6
2018-10-10Muse reader internals: merge link and explicit link parsers into one functionAlexander Krotov1-13/+5
2018-10-10Test that Muse reader can parse code with = sign insideAlexander Krotov1-0/+2
(fixed by previous commit)
2018-10-10Muse reader: rewrite code parser in applicative styleAlexander Krotov1-8/+5
2018-10-10Muse reader: fix parsing of empty cellsAlexander Krotov2-1/+12
2018-10-10Reimplement mapLeft using Bifunctor.firstAlexander Krotov1-2/+2
2018-10-10Muse reader: simplify table parsingAlexander Krotov1-10/+6
2018-10-09posix man files parsed successfullyYan Pas2-6/+8