aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-06-19Text.Pandoc.Writers.Math: export defaultMathJaxURL, defaultKaTeXURL.John MacFarlane3-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-19Mention muse reader in README, MANUAL, debian control, cabal description.John MacFarlane4-15/+15
2017-06-19Add Muse reader (#3620)Alexander Krotov6-0/+849
2017-06-19Mention Muse writer in MANUAL.txt (#3744)Alexander Krotov1-1/+2
2017-06-18Use revealjs's math plugin for mathjax.John MacFarlane2-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-18In producing PDFs, warn if the font is missing some characters.John MacFarlane2-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-17Allow QuickCheck 2.10John MacFarlane1-1/+1
2017-06-17Relax time and process in preparation for GHC 8.2 (#3739)Bartosz Nitka1-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-17Use Control.Monad.State.Strict throughout.John MacFarlane33-34/+34
This gives 20-30% speedup and reduction of memory usage in most of the writers.
2017-06-12Changed "extracting..." warning to a regular log message.John MacFarlane3-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-12Markdown writer: don't allow soft break in header.John MacFarlane2-0/+32
Closes #3736.
2017-06-11Don't allow backslash + newline to affect block structure.John MacFarlane4-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-11Properly decode source from stdin.John MacFarlane1-2/+1
This should fix the appveyor failures.
2017-06-11Revert "Command tests: small change to try to fix appveyor failures."John MacFarlane1-4/+3
This reverts commit 0ab26ac9ebb0196691ec064820eac4e640f0d52c. Failed experiment.
2017-06-11Rewrote HTML reader to use Text throughout.John MacFarlane1-137/+194
- Export new NamedTag class from HTML reader. - Effect on memory usage is modest (< 10%).
2017-06-11Command tests: small change to try to fix appveyor failures.John MacFarlane1-3/+4
2017-06-11stack.pkg.yaml - update pandoc-citeproc commit.John MacFarlane1-1/+1
2017-06-11Support for \faCheck and \faClose (#3727)schrieveslaach2-0/+16
2017-06-11Removed redundant import.John MacFarlane1-1/+1
2017-06-11Switched Writer types to use Text.John MacFarlane48-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-10Writers.Shared: metaToJSON, generalized type so it can take a Text.John MacFarlane1-9/+9
Previously a String was needed as argument; now any ToJSON instance will do. API change.
2017-06-10Writers: changed StringWriter -> TextWriter.John MacFarlane1-46/+47
2017-06-10Fixed trypandoc to work with new API.John MacFarlane1-53/+15
2017-06-10Fixed weigh-pandoc for Text readers.John MacFarlane3-3/+8
2017-06-10Fixed benchmark to work with Text readers.John MacFarlane2-5/+8
2017-06-10Changed all readers to take Text instead of String.John MacFarlane29-624/+672
Readers: Renamed StringReader -> TextReader. Updated tests. API change.
2017-06-10Readers: Changed StringReader -> TextReader.John MacFarlane1-23/+26
2017-06-10UTF8: export fromText, fromTextLazy.John MacFarlane1-2/+10
2017-06-10App: change readSource(s) to use Text instead of String.John MacFarlane1-10/+14
2017-06-10UTF8: export toText, toTextLazy.John MacFarlane1-17/+27
Define toString, toStringLazy in terms of them.
2017-06-10Rewrote convertTabs to use Text not String.John MacFarlane1-17/+11
2017-06-09Changed comodo code signing key path.John MacFarlane1-1/+1
2017-06-05Added aspectratio variable to beamer template (#3723).Václav Haisman2-1/+6
* Transplant jgm/pandoc-templates#236 to Pandoc repository. * Document `aspectratio` in user manual. * Enumerate possible values for `aspectratio`.
2017-06-04Updated to lts-8.16 in stack.pkg.yaml.John MacFarlane1-1/+1
2017-06-04Removed circle.yml.John MacFarlane1-13/+0
2017-06-04Add circle.yml for CircleCI test.John MacFarlane1-0/+13
2017-06-04Fixed MacOS packaging script.John MacFarlane1-10/+8
2017-06-04Remove cpphs build requirement -- it is no longer needed.John MacFarlane1-3/+0
It was required when we used hsb2hs but no longer seemes needed with file-embed.
2017-06-04Updated man page.John MacFarlane1-186/+347
2017-06-04Use latest pandoc-citeproc in binary packages.John MacFarlane1-1/+1
2017-06-04stack.yaml - Use lts-8.16 resolver.John MacFarlane1-1/+1
2017-06-04.travis.yml - removed hsb2hs stuff.John MacFarlane1-2/+1
2017-06-03Improve code style in lua and org modulesAlbert Krewinkel12-83/+75
2017-06-03Org reader: apply hlint suggestionsAlbert Krewinkel7-89/+84
2017-06-02hlint suggestions.John MacFarlane8-36/+37
2017-06-02Fixed keywords in docx writer.John MacFarlane1-1/+6
(See #3719)
2017-06-02Merge pull request #3719 from iandol/patch-2John MacFarlane1-0/+1
Add keywords metadata to docx core.xml document properties
2017-06-02Fixed HTML reader.John MacFarlane1-2/+3
2017-06-02Add keywords metadata to docx document propertiesIan1-0/+1
Hi, I don't know haskell so possibly this is wrong, but DOCX stores keywords in cp:keywords in core.xml, and this should be easy to add from the pandoc metadata (I copy and paste the author code). As far as I can tell (no clear documentation, just a few refs), keywords should be separated with a comma.
2017-06-01HTML reader: Use sets instead of lists for block tag lookup.John MacFarlane1-50/+43