summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-06-28Depend on dev version of pandoc-types.John MacFarlane
(For aeson version bound.)
2023-06-28Allow aeson 2.2.John MacFarlane
2023-06-27Support --id-prefix for markdown output.John MacFarlane
Closes #8878.
2023-06-27Added some more dependencies to shell.nix.John MacFarlane
2023-06-27CI for linux-nix: use -Wall.John MacFarlane
2023-06-27Removed unused import.John MacFarlane
2023-06-27PandocMonad: Use toTextM in `readFileFromDirs`.John MacFarlane
2023-06-27Fix toTextM for Windows.John MacFarlane
We forgot to filter out CRs as we do in toText.
2023-06-27Use toTextM instead of toText when possible.John MacFarlane
(That is, whenever we have the filename and are in a PandocMonad instance.) This will lead to more informative error messages for UTF8 encoding, indicating the file path and byte offset where the error occurs. Closes #8884.
2023-06-27Text.Pandoc.Class: add `toTextM`.John MacFarlane
This is like `Text.Pandoc.UTF8.toText`, except: - it takes a file path as first argument, in addition to bytestring contents - it raises an informative error with source position if the contents are not UTF8-encoded [API change] This replaces `utf8ToText` in `Text.Pandoc.App.Input`. See #8884.
2023-06-27MANUAL: Add clarification on --section-divs. Closes #8882.John MacFarlane
2023-06-27Remove invalid term "Subject" from translations for tr.John MacFarlane
Closes #8921.
2023-06-27Add cabal caching to linux-nix-cabal CI workflow.John MacFarlane
2023-06-26Revert "Try adding magic nix cache to nix CI build."John MacFarlane
This reverts commit 295c6b04852391a23372ccb9153c1ec115c2c303. This was actually slower than what we had before (14m on second run, as compared to 12m).
2023-06-26Update copyright date in pandoc.cabal.John MacFarlane
2023-06-26Add some dependencies to shell.nix.John MacFarlane
2023-06-26Try adding magic nix cache to nix CI build.John MacFarlane
See https://determinate.systems/posts/magic-nix-cache
2023-06-26Bump pandoc-server to 0.1.0.1.John MacFarlane
2023-06-26Bump upper bound on servant-server.John MacFarlane
This is needed for compilation with ghc 9.6.
2023-06-26Require commonmark >= 0.2.3 and fix import warning.John MacFarlane
2023-06-26Add CI testing on ghc 9.6John MacFarlane
2023-06-26Use ghc-musl 9.6.2 docker image (#8701)Olivier Benz
2023-06-24Bump pandoc-lua-engine to 0.2.1.John MacFarlane
2023-06-24macos Makefile: change to using notarytool.John MacFarlane
2023-06-24Update AUTHORS.mdJohn MacFarlane
2023-06-24Update changelog.John MacFarlane
2023-06-24Remove unneeded stack entriesJohn MacFarlane
2023-06-24Update man page.John MacFarlane
2023-06-24Bump to 3.1.4John MacFarlane
2023-06-24Fix spacing issues.John MacFarlane
2023-06-24Make `--number-sections` work with JATS writer.John MacFarlane
2023-06-24Update #8764 command test for latest change to HTML table parser (#8634).John MacFarlane
2023-06-24Update TableBody RowHeadColumns caculation: change from max to min (#8634)Ruqi
This change sets RowHeadColumns to the minimum value of each row, which gives better results in cases where rows have different numbers of leading th tags.
2023-06-23Improve tests for fillMediaBag/extractMedia.John MacFarlane
Ensure that the current directory is not changed up if a test fails, and fix messages for the assertion failures.
2023-06-23Add tests for fillMediaBag/extractMedia.John MacFarlane
2023-06-23More fixes to 5e381e3.John MacFarlane
These changes recognize that parseURI does not unescape the path. Another change is that the canonical form of the path used as the MediaBag key retains percent-encoding, if present; we only unescape the string when writing to a file. See #8918. Some tests are needed before the issue can be closed.
2023-06-23Fix bug in 5e381e3878b5da87ee7542f7e51c3c1a7fd84b89John MacFarlane
In the new code a comma mysteriously turned into a period. This would have prevented proper separation of the mime type and content in data uris. Thanks to @hseg for catching this.
2023-06-22Retain image query parameters in dokuwiki reader (#8887)ech0
While converting dokuwiki syntax to gfm, the query parameters of images were stripped from the output. In general this makes sense, as the parameters' semantics are specific to dokuwiki. But it makes it impossible to access the query in a filter. This change retains the query parameters of image urls in the dokuwiki reader, by adding it as an extra query attribute.
2023-06-22Textile reader: Add support for link references (#8706)Stephen Altamirano
Textile supports what it calls "link alias", which are analogous to Markdown's reference-style links.
2023-06-22mention alternatives to LaTeX to generate pdfNorwid Behrnd
Pandoc's default engine to generate pdf is LaTeX. In reply to an issue report,[1] and with the documentation in mind, INSTALL.md now hints one can equally use other tools for this task, too. [1] https://github.com/jgm/pandoc/issues/8769
2023-06-22Add Nynorsk (New Norwegian) translationsPer Christian Gaustad
2023-06-22Lua: report warnings from Lua scriptsAlbert Krewinkel
Lua's warning system is plugged into pandoc's reporting architecture. Warnings that are raised with the Lua `warn` function are now reported together with other messages.
2023-06-22Logging: add new log message type `ScriptingWarning` [API change]Albert Krewinkel
2023-06-22LaTeX reader: support alt text on images. (#8745)Albert Krewinkel
Closes: #8743
2023-06-22add to "Academic publishing workflows" (#8742)Vladimir Alexiev
resolves #8696
2023-06-22Add http-client-tls to stack.yamlJohn MacFarlane
2023-06-22Add upper bound for crypton-connectionJohn MacFarlane
2023-06-22Use crypton-connection instead of connection (#8896)Felix Yan
Follows the change introduced in tls 1.7.0. Fixes building. Remove tls < 1.7 from cabal.project
2023-06-21Add hslua-repl to stack.yaml.John MacFarlane
2023-06-21Use lts-21.0 for stack.yaml.John MacFarlane