Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-10-11 | Remove redundant import. | John MacFarlane | 1 | -1/+0 | |
2019-10-11 | stack.yaml - re-add HsYAML-aeson, as pandoc-citeproc uses it | John MacFarlane | 1 | -0/+1 | |
2019-10-10 | Improve parsing of --defaults. | John MacFarlane | 12 | -118/+481 | |
- Add FromYAML instances to Opt and to all subsidiary types. - Remove the use of HsYAML-aeson, which doesn't give good position information on errors. - Rename some fields in Opt to better match cli options or reflect what the ycontain [API change]: + optMetadataFile -> optMetadataFiles + optPDFEngineArgs -> optPDFEngineOpts + optWrapText -> optWrap - Add IpynbOutput enumerated type to Text.Pandoc.App.Opts. Use this instead fo a string for optIpynbOutput. - Add FromYAML instance for Filter in Text.Pandoc.Filters. With these changes parsing of defaults files should be complete and should give decent error messages. Now (unlike before) we get an error if an unknown field is used. | |||||
2019-10-10 | Fix examplel for defaults. | John MacFarlane | 1 | -2/+2 | |
2019-10-10 | Added documentation for --defaults. | John MacFarlane | 1 | -0/+103 | |
2019-10-10 | Add -d as synonym for --defaults. | John MacFarlane | 1 | -1/+1 | |
2019-10-10 | Reorder options in `--help`. | John MacFarlane | 1 | -58/+58 | |
2019-10-10 | `--metadata-file`: when multiple files specified, second takes precedence... | John MacFarlane | 5 | -11/+17 | |
on conflicting fields. This changes earlier behavior (but not in a release), where first took precedence. Note that this may seem inconsistent with the behavior of multiple YAML blocks within a document, where the first takes precedence. Still, it is convenient to be able to override defaults with options later on the command line. | |||||
2019-10-10 | Make some writers sensitive to 'unlisted' class on headings. | John MacFarlane | 4 | -7/+33 | |
If this is present on a heading with the 'unnumbered' class, the heading won't appear in the TOC. This class has no effect if 'unnumbered' is not also specified. This affects HTML-based writers (including slide shows and epub), LateX (including beamer), RTF, and PowerPoint. Other writers do not yet support `unlisted`. Closes #1762. | |||||
2019-10-10 | Remove unnecessary import. | John MacFarlane | 1 | -1/+0 | |
2019-10-09 | --defaults: add .yaml extension if absent, look in user data dir... | John MacFarlane | 1 | -13/+30 | |
under "defaults" subdirectory. | |||||
2019-10-09 | T.P.App.Opt: rename optReader, optWriter as optFrom, optTo. | John MacFarlane | 4 | -9/+9 | |
This will allow to: and from: in defaults. | |||||
2019-10-09 | Make sure that input-files works in --default files. | John MacFarlane | 1 | -1/+1 | |
2019-10-09 | RST writer: proper handling of :align: on figures, images. | John MacFarlane | 2 | -6/+34 | |
When the image has the `align-right` (etc.) class, we now use an `:align:` attribute. Closes #4420. | |||||
2019-10-09 | Update s5 test for mathjax 3 change. | John MacFarlane | 1 | -1/+1 | |
2019-10-09 | Changes in try pandoc | zorkow | 1 | -1/+1 | |
2019-10-09 | Basic changes for MathJax 3. | zorkow | 2 | -2/+2 | |
2019-10-09 | Update cabal.project to use dev version of doctemplates. | John MacFarlane | 1 | -0/+5 | |
2019-10-09 | Initial implementation of --defaults option. | John MacFarlane | 2 | -3/+24 | |
Need documentation. | |||||
2019-10-09 | T.P.App.Opt: Changed optMetadata to Meta, to allow structured values. | John MacFarlane | 4 | -52/+48 | |
[API change] The current behavior of the `--metadata` option stays the same. | |||||
2019-10-09 | Add HsYAML-aeson to build-depends | John MacFarlane | 1 | -0/+1 | |
2019-10-09 | Change optVariables from [(String, String)] to Context Text. | John MacFarlane | 4 | -27/+37 | |
In Text.Pandoc.App.Opt [API change]. | |||||
2019-10-09 | Options.WriterOptions: Change type of writerVariables to Context Text. | John MacFarlane | 13 | -51/+136 | |
This will allow structured values. [API change] | |||||
2019-10-08 | Use th to derive json instance for LineEnding. | John MacFarlane | 1 | -16/+4 | |
2019-10-07 | Text.Pandoc.Options: change To/FromJSON instances for... | John MacFarlane | 2 | -9/+35 | |
HTMLMathMethod, CiteMethod, ObfuscationMethod, TrackChanges, WrapOption, TopLevelDivision, ReferenceLocation, HTMLSlideVariant. In each case we use lowercase (or hyphenated lowercase) for constructors to line up more closely with command-line option values. This is a breaking change for those who manually decode or encode JSON for these data types (e.g. for ReaderOptions or WriterOptions). See #5790. | |||||
2019-10-07 | Shored.camelCaseToHyphenated: handle ABCDef = abc-def. | John MacFarlane | 1 | -2/+8 | |
2019-10-07 | Remove derive_json_via_th flag; always use TH. | John MacFarlane | 7 | -104/+1 | |
This cuts down on code duplication and reduces the chance for errors. See #4083. | |||||
2019-10-07 | Make derive_json_via_th flag false by default | John MacFarlane | 2 | -2/+2 | |
2019-10-07 | Remove misleading sentence in --variables documentation. | John MacFarlane | 1 | -5/+2 | |
2019-10-07 | Remove redundant import. | John MacFarlane | 1 | -1/+0 | |
2019-10-07 | Use typeMismatch. | John MacFarlane | 1 | -1/+2 | |
2019-10-06 | T.P.App.Opt: custom FromJSON instance for LineEnding. | John MacFarlane | 1 | -8/+17 | |
So either CRLF or crlf will work. | |||||
2019-10-06 | Opt: Change optHighlightStyle to a Maybe String instead of Maybe Style. | John MacFarlane | 3 | -24/+28 | |
Do the parsing/loading of themes later, after option parsing. | |||||
2019-10-06 | Code cleanup | John MacFarlane | 1 | -19/+23 | |
2019-10-06 | Text.Pandoc.App.Opt: Remove optBaseHeaderLevel from Opt. | John MacFarlane | 3 | -7/+2 | |
We now just use optShiftHeadingLevelBy, to avoid redundancy. | |||||
2019-10-06 | Text.Pandoc.App.Opt: Change optShiftHeadingLevel to optShiftHeadingLevelBy... | John MacFarlane | 3 | -4/+4 | |
to match the option. | |||||
2019-10-06 | stack.yaml - added some missing flags | John MacFarlane | 1 | -0/+2 | |
2019-10-06 | Text.Pandoc.App.Opt: more convenient To/FromJSON instances. | John MacFarlane | 1 | -5/+9 | |
Make the field names like `strip-empty-paragraphs` rather than `optStripEmptyParagraphs`. | |||||
2019-10-06 | Clarify that --dpi provides a default and doesn't override... | John MacFarlane | 1 | -3/+6 | |
dpi values specified in the images themselves. See #5721. | |||||
2019-10-05 | release-candidate.yml: add zip for windows. | John MacFarlane | 1 | -0/+2 | |
2019-10-05 | Update release-candidate.yml for GitHub actions. | John MacFarlane | 1 | -43/+82 | |
Adds builds for macos and for both 32- and 64-bit windows. | |||||
2019-10-04 | windows rc: build 32- and 64-bit msi. | John MacFarlane | 1 | -6/+17 | |
2019-10-04 | linux tarball: add architecture -amd64 to filename. | John MacFarlane | 1 | -1/+1 | |
Now it will be: pandoc-VERSION-linux-ARCH.tar.gz | |||||
2019-10-04 | hlint Muse writer | Alexander Krotov | 1 | -1/+1 | |
2019-10-04 | hlint Muse reader tests | Alexander Krotov | 1 | -1/+1 | |
2019-10-04 | hlint FB2 reader | Alexander Krotov | 1 | -1/+1 | |
2019-10-04 | Fix all hlint warnings in Muse reader | Alexander Krotov | 1 | -2/+2 | |
2019-10-04 | Fix compiler warnings on ghc 8.8. | John MacFarlane | 1 | -21/+12 | |
2019-10-04 | Require haddock-library >= 1.8 | John MacFarlane | 2 | -1/+2 | |
2019-10-03 | Enable ghc 8.8 on ci. | John MacFarlane | 1 | -2/+2 | |