summaryrefslogtreecommitdiff
path: root/pandoc.cabal
Commit message (Collapse)AuthorAge
* Ensure compatibility with hslua 0.5.*Albert Krewinkel2017-03-24
| | | | | | The 0.5.0 release of hslua fixes problems with lua C modules on linux. The signature of the `loadstring` function changed, so a compatibility wrapper is introduced to allow both 0.4.* and 0.5.* versions to be used.
* Allow creation of pdf via groff ms and pdfroff.John MacFarlane2017-03-23
| | | | pandoc -t ms -o output.pdf input.txt
* Initial addition of groff ms writer.John MacFarlane2017-03-23
| | | | | | | | | * New module: Text.Pandoc.Writers.Ms. * New template: default.ms. * The writer uses texmath's new eqn writer to convert math to eqn format, so a ms file produced with this writer should be processed with `groff -ms -e` if it contains math.
* Added two lua test files to extra-source-files in pandoc.cabal.John MacFarlane2017-03-20
| | | | | This was caught by our new .travis.yml, which builds from an extracted sdist tarball instead of the repository.
* Lua filters (#3514)Albert Krewinkel2017-03-20
| | | | | | | | | * Add `--lua-filter` option. This works like `--filter` but takes pathnames of special lua filters and uses the lua interpreter baked into pandoc, so that no external interpreter is needed. Note that lua filters are all applied after regular filters, regardless of their position on the command line. * Add Text.Pandoc.Lua, exporting `runLuaFilter`. Add `pandoc.lua` to data files. * Add private module Text.Pandoc.Lua.PandocModule to supply the default lua module. * Add Tests.Lua to tests. * Add data/pandoc.lua, the lua module pandoc imports when processing its lua filters. * Document in MANUAL.txt.
* Added test for #256.John MacFarlane2017-03-16
|
* Add default abbreviations file (data/abbreviations).John MacFarlane2017-03-16
| | | | | | | | | | This contains a list of strings that will be recognized by pandoc's Markdown parser as abbreviations. (A nonbreaking space will be inserted after the period, preventing a sentence space in formats like LaTeX.) Users can override the default by putting a file abbreviations in their user data directory (`~/.pandoc` on *nix).
* Removed another unused cabal dependency.John MacFarlane2017-03-15
|
* Removed some unnecessary build-depends.John MacFarlane2017-03-15
|
* Use tasty-golden for golden tests in Old.John MacFarlane2017-03-15
|
* Use tasty for tests rather than test-framework.John MacFarlane2017-03-14
|
* Better handling of \part in LaTeX.John MacFarlane2017-03-13
| | | | | | | | | | | | Closes #1905. Removed stateChapters from ParserState. Now we parse chapters as level 0 headers, and parts as level -1 headers. After parsing, we check for the lowest header level, and if it's less than 1 we bump everything up so that 1 is the lowest header level. So `\part` will always produce a header; no command-line options are needed.
* Add Muse writer (#3489)Alexander Krotov2017-03-10
| | | | | | | | * Add Muse writer * Advertise new Muse writer * Muse writer: add regressions tests
* Expand \newenvironment macros.John MacFarlane2017-03-10
| | | | | | Closes #987. Depends on still unreleased texmath 0.9.3.
* Require skylighting 0.3.1.John MacFarlane2017-03-04
|
* Bumped syb upper bound.John MacFarlane2017-03-02
|
* Expose some unexposed modules.John MacFarlane2017-02-25
| | | | | | | | | | | | | + Text.Pandoc.Writers.Shared + Text.Pandoc.Parsing + Text.Pandoc.Asciify + Text.Pandoc.Emoji + Text.Pandoc.ImageSize [API change] These are often helpful to people writing their own reader or writer modules. Closes #3260.
* We need process >= 1.2.3 for readCreateProcessWithExitCode.John MacFarlane2017-02-20
|
* Updated test-with field.John MacFarlane2017-02-20
|
* Use latest skylighting (0.3).John MacFarlane2017-02-20
|
* Use new skylighting-0.2.John MacFarlane2017-02-20
|
* pandoc.cabal: use cpphs if embed_data_files and darwin.John MacFarlane2017-02-12
|
* Add Org writer unit testsAlexander Krotov2017-02-12
|
* Added --log option to save log messages in JSON format to a file.John MacFarlane2017-02-11
| | | | See #3392.
* Added Text.Pandoc.Logging (exported module).John MacFarlane2017-02-10
| | | | | | | | | | | | This now contains the Verbosity definition previously in Options, as well as a new LogMessage datatype that will eventually be used instead of raw strings for warnings. This will enable us, among other things, to provide machine-readable warnings if desired. See #3392.
* Split pandoc.hs into a module, Text.Pandoc.App, and a small program.John MacFarlane2017-02-05
| | | | | | | | | | | | | | | The App module provides a function that does a pandoc conversion, based on option settings. The program (pandoc.hs) now does nothing more than parse options and pass them to this function, which can easily be used by other applications (e.g. a GUI wrapper). The Opt structure has been further simplified. API changes: * New exposed module Text.Pandoc.App * Text.Pandoc.Highlighting has been exposed. * highlightingStyles has been moved to Text.Pandoc.Highlighting.
* Added first command test to cabal metadata and repo.John MacFarlane2017-02-04
|
* Added skeleton for Tests.Command.John MacFarlane2017-02-04
|
* Moved tests/ -> test/.John MacFarlane2017-02-04
|
* Version bounds: require skylighting 0.1.1.4, bump bounds for blaze-*.John MacFarlane2017-01-31
|
* Merge branch 'typeclass'John MacFarlane2017-01-29
|\
| * Rely on skylighting 0.1.1.2.John MacFarlane2017-01-28
| |
| * Fix up benchmarks so they compile.John MacFarlane2017-01-27
| |
| * Split writeDocbook into writeDocbook4, writeDocbook5.John MacFarlane2017-01-26
| | | | | | | | | | | | | | Removed writerDocbookVersion in WriterOptions. Renamed default.docbook template to default.docbook4. Allow docbook4 as an output format. But alias docbook = docbook4.
| * EPUB writer: split writeEPUB into writeEPUB2, writeEPUB3.John MacFarlane2017-01-26
| | | | | | | | Also include explicit epub2 output format in CLI tool.
| * Provide explicit separate functions for HTML 4 and 5.John MacFarlane2017-01-25
| | | | | | | | | | | | | | | | | | * Text.Pandoc.Writers.HTML: removed writeHtml, writeHtmlString, added writeHtml4, writeHtml4String, writeHtml5, writeHtml5String. * Removed writerHtml5 from WriterOptions. * Renamed default.html template to default.html4. * "html" now aliases to "html5"; to get the old HTML4 behavior, you must now specify "-t html4".
| * Revert "Added page breaks into Pandoc."John MacFarlane2017-01-25
| | | | | | | | This reverts commit f02a12aff638fa2339192231b8f601bffdfe3e14.
| * Compile against pandoc-types 1.18.*.John MacFarlane2017-01-25
| |
| * Removed tests for Walk; these now live in pandoc-types.John MacFarlane2017-01-25
| |
| * Make Extensions a custom type instead of a Set Extension.John MacFarlane2017-01-25
| | | | | | | | | | | | | | | | | | The type is implemented in terms of an underlying bitset which should be more efficient. API change: from Text.Pandoc.Extensions export Extensions, emptyExtensions, extensionsFromList, enableExtension, disableExtension, extensionEnabled.
| * Split extensions code from Options into separate Text.Pandoc.Extensions.John MacFarlane2017-01-25
| | | | | | | | | | | | API change. However, Extensions exports Options, so this shouldn't have much impact.
| * Expose Text.Pandoc.MIME, unexpose Text.Pandoc.CSSJohn MacFarlane2017-01-25
| |
| * Fixed up weigh-pandoc and benchmark-pandoc so they build.John MacFarlane2017-01-25
| |
| * Version to 2.0.John MacFarlane2017-01-25
| |
| * Refactored math conversion in writers.John MacFarlane2017-01-25
| | | | | | | | | | | | | | | | | | | | | | * Remove exported module `Text.Pandoc.Readers.TeXMath` * Add exported module `Text.Pandoc.Writers.Math` * The function `texMathToInlines` now lives in `Text.Pandoc.Writers.Math` * Export helper function `convertMath` from `Text.Pandoc.Writers.Math` * Use these functions in all writers that do math conversion. This ensures that warnings will always be issued for failed math conversions.
| * Make Txt2Tags test pass.Jesse Rosenthal2017-01-25
| | | | | | | | | | We don't have a good way to set things that aren't in the common state. That will be the next order of business.
| * Have to do some work to get the mediabag out.Jesse Rosenthal2017-01-25
| |
| * Remove Text.Pandoc.FreeJesse Rosenthal2017-01-25
| |
| * Introduce PandocMonad typeclass.Jesse Rosenthal2017-01-25
| | | | | | | | This can be instantiated by both an IO monad or a pure State monad.
| * Implement runTest functions.Jesse Rosenthal2017-01-25
| | | | | | | | | | These work with a State monad and a Reader monad to produce deterministic results. It can probably be simplified somewhat.