aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-12-03Use dev asciidoc.John MacFarlane
2025-12-02Texinfo writer: improve handling of certain code blocks.John MacFarlane
MediaWiki, for example, will parse a code block containing formatting as a sequence of Code elements separated by LineBreaks. For this we now use a texinfo example block. Closes #11312.
2025-12-02Fix a few mistakes in the contributing docs. (#11318)har7an
* Fix a typo in the contributing docs. * Fix link to Lua filter docs, so it works on GitHub. (A rewrite rule will ensure that it also works on pandoc.org.) * Update minimum GHC version in contributing docs. * Add a comment in the respective CI file to keep the version up-to-date in the contributing guide.
2025-12-02Typst template: Fix keywords usage. (#11317)har7an
Previously the template turned any `keywords` defined in Pandoc metadata into empty objects due to a misnomer in a loop variable. This in turn was rejected by the Typst compiler as invalid syntax, making document generation with keywords impossible.
2025-12-01Add new authors.pandoc-lua-engine-0.5.0.2pandoc-cli-3.8.33.8.3John MacFarlane
2025-12-01Regenerate man pages.John MacFarlane
2025-12-01Fix spacing issue.John MacFarlane
2025-12-01Regenerate README.mdJohn MacFarlane
2025-12-01pandoc-lua-engine: bump to 0.5.0.2.John MacFarlane
2025-12-01Update changelog.John MacFarlane
2025-12-01Bump to 3.8.3 (pandoc, pandoc-cli)>John MacFarlane
2025-12-01Update manual date and man pages.John MacFarlane
2025-11-30pandoc-lua-engine: allow citeproc 0.12.John MacFarlane
2025-11-30Use released asciidoc 0.1.John MacFarlane
2025-11-30Use released djot 0.1.2.4.John MacFarlane
2025-11-30Use released texmath 0.13.0.2.John MacFarlane
2025-11-30CI: fail fast.John MacFarlane
2025-11-30Use released typst 0.8.1.John MacFarlane
2025-11-30Use released citeproc 0.12.John MacFarlane
2025-11-30Docx reader: Handle REF link instruction (#11296)Ezwal
This PR aims to handle a common run field instruction (fieldInstr) from docx format : REF, specifically those with the "link" switch \h. In word software, you can create REF field instruction with the Cross-reference button. You can create cross-reference to many things such as Equation, Table, Title...
2025-11-30Add reveal.js scroll view option to HTML writer (#11305)Asliddinbek Azizovich
* Add revealjs `scroll` view option to HTML writer * Add `scrollSnap` option into default.revealjs Closes #10052
2025-11-30Clean up `implicit_figure` documentation.John MacFarlane
Explain how to specify alt text. See #11082.
2025-11-30Give long form of option as well as short.John MacFarlane
See #11306.
2025-11-30ANSI writer: Apply row spans in tables (#11294)Tuong Nguyen Manh
The ANSI writer is now able to keep track of row spans and apply them in rows. [API change] T.P.Writers.Shared: Add functions `insertCurrentSpansAtColumn`, `takePreviousSpansAtColumn` and `decrementTrailingRowSpans` for applying and keeping track of RowSpans over multiple rows. Fixes: #10149
2025-11-30pptx writer: Handle reference doc without slides (#11310)Tuong Nguyen Manh
An empty `sldIdLst` is now added if the reference doc is missing one so that `modifySldIdLst` can replace it. To ensure PowerPoint doesn't say that the file will need fixing, the `sldIdLst` has to be placed after the `sldMasterIdLst`. I also added a test to ensure that if there are notes, they will be placed between the `sldMasterIdLst` and `sldIdLst`. Otherwise PowerPoint wouldn't show the slide of a note when viewing Notes Pages. Closes #7536.
2025-11-30Change message for missing HTML title warning.John MacFarlane
Suggest setting the `pagetitle` variable instead of setting `title` in metadata, which also has the effect of adding an h1 element. Closes #11307.
2025-11-30RST reader: correctly handle intraword emphasis.John MacFarlane
Closes #11309.
2025-11-30Use latest dev asciidoc.John MacFarlane
2025-11-30Make Control.Monad import unqualified.John MacFarlane
ghc 9.6+ needs the import of MonadPlus, but previous versions give a warning.
2025-11-29CI: don't fail fast so we can figure out...John MacFarlane
which base versions need MonadPlus imported.
2025-11-29Avoid compiler warning with mplus import.John MacFarlane
2025-11-29Add asciidoc as an input format.John MacFarlane
New exported module Text.Pandoc.Readers.AsciiDoc, exporting readAsciiDoc [API change]. The bulk of parsing is handled by the asciidoc library. Closes #1456.
2025-11-24Fix warning in Docx reader test.John MacFarlane
2025-11-24Add `xlsx` (Microsoft Excel) as an input format.Anton Antich
Each worksheet turns into a section containing a table. The common file `nativeDiff` has been extract from the Docx and Pptx text files and put in Tests.Helpers.
2025-11-24Support pptx (PowerPoint) as an input format.Anton Antich
New module `Text.Pandoc.Readers.Pptx`, exporting `readPptx`. [API change] Factored out some common OOXML functions from Text.Pandoc.Readers.Docx.Util into a non-exported module Text.Pandoc.Readers.OOXML.Shared.
2025-11-24Bump actions/checkout from 5 to 6 (#11302)dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24CI: only run CI on mainJohn MacFarlane
2025-11-19Use latest dev citeproc.John MacFarlane
2025-11-19Lua: preserve common state of custom Lua readersAlbert Krewinkel
The common state is transferred to Lua when calling a custom Lua reader, and is now also transferred back after the reader has finished. This ensures that info messages, warnings, and mediabag entries are available to the main program and all subsequent processing steps.
2025-11-18Use latest dev citeproc.John MacFarlane
2025-11-18Use latest dev typst-hs.John MacFarlane
2025-11-16HTML writer: use 'defer' when including mathjax script.John MacFarlane
As recommended in the MathJax docs. Closes #11292.
2025-11-12LaTeX writer: make L1-3 headings work inside blockquotes.James Barlow
Add mbox before all headings (not just L4+) inside blockquotes. Otherwise LaTeX raises an error. Closes #11281.
2025-11-12Docx reader: check recursively for caption styles.Albert Krewinkel
The docx reader uses caption styles to identify figures and captioned tables. It now checks for known caption styles in the full styles hierarchy of a paragraph instead of just checking the style directly. This allows to recognize caption styles that are built on top of the basic *caption* style, as is sometimes the case in sophisticated styles.
2025-11-10Use latest dev djoths.John MacFarlane
2025-11-06PDF: avoid converting SVG to PDF when non-TeX PDF engine is used.John MacFarlane
This fixes a 3.8 regression, which caused documents with SVGs to raise an error when converted to PDF using WeasyPrint. Closes #11275.
2025-11-05LaTeX writer: Remove `split` from list of math environments.John MacFarlane
This fixes #11274.
2025-11-05LaTeX reader: revert `\linebreak` as LineBreak.John MacFarlane
`\linebreak` is more of a hint, it shouldn't produce a hard break. See #11272.
2025-11-05Add BBCode writer (#11242)reptee
`bbcode` is now supported as an output format, as well as variants `bbcode_fluxbb` (FluxBB), `bbcode_phpbb` (phpBB), `bbcode_steam` (Hubzilla), `bbcode_hubzilla` (Hubzilla), and `bbcode_xenforo` (xenForo). [API change] Adds a new module Text.Pandoc.Writers.BBCode, exporting a number of functions. Also exports `writeBBCode`, `writeBBCodeSteam`, `writeBBCodeFluxBB`, `writeBBCodePhpBB`, `writeBBCodeHubzilla`, `writeBBCodeXenforo` from Text.Pandoc.Writers.
2025-11-04Update INSTALL.md.John MacFarlane
Remove mention of Haskell platform, improve install instructions. See #11271.