aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-07-13Remove code duplication around version info.John MacFarlane
Text.Pandoc.App.CommandLineOptions and pandoc-cli/src/pandoc.hs had similar code for generating version information. To avoid duplication, we now export `versionInfo` from Text.Pandoc.App [API change]. (The function is reexported from the non-public module Text.Pandoc.App.CommandLineOptions.) This function has three parameters that can be filled in when it is called by pandoc-cli. This change will make it simpler to revise version information.
2025-07-13Revert "Export `copyrightMessage` from Text.Pandoc.App module."John MacFarlane
This reverts commit 2cf9b55421d7026dac8c45730b8538f13e4bbb78.
2025-07-13Export `copyrightMessage` from Text.Pandoc.App module.John MacFarlane
Export `copyrightMessage` from the unexported module Text.Pandoc.App.CommandLineOptions and reexport from Text.Pandoc.App [API change]. This avoids the need for a duplicated version in pandoc-cli, which can now depend on the library's exported version.
2025-07-13Use hardcoded string "pandoc" for program name in `--version`.John MacFarlane
Per GNU guidelines: https://www.gnu.org/prep/standards/html_node/_002d_002dversion.html
2025-07-13Update `--version` copyright dates.John MacFarlane
Closes #10961.
2025-07-10doc/lua-filters.md: Add example on using pandoc.Table constructor. (#10956)Sean Soon
2025-07-09PDF: Use utf8ToText for LaTeX log messages.John MacFarlane
2025-07-07PDF: make images from MediaBag available in tmp dir...John MacFarlane
for every PDF engine, not just LaTeX/ConTeXt. This is part of the fix for #10911.
2025-07-06CI: use windows-2022. windows-2019 is no longer provided.John MacFarlane
2025-06-30Lua: add more UTF-8-aware file operations to `pandoc.system`.Albert Krewinkel
Functions that expect UTF-8-encoded filenames should make it easier to write platform-independent scripts, as the encoding of the actual filename depends on the system. Additionally, this also adds a generalized method to run commands, and functions to retrieve XDG directory names. The new functions are `command`, `copy`, `read_file`, `remove`, `rename`, `times`, `write_file`, `xdg`.
2025-06-25pandoc-lua-engine: Allow hslua-2.4.0 in the testsAlbert Krewinkel
2025-06-23doc/lua-filters: fix docs for `pandoc.Cite`.Albert Krewinkel
2025-06-23pandoc-lua-engine: Allow hslua-2.4.Albert Krewinkel
2025-06-20Markdown writer: better handling of pandoc-generated code blocks.John MacFarlane
Omit the wrapper sourceCode divs added by pandoc around code blocks. More intelligently identify which class to use for the one class allowed in GFM code blocks. If there is a class of form `language-X`, use `X`; otherwise use the first class other than `sourceCode`. Closes #10926.
2025-06-18Typst writer: rename *numbering* variable to *section-numbering*.Albert Krewinkel
This is the name expected by the default template.
2025-06-17Add TODO comment to cabal.project.John MacFarlane
2025-06-16Fix compiler warning.John MacFarlane
2025-06-16DocBook writer: Fixed compiler warning.John MacFarlane
2025-06-16DocBook writer: use startingnumber instead of override...John MacFarlane
for start numbers on ordered lists. Also remove legacy support for override on listitem in the reader. See #10912.
2025-06-16DocBook reader: be sensitive to startingnumber attribute...John MacFarlane
on ordered lists. Closes #10912.
2025-06-16doc/extras.md: Fix link to pandoc-modeErik Post
2025-06-16LaTeX reader: support `\ifmmode`.John MacFarlane
Closes #10915
2025-06-16Update flake.nix to include zlib.dev.John MacFarlane
2025-06-10Fix docx golden tests for East Asian default style changes.John MacFarlane
2025-06-10Update East Asia font theme in styles.xml to minorEastAsiaTomBen
2025-06-10Update language settings in styles.xml for East Asia to Simplified ChineseTomBen
2025-06-08Docx reader: don't add highlighting if highlight color is "none."John MacFarlane
Closes #10900.
2025-06-05ANSI writer: make `--wrap=none` work properly.John MacFarlane
Closes #10898.
2025-06-03Docx reader: handle strict OpenXML as well as transitional.John MacFarlane
Closes #7691.
2025-06-03Use latest citeproc.John MacFarlane
2025-06-02Markdown reader: make definition lists behave like other lists.John MacFarlane
If the `four_space_rule` extension is not enabled, figure out the indentation needed for child blocks dynamically, by looking at the first nonspace content after the `:` marker. Previously the four-space rule was always obeyed. Remove the old `compact_definition_lists` extension. This was neded to preserve backwards compatibility after pandoc 1.12 was released, but at this point we can get rid of it. T.P.Extensions: remove `Ext_compact_definition_lists` constructor for `Extension` [API change]. Fix tight/loose detection for definition lists, to conform to the documentation. Closes #10889.
2025-05-28Changelog tweaks, update authors.pandoc-lua-engine-0.4.3pandoc-cli-3.7.0.23.7.0.2John MacFarlane
2025-05-28Fix regexes in prelease check.John MacFarlane
2025-05-28Fix whitespace bugs.John MacFarlane
2025-05-28Update changelog.John MacFarlane
2025-05-28Bump pandoc-lua-engine to 0.4.3.John MacFarlane
2025-05-28Update man pages and MANUAL date.John MacFarlane
2025-05-28Require texmath 0.12.10.3, typst 0.8.0.1John MacFarlane
2025-05-28Bump to 3.7.0.2, also pandoc-cli.John MacFarlane
2025-05-28Use latest dev typst.John MacFarlane
2025-05-28Adding support for sidebars to Asciidoc writerGreg
2025-05-28T.P.Writer.Shared gridTable: more grid table fixes.John MacFarlane
Fix headings with colspans. If the heading contains a colspan, we still need to include information in the header line about the colspecs. Fix headerless tables. The top line should encode colspan information. Closes #10855.
2025-05-28doc/lua-filters.md: add missing docs for `pandoc.Caption`Albert Krewinkel
2025-05-28doc/lua-filters.md: Re-generate docsAlbert Krewinkel
Pandoc now uses fewer spaces when outputting list items.
2025-05-28tools/update-lua-module-docs: fix handling of wikilinksAlbert Krewinkel
The pandoc-internal representation of wikilinks has changed.
2025-05-28Lua: add function `pandoc.mediabag.make_data_uri`.Albert Krewinkel
The function takes a MIME type and raw data from which it creates an RFC 2397 data URI. Closes: #10876
2025-05-27HTML writer: use the ID prefix in the ID for the footnotes section.Benjamin Esham
In commit 9190b19fc, we began to use the ID prefix for the <aside> holding the footnotes. In commit 41da8ad9e, we started to use a <section> for this instead and the ID-prefix functionality was lost. This commit resumes using the ID prefix in the ID of this element so that multiple documents can be combined into one without ID conflicts.
2025-05-26Markdown writer: preserve figure attributesNikolay Yakimov
0d2114e introduced a bug where Markdown writer would ignore attributes on the figure if it has class or key-value attributes set. This commit fixes that and adds a regression test. Closes #10867
2025-05-26LaTeX writer: include alt option in `\includegraphics`.John MacFarlane
Closes #6095.
2025-05-26SelfContained: fix handling of empty script element.John MacFarlane
Previously in this case the closing tag was dropped. Closes #10862.