Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-01-25 | FB2 writer: Rewrite image-fetching to use fetchItem. | Jesse Rosenthal | 1 | -43/+11 | |
This uses the function from shared, which will allow us to convert it over to the free monad. | |||||
2017-01-25 | Continue refactoring FB2 writer. | Jesse Rosenthal | 1 | -8/+14 | |
2017-01-25 | FB2 writer: bring functions to toplevel. | Jesse Rosenthal | 1 | -47/+53 | |
This is the first of a number of changes to bring the FB2 writer a bit closer to the idioms used elsewhere in pandoc, so it can be more easily converted to using the pure functions from Free. | |||||
2017-01-25 | Make pure rtf writer using free. | Jesse Rosenthal | 1 | -4/+13 | |
2017-01-25 | Fix up compiler warnings. | Jesse Rosenthal | 1 | -1/+3 | |
Export TestState and TestEnv, and remove redundant import. | |||||
2017-01-25 | Implement runTest functions. | Jesse Rosenthal | 7 | -85/+177 | |
These work with a State monad and a Reader monad to produce deterministic results. It can probably be simplified somewhat. | |||||
2017-01-25 | Remove IORef from EPUB writer. | Jesse Rosenthal | 1 | -51/+62 | |
2017-01-25 | Remove IORef from ODT writer. | Jesse Rosenthal | 1 | -24/+38 | |
We want pure writers, so IORef shouldn't be in there. We switch to using a normal State Monad. If this produces performance problems, we can look into trying STRefs, but that seems like unnecessary complication at the moment. | |||||
2017-01-25 | Introduce pure versions of IO Writers. | Jesse Rosenthal | 4 | -90/+124 | |
Using Text.Pandoc.Free, introduce pure versions of Docx, EPUB, ICML, and ODT writers. Each of the pure versions is exported along with the IO version (produced by running `runIO` on the pure reader). Ideally, this should make the writers easier to test. | |||||
2017-01-25 | New Free module, with pure versions of IO funcs | Jesse Rosenthal | 2 | -1/+211 | |
Introduce a new module, Text.Pandoc.Free, with pure versions, based on the free monad, of numerous IO functions used in writers and readers. These functions are in a pure Monad (PandocAction). PandocAction takes as a parameter the type of IORefs in it. It can be aliased in individual writers and readers to avoid this parameter. Note that this means that at the moment a reader can only use one type of IORef. If possible, it would be nice to remove this limitation. | |||||
2017-01-25 | Adds support for pagebreaks (when it makes sense) | Hubert Plociniczak | 22 | -11/+48 | |
Update all writers to take into account page breaks. A straightforwad, far from complete, implementation of page breaks in selected writers. Readers will have to follow in the future as well. | |||||
2017-01-25 | Added page breaks into Pandoc. | Hubert Plociniczak | 3 | -13/+61 | |
This requires an updated version of pandoc-types that introduces PageBreak definition. Not that this initial commit only introduces ODT pagebreaks and distinguishes for it page breaks before, after, or both, the paragraph, as read from the style definition. | |||||
2017-01-25 | Copied a few changes from default.latex to default.beamer. | John MacFarlane | 1 | -12/+7 | |
(Wandmalfarbe) | |||||
2017-01-25 | Update list of listings languages in Highlighting. | John MacFarlane | 1 | -54/+103 | |
This allows more languages to be used when using the `--listings` option. Closes #3374. | |||||
2017-01-24 | OpenDocument writer: small refactoring. | John MacFarlane | 1 | -8/+11 | |
Removed separate 'parent' param in paraStyle. | |||||
2017-01-24 | Update latex writer test for template change. | John MacFarlane | 1 | -1/+1 | |
2017-01-24 | Changed position of \VerbatimNotes and fancyvrb in latex, beamer templates. | John MacFarlane | 1 | -7/+12 | |
This fixes hyperlinks on footnotes in documents that contain verbatim in notes. (Note: the beamer template was updated to match the LaTeX template, but at this point verbatim in notes seems not to work in beamer.) Closes #3361. | |||||
2017-01-24 | travis: catch #3372 (#3373) | ickc | 1 | -0/+5 | |
2017-01-23 | OpenDocument writer: don't profilerate text styles unnecessarily. | John MacFarlane | 2 | -137/+102 | |
This change makes the writer create only as many temporary text styles as are absolutely necessary. It also consolidates adjacent nodes with the same style. Closes #3371. | |||||
2017-01-21 | Use skylighting 0.1.1.1 in stack.yaml. | John MacFarlane | 4 | -4/+6 | |
2017-01-19 | Org reader: allow short hand for single-line raw blocks | Albert Krewinkel | 3 | -8/+29 | |
Single-line raw blocks can be given via `#+FORMAT: raw line`, where `FORMAT` must be one of `latex`, `beamer`, `html`, or `texinfo`. Closes: #3366 | |||||
2017-01-19 | windows stack.yaml - use latest skylighting. | John MacFarlane | 1 | -1/+1 | |
2017-01-19 | Some fixes to permit breezeDark style. | John MacFarlane | 1 | -2/+2 | |
2017-01-19 | Add breezeDark to the list of highlighting styles. | John MacFarlane | 2 | -3/+5 | |
2017-01-19 | Use skylighting 0.1.1. | John MacFarlane | 2 | -4/+4 | |
Closes #3363. | |||||
2017-01-19 | MediaWiki reader: improved handling of display math. | John MacFarlane | 1 | -2/+3 | |
Sometimes display math is indented with more than one colon. Previously we handled these cases badly, generating definition lists and missing the math. Closes #3362. | |||||
2017-01-18 | Fix sample.lua barfing on Raw data (#3358) | bumper314 | 1 | -0/+4 | |
* Fix for "pandoc: user error (Incorrect result type (string expected, got nil))." when the source format contains Raw data. * Update sample.lua | |||||
2017-01-17 | travis: download stack only in stack BUILD (#3357) | ickc | 1 | -8/+9 | |
2017-01-17 | fix internal link in INSTALL.md | Mauro Bieg | 1 | -1/+1 | |
2017-01-15 | Clarify that blank space is needed around footnotes. | John MacFarlane | 1 | -1/+3 | |
Closes #3352. | |||||
2017-01-15 | Rearrange and extend badges in README (#3354) | Albert Krewinkel | 1 | -4/+6 | |
* Reorganize badges to get a more harmonic look * Add homebrew badge * Add badge for pandoc-discuss google group | |||||
2017-01-13 | Fixed typo (#3351) | Alexey Rogachev | 1 | -1/+1 | |
2017-01-10 | Allow vector 0.12.0.0. | John MacFarlane | 1 | -1/+1 | |
2017-01-10 | LaTeX template: Add hyphen option to url package. | John MacFarlane | 5 | -7/+11 | |
2017-01-08 | Fixed -f markdown_github-hard_line_breaks+escaped_line_breaks. | John MacFarlane | 1 | -0/+1 | |
Previously this did not properly enable escaped line breaks. Closes #3341. | |||||
2017-01-07 | Added instructions for manual install from oxs, win packages. | John MacFarlane | 1 | -0/+22 | |
2017-01-06 | Remove pipe char irking the haddock coverage tool | Albert Krewinkel | 1 | -1/+1 | |
Haddock documentation strings must be associated with functions. Remove pipe char from a comment that was moved into a `do` block in `Readers/Org/Inlines.hs`. | |||||
2017-01-06 | Org reader: accept org-ref citations followed by commas | Albert Krewinkel | 2 | -15/+28 | |
Bugfix for an issue which, whenever the citation was immediately followed by a comma, prevented correct parsing of org-ref citations. | |||||
2017-01-05 | Org reader: ensure emphasis markup can be nested | Albert Krewinkel | 2 | -0/+7 | |
Nested emphasis markup (e.g. `/*strong and emphasized*/`) was interpreted incorrectly in that the inner markup was not recognized. | |||||
2017-01-05 | MediaWiki reader: Fix quotation mark parsing (#3336) | tgkokk | 1 | -6/+3 | |
Change MediaWiki reader's behavior when the smart option is parsed to match other readers' behavior. Fix #2012. | |||||
2017-01-03 | LaTeX template: allow passing `microtypeoptions` to microtype. | John MacFarlane | 6 | -11/+14 | |
Thanks to Vaclav Haisman. | |||||
2017-01-02 | Allow aeson 1.1. | John MacFarlane | 1 | -2/+2 | |
2017-01-01 | Indent code on the installation page. (#3335) | Bheesham Persaud | 1 | -5/+5 | |
Previously, not all code on the installation page was highlighted/wrapped in code blocks due to incorrect indentation. | |||||
2016-12-31 | Add '@*' usage (#3333) | John Muccigrosso | 1 | -0/+8 | |
* Add '@*' usage Added to nocite section to add the wildcard functionality. * Restoring accented characters. Removed trailing whitespace in new text too. * Removing unneeded single quotes. | |||||
2016-12-30 | Updated docbook5 writer test for new template. | John MacFarlane | 1 | -1/+3 | |
2016-12-30 | Travis: fix false positives and speed up dist build by avoiding tests. | John MacFarlane | 1 | -7/+8 | |
2016-12-30 | docbook5template: fix namespace declarations (Mauro Bieg). | John MacFarlane | 1 | -7/+7 | |
2016-12-30 | DocBook5 writer: make id attribute xml:id, fixes #3329 (#3330) | Mauro Bieg | 2 | -32/+35 | |
2016-12-24 | HTML writer: don't process pars with empty RawInline, fixes #1040 (#3327) | Mauro Bieg | 1 | -3/+8 | |
2016-12-24 | Travis: add path to happy to path. | John MacFarlane | 1 | -1/+1 | |