Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-10-15 | Add support for reading and writing <kbd> elements | Daniele D'Orazio | 4 | -26/+74 | |
* Text.Pandoc.Shared: export `htmlSpanLikeElements` [API change] This commit also introduces a mapping of HTML span like elements that are internally represented as a Span with a single class, but that are converted back to the original element by the html writer. As of now, only the kbd element is handled this way. Ideally these elements should be handled as plain AST values, but since that would be a breaking change with a large impact, we revert to this stop-gap solution. Fixes https://github.com/jgm/pandoc/issues/5796. | |||||
2019-10-15 | Muse reader: do not allow closing asterisks to be followed by "*" | Alexander Krotov | 2 | -5/+30 | |
2019-10-14 | Minor template & test changes for latest dev doctemplates. | John MacFarlane | 5 | -8/+8 | |
2019-10-15 | Muse reader: do not split series of asterisks into symbols and emphasis | Alexander Krotov | 2 | -0/+15 | |
Fixes #5821 | |||||
2019-10-15 | Muse reader: do not terminate emphasis on "*" not followed by space | Alexander Krotov | 2 | -2/+5 | |
2019-10-14 | Fixed typo in example. | John MacFarlane | 1 | -1/+1 | |
2019-10-14 | change indentation of math part in Writers/HTML.hs | mb21 | 1 | -33/+44 | |
2019-10-14 | KaTeX math: respect classoption=fleqn variable | mb21 | 2 | -2/+12 | |
closes #5815 | |||||
2019-10-14 | Bump KaTeX version to 0.11.1 | mb21 | 1 | -1/+1 | |
2019-10-14 | Create FUNDING.yml | John MacFarlane | 1 | -0/+1 | |
2019-10-13 | Remove appveyor.yml. | John MacFarlane | 3 | -99/+0 | |
Appveyor has been difficult to get working, due to timeouts, and lately it has been failing for unknown reasons. We don't need the appveyor build any more, now that we have Windows CI, nightly, and release-candidate builds on GitHub actions. | |||||
2019-10-12 | LaTeX writer: fix horizontal rule. | John MacFarlane | 2 | -14/+14 | |
We change to use 0.5pt rather than `\linethickness`, which apparently only ever worked "by accident" and no longer works with recent updates to texlive. Closes #5801. | |||||
2019-10-11 | More documentation of default files | John MacFarlane | 1 | -0/+16 | |
2019-10-11 | Fix `gfm_auto_identifiers` behavior with emojis. | John MacFarlane | 3 | -1/+15 | |
Closes #5813. Note that we also now use emoji names for emojis when `ascii_identifiers` is enabled. | |||||
2019-10-11 | Markdown writer: prefer pipe_tables to raw html... | John MacFarlane | 2 | -24/+6 | |
...even when we must lose width information. All in all this seems to be people's preferred behavior, even though it is slightly lossier. Closes #2608. Closes #4497. | |||||
2019-10-11 | Improve sample --defaults file in MANUAL.txt. | John MacFarlane | 1 | -63/+113 | |
2019-10-11 | Allow output-file to be null in --defaults. | John MacFarlane | 1 | -1/+1 | |
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. |