Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-06-20 | Text.Pandoc.Lua - added DeriveDataTypeable for ghc 7.8. | John MacFarlane | 1 | -3/+4 | |
2017-06-20 | Lua: use registry to store function references | Albert Krewinkel | 1 | -29/+19 | |
Using the registry directly instead of a custom table is cleaner and more efficient. The performance improvement is especially noticable when filtering on frequent elements like Str. | |||||
2017-06-20 | Lua: apply hslint suggestions | Albert Krewinkel | 1 | -33/+32 | |
2017-06-20 | Added mention of vimwiki raeder more places. | John MacFarlane | 4 | -49/+58 | |
2017-06-20 | Removed redundant import. | John MacFarlane | 1 | -1/+0 | |
2017-06-20 | App: issue proper errors instead of using 'error'. | John MacFarlane | 1 | -2/+3 | |
2017-06-20 | Text.Pandoc.Lua: throw LuaException instead of using 'error'. | John MacFarlane | 2 | -8/+25 | |
Text.Pandoc.App: trap LuaException and issue a PandocFilterError. | |||||
2017-06-20 | Muse reader: check that headers start at the first column (#3749) | Alexander Krotov | 2 | -0/+19 | |
2017-06-20 | Docbook, JATS, TEI writers: print INFO message when omitting interior header. | John MacFarlane | 3 | -8/+14 | |
This only applies to section headers inside list items, e.g., which were otherwise silently omitted. See #3750. | |||||
2017-06-20 | FB2 writer: don't fail with an error on interior headers (e.g. in list). | John MacFarlane | 1 | -3/+5 | |
Instead, omit them with an INFO message. Closes #3750. | |||||
2017-06-20 | Fixed footnotes in table captions. | John MacFarlane | 2 | -16/+45 | |
Note that if the table has a first page header and a continuation page header, the notes will appear only on the first occurrence of the header. Closes #2378. | |||||
2017-06-20 | latex template: fix typo in fix for notes in tables. | John MacFarlane | 1 | -1/+1 | |
See https://github.com/jgm/pandoc-templates/commit/1475299c9aebfe3e47c135d6653202db3b2f6696#diff-c7c27b8e99f898fde7715afd9ae8cd02R126 However, this is not a complete fix: https://github.com/jgm/pandoc-templates/pull/208#issuecomment-309631622 Thanks to zeeMonkeez. See #2378. | |||||
2017-06-19 | Fixed name shadowing in benchmark. | John MacFarlane | 1 | -1/+1 | |
2017-06-19 | Tracing: give less misleading line information with parseWithString. | John MacFarlane | 2 | -3/+9 | |
Previously positions would be reported past the end of the chunk. We now reset the source position within the chunk and report positions "in chunk." | |||||
2017-06-19 | Vimwiki reader: adjusted for changes in trace. | John MacFarlane | 1 | -5/+3 | |
2017-06-19 | Separated tracing from logging. | John MacFarlane | 9 | -39/+40 | |
Formerly tracing was just log messages with a DEBUG log level. We now make these things independent. Tracing can be turned on or off in PandocMonad using `setTrace`; it is independent of logging. * Removed `DEBUG` from `Verbosity`. * Removed `ParserTrace` from `LogMessage`. * Added `trace`, `setTrace` to `PandocMonad`. | |||||
2017-06-19 | Muse reader: fix list item continuation parsing (#3747) | Alexander Krotov | 2 | -2/+15 | |
2017-06-19 | Added Vimwiki reader (#3705). | Yuchen Pei | 8 | -2/+1467 | |
* New module Text.Pandoc.Readers.Vimwiki, exporting readVimwiki [API change]. * New input format `vimwiki`. * New data file, `data/vimwiki.css`, for displaying the HTML produced by this reader and pandoc's HTML writer in the style of vimwiki's own HTML export. | |||||
2017-06-19 | Text.Pandoc.Writers.Math: export defaultMathJaxURL, defaultKaTeXURL. | John MacFarlane | 3 | -5/+15 | |
This will ensure that we only need to update these in one place. (Currently, for example, the mathjax URL is used in both App and trypandoc.) Closes #3685. | |||||
2017-06-19 | Mention muse reader in README, MANUAL, debian control, cabal description. | John MacFarlane | 4 | -15/+15 | |
2017-06-19 | Add Muse reader (#3620) | Alexander Krotov | 6 | -0/+849 | |
2017-06-19 | Mention Muse writer in MANUAL.txt (#3744) | Alexander Krotov | 1 | -1/+2 | |
2017-06-18 | Use revealjs's math plugin for mathjax. | John MacFarlane | 2 | -3/+18 | |
This is a thin wrapper around mathjax that makes math look better on revealjs. See https://github.com/hakimel/reveal.js/#mathjax We do this by setting the 'mathjax' boolean variable and using it in the revealjs template. Also, for revealjs and mathjax, we don't assign the usual thing to the 'math' variable, since it's handled by mathjax config. Closes #3743. | |||||
2017-06-18 | In producing PDFs, warn if the font is missing some characters. | John MacFarlane | 2 | -13/+40 | |
* Added `MissingCharacter` to `LogMessage` in Text.Pandoc.Logging. * Parse the (xe)latex log for missing character warnings and issue the warning. Closes #3742. | |||||
2017-06-17 | Allow QuickCheck 2.10 | John MacFarlane | 1 | -1/+1 | |
2017-06-17 | Relax time and process in preparation for GHC 8.2 (#3739) | Bartosz Nitka | 1 | -3/+3 | |
GHC 8.2 is very likely to ship with process-1.6.0.0 and time-1.8.0.1. Consult: https://ghc.haskell.org/trac/ghc/wiki/Commentary/Libraries/VersionHistory | |||||
2017-06-17 | Use Control.Monad.State.Strict throughout. | John MacFarlane | 33 | -34/+34 | |
This gives 20-30% speedup and reduction of memory usage in most of the writers. | |||||
2017-06-12 | Merge branch 'master' into textcolor-support | schrieveslaach | 220 | -4141/+6514 | |
2017-06-12 | Changed "extracting..." warning to a regular log message. | John MacFarlane | 3 | -35/+25 | |
This makes it sensitive to proper verbosity settings. (It is now treated as INFO rather than WARNING, so one doesn't get these messages for creation of tmp images while making a pdf.) API changes: * Removed extractMediaBag from Text.Pandoc.MediaBag. * Added Extracting as constructor for LogMessage. | |||||
2017-06-12 | Markdown writer: don't allow soft break in header. | John MacFarlane | 2 | -0/+32 | |
Closes #3736. | |||||
2017-06-11 | Don't allow backslash + newline to affect block structure. | John MacFarlane | 4 | -8/+30 | |
Note that as a result of this change, the following, which formerly produced a header with two lines separated by a line break, will now produce a header followed by a paragraph: # Hi\ there This may affect some existing documents that relied on this undocumented and unintended behavior. This change makes pandoc more consistent with other Markdown implementations, and with itself (since the two-space version of a line break doesn't work inside ATX headers, and neither version works inside Setext headers). Closes #3730. | |||||
2017-06-11 | Properly decode source from stdin. | John MacFarlane | 1 | -2/+1 | |
This should fix the appveyor failures. | |||||
2017-06-11 | Revert "Command tests: small change to try to fix appveyor failures." | John MacFarlane | 1 | -4/+3 | |
This reverts commit 0ab26ac9ebb0196691ec064820eac4e640f0d52c. Failed experiment. | |||||
2017-06-11 | Rewrote HTML reader to use Text throughout. | John MacFarlane | 1 | -137/+194 | |
- Export new NamedTag class from HTML reader. - Effect on memory usage is modest (< 10%). | |||||
2017-06-11 | Command tests: small change to try to fix appveyor failures. | John MacFarlane | 1 | -3/+4 | |
2017-06-11 | stack.pkg.yaml - update pandoc-citeproc commit. | John MacFarlane | 1 | -1/+1 | |
2017-06-11 | Support for \faCheck and \faClose (#3727) | schrieveslaach | 2 | -0/+16 | |
2017-06-11 | Removed redundant import. | John MacFarlane | 1 | -1/+1 | |
2017-06-11 | Switched Writer types to use Text. | John MacFarlane | 48 | -210/+292 | |
* XML.toEntities: changed type to Text -> Text. * Shared.tabFilter -- fixed so it strips out CRs as before. * Modified writers to take Text. * Updated tests, benchmarks, trypandoc. [API change] Closes #3731. | |||||
2017-06-10 | Writers.Shared: metaToJSON, generalized type so it can take a Text. | John MacFarlane | 1 | -9/+9 | |
Previously a String was needed as argument; now any ToJSON instance will do. API change. | |||||
2017-06-10 | Writers: changed StringWriter -> TextWriter. | John MacFarlane | 1 | -46/+47 | |
2017-06-10 | Fixed trypandoc to work with new API. | John MacFarlane | 1 | -53/+15 | |
2017-06-10 | Fixed weigh-pandoc for Text readers. | John MacFarlane | 3 | -3/+8 | |
2017-06-10 | Fixed benchmark to work with Text readers. | John MacFarlane | 2 | -5/+8 | |
2017-06-10 | Changed all readers to take Text instead of String. | John MacFarlane | 29 | -624/+672 | |
Readers: Renamed StringReader -> TextReader. Updated tests. API change. | |||||
2017-06-10 | Readers: Changed StringReader -> TextReader. | John MacFarlane | 1 | -23/+26 | |
2017-06-10 | UTF8: export fromText, fromTextLazy. | John MacFarlane | 1 | -2/+10 | |
2017-06-10 | App: change readSource(s) to use Text instead of String. | John MacFarlane | 1 | -10/+14 | |
2017-06-10 | UTF8: export toText, toTextLazy. | John MacFarlane | 1 | -17/+27 | |
Define toString, toStringLazy in terms of them. | |||||
2017-06-10 | Rewrote convertTabs to use Text not String. | John MacFarlane | 1 | -17/+11 | |