summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Use Control.Monad.State.Strict throughout.John MacFarlane2017-06-17
| | | | | This gives 20-30% speedup and reduction of memory usage in most of the writers.
* Changed "extracting..." warning to a regular log message.John MacFarlane2017-06-12
| | | | | | | | | | | | 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.
* Markdown writer: don't allow soft break in header.John MacFarlane2017-06-12
| | | | Closes #3736.
* Don't allow backslash + newline to affect block structure.John MacFarlane2017-06-11
| | | | | | | | | | | | | | | | | | | | 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.
* Properly decode source from stdin.John MacFarlane2017-06-11
| | | | This should fix the appveyor failures.
* Revert "Command tests: small change to try to fix appveyor failures."John MacFarlane2017-06-11
| | | | | | This reverts commit 0ab26ac9ebb0196691ec064820eac4e640f0d52c. Failed experiment.
* Rewrote HTML reader to use Text throughout.John MacFarlane2017-06-11
| | | | | - Export new NamedTag class from HTML reader. - Effect on memory usage is modest (< 10%).
* Command tests: small change to try to fix appveyor failures.John MacFarlane2017-06-11
|
* stack.pkg.yaml - update pandoc-citeproc commit.John MacFarlane2017-06-11
|
* Support for \faCheck and \faClose (#3727)schrieveslaach2017-06-11
|
* Removed redundant import.John MacFarlane2017-06-11
|
* Switched Writer types to use Text.John MacFarlane2017-06-11
| | | | | | | | | | | * 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.
* Writers.Shared: metaToJSON, generalized type so it can take a Text.John MacFarlane2017-06-10
| | | | | | | Previously a String was needed as argument; now any ToJSON instance will do. API change.
* Writers: changed StringWriter -> TextWriter.John MacFarlane2017-06-10
|
* Fixed trypandoc to work with new API.John MacFarlane2017-06-10
|
* Fixed weigh-pandoc for Text readers.John MacFarlane2017-06-10
|
* Fixed benchmark to work with Text readers.John MacFarlane2017-06-10
|
* Changed all readers to take Text instead of String.John MacFarlane2017-06-10
| | | | | | | | Readers: Renamed StringReader -> TextReader. Updated tests. API change.
* Readers: Changed StringReader -> TextReader.John MacFarlane2017-06-10
|
* UTF8: export fromText, fromTextLazy.John MacFarlane2017-06-10
|
* App: change readSource(s) to use Text instead of String.John MacFarlane2017-06-10
|
* UTF8: export toText, toTextLazy.John MacFarlane2017-06-10
| | | | Define toString, toStringLazy in terms of them.
* Rewrote convertTabs to use Text not String.John MacFarlane2017-06-10
|
* Changed comodo code signing key path.John MacFarlane2017-06-09
|
* Added aspectratio variable to beamer template (#3723).Václav Haisman2017-06-05
| | | | | | * Transplant jgm/pandoc-templates#236 to Pandoc repository. * Document `aspectratio` in user manual. * Enumerate possible values for `aspectratio`.
* Updated to lts-8.16 in stack.pkg.yaml.John MacFarlane2017-06-04
|
* Removed circle.yml.John MacFarlane2017-06-04
|
* Add circle.yml for CircleCI test.John MacFarlane2017-06-04
|
* Fixed MacOS packaging script.John MacFarlane2017-06-04
|
* Remove cpphs build requirement -- it is no longer needed.John MacFarlane2017-06-04
| | | | | It was required when we used hsb2hs but no longer seemes needed with file-embed.
* Updated man page.John MacFarlane2017-06-04
|
* Use latest pandoc-citeproc in binary packages.John MacFarlane2017-06-04
|
* stack.yaml - Use lts-8.16 resolver.John MacFarlane2017-06-04
|
* .travis.yml - removed hsb2hs stuff.John MacFarlane2017-06-04
|
* Improve code style in lua and org modulesAlbert Krewinkel2017-06-03
|
* Org reader: apply hlint suggestionsAlbert Krewinkel2017-06-03
|
* hlint suggestions.John MacFarlane2017-06-02
|
* Fixed keywords in docx writer.John MacFarlane2017-06-02
| | | | (See #3719)
* Merge pull request #3719 from iandol/patch-2John MacFarlane2017-06-02
|\ | | | | Add keywords metadata to docx core.xml document properties
| * Add keywords metadata to docx document propertiesIan2017-06-02
| | | | | | 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.
* | Fixed HTML reader.John MacFarlane2017-06-02
|/
* HTML reader: Use sets instead of lists for block tag lookup.John MacFarlane2017-06-01
|
* HTML reader: Removed "button" from block tag list.John MacFarlane2017-06-01
| | | | | | | | | | | | | It is already in the eitherBlockOrInlineTag list, and should be both places. Closes #3717. Note: the result of this change is that there will be p tags around the whole paragraph. That is the right result, because the `button` tags are treated as inline HTML here, and the whole chunk of text is a Markdown paragraph.
* HTML writer: Avoid two class attributes when adding 'uri' class.John MacFarlane2017-06-01
| | | | Closes #3716.
* Some hlint refactoring.John MacFarlane2017-06-01
|
* Makefile: added 'lint' target.John MacFarlane2017-06-01
|
* Trivial reformatting.John MacFarlane2017-06-01
|
* Use isNothing.John MacFarlane2017-06-01
|
* Trivial renaming.John MacFarlane2017-06-01
|
* Markdown writer: Avoid inline surround-marking with empty content.John MacFarlane2017-06-01
| | | | | | | E.g. we don't want `<strong></strong>` to become `****`. Similarly for emphasis, super/subscript, strikeout. Closes #3715.