aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-11-08ICML writer: base FirstParagraph styles on corresponding...issue_11268John MacFarlane
Paragraph styles. This should ensure that existing documents still work with the FirstParagraph style, without the need to define new styles.
2025-11-05ICML writer: add FirstParagraph and Bibliography styles.John MacFarlane
Closes #11268.
2025-11-04Update INSTALL.md.John MacFarlane
Remove mention of Haskell platform, improve install instructions. See #11271.
2025-11-04Better handling of `\makeatletter` in parsing raw LaTeX.John MacFarlane
Closes #11270.
2025-11-04Revert "Improve parsing of raw LaTeX blocks..."John MacFarlane
This reverts commit 22863a3e124215e6fd24efe55a5a99fb2d605e5b.
2025-11-04Add command test for #9953.John MacFarlane
2025-11-04Improve parsing of raw LaTeX blocks...John MacFarlane
containing macro definitions with `\makeatletter` and `\makeatother`. Closes #9953, see also #11270.
2025-11-04T.P.LaTeX.Parsing: change type on rawLaTeXParser.John MacFarlane
The preparser doesn't need to return a value.
2025-11-04LaTeX reader: fix spurious paragraph breaks in math environments (#11265)Emmanuel Ferdman
Previously, a math environment with extra space before the `\end` would get rendered with a blank line, which LaTeX treats as a paragraph break. Signed-off-by: Emmanuel Ferdman <[email protected]>
2025-11-03LaTeX reader: fix bugs in raw LaTeX parsing.John MacFarlane
Fix `rawTeXParser`. Make macro expansion in raw LaTeX depend on the setting of the `latex_macros` extension. Previously macros were always expanded, even in raw TeX in markdown. In addition, there was previously a bug that caused content to be garbled in certain cases. Closes #11253. Handle `ifstrequal` at a lower level, like the other `if` commands. See #11253.
2025-11-03asciidoc writer: Add more table features (#11267)Tuong Nguyen Manh
This adds the following table features: - row span and column span - footer row - individual horizontal cell alignment [API change] T.P.Writers.Shared: Add functions `allRowsEmpty` and `tableBodiesToRows` from the RST writer for reuse in other writers. Also fix hlint warning about `unzip` from `NonEmpty`: The exported polymorphic function will become monomorphic in the future. Restrict the `NonEmpty` import to use the Prelude `unzip` function.
2025-11-03Markdown reader: fix performance issue in links with `'`.John MacFarlane
Closes #10880.
2025-11-02Makefile: Use python3 in update-translations.John MacFarlane
2025-11-02LaTeX writer: improve handling of math environments in tex math.John MacFarlane
Previously the special handling added for #9711 worked only when the math element did not contain spaces before the math environment. Closes #11266.
2025-10-30Typst reader: handle document metadata and `#title`.John MacFarlane
See jgm/typst-hs#80. Note that previously, the typst reader never returned document metadata. Now it does, even if the typst document does not contain a `#title` function that would result in actually printing the title block.
2025-10-30PDF: fix regression with typst and smart quotes.John MacFarlane
Before 3.8, the default behavior when producing a PDF `-t typst` was to produce smart quotes according to typst's defaults. (This could be defeated by specifying `-t typst-smart`.) This behavior broke in 3.8 because of a change to Text.Pandoc.PDF. This change caused `smart` to be disabled for all formats when producing PDFs, when before it was only disable for TeX-based formats (to avoid bad ligatures). This commit restores the old behavior. Possibly the regression also other affects other non-TeX formats, e.g. HTML. Closes #11256.
2025-10-30Fix tests for #11259 change.John MacFarlane
2025-10-30Re-add `columns` to typst template.John MacFarlane
This is a regression since 3.8. Closes #11259.
2025-10-28LaTeX reader: Moved some entries from environments to blockCommands.John MacFarlane
They are not environments! `ifstrequal`, `iftoggle`, etc. ifstrequal, iftoggle, etc. -- these are not environments, and they are handled under inlineCommands.
2025-10-27Djot reader: add Space elements.John MacFarlane
Previously we just got big Str elements with spaces included. But many pandoc writers assume that breakable spaces will be Space elements. So, we got odd results with e.g. jira output. Closes #11250.
2025-10-27Fix stack.yaml.John MacFarlane
2025-10-27stack.yaml - fix syntax.John MacFarlane
2025-10-27Bump actions/upload-artifact from 4 to 5 (#11248)dependabot[bot]
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '5' 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-10-26Use dev versions of typst-hs, texmath, typst-symbols.John MacFarlane
2025-10-26Typst template: fix font for compatibility with typst 0.14.John MacFarlane
Typst 0.14 doesn't permit an empty array for `font`. Closes #11238.
2025-10-24Citeproc: allow formatting in locator to be transmitted to citeproc.John MacFarlane
We do this indirectly, by rendering the formatting using the HTML tags that citeproc recognizes. Fixes jgm/citeproc#68 and jgm/citeproc#163. Note that formatting is only possible for locators given in the explicit form, surrounded by curly braces. It won't work for implicit locators, since these expect number-like expressions.
2025-10-24Use latest dev citeproc.John MacFarlane
2025-10-23Typst template: fix syntax for bibliography inclusion (#11233)Mickaël Canouil
Previously the syntax was wrong when multiple bibliography files were specified. Typst expects an array.
2025-10-20Update AUTHORS.md.pandoc-lua-engine-0.5.0.1pandoc-cli-3.8.2.13.8.2.1John MacFarlane
2025-10-20Update changelog.John MacFarlane
2025-10-20Update manual date and regenerate man pages.John MacFarlane
2025-10-20Bump pandoc-lua-engine to 0.5.0.1John MacFarlane
2025-10-20Bump pandoc, pandoc-cli to 3.8.2.1John MacFarlane
2025-10-20cabal.project - remove obsolete constraint for data-default.John MacFarlane
We no longer need this, now that dependent packages have been fixed to use data-default >= 0.8.
2025-10-19pandoc-lua-engine: allow citeproc 0.11.John MacFarlane
2025-10-19Use released citeproc 0.11.John MacFarlane
2025-10-18Allow unicode-data 0.8.John MacFarlane
2025-10-18Org reader: parse parameter lists on unknown blocks.Albert Krewinkel
The reader tries to parse the rest of the opening line of a block, e.g., `#+begin_myblock …`, as a parameters list. It first assumes that the parameters are in lisp-style (`:key value`), then alternatively tries to read python-style key-value pairs (`key=value`) and falls back to reading the entire remaining line as a single `parameter` attribute. This method is also applied to dynamic blocks. Closes: #11188
2025-10-18Org reader: add support for dynamic blocks.Albert Krewinkel
2025-10-18Typst template: ensure that title block is properly centered.John MacFarlane
Closes #11221.
2025-10-18Update to use latest dev citeproc.John MacFarlane
Fixed golden test regeneration in Docx reader test.
2025-10-16Fix #6959 test so it works on Windows.John MacFarlane
2025-10-15Docx writer: properly handle nested comment spans.John MacFarlane
Patch credit: @mmourino. Closes #8189. Closes #6959.
2025-10-14RST writer: Don't use simple tables with RowSpans (#11214)TuongNM
2025-10-13RTF reader: improve hyperlink parsing.John MacFarlane
Closes #11211.
2025-10-13Typst writer: Escape open paren after non-space.John MacFarlane
This fixes an issue that occurs if an open paren comes right after e.g. `#strong[test]`. Closes #11210.
2025-10-12Fixed missing backtick. (#11209)FoxChillz
2025-10-11HTML reader: allow blank space between open and close iframe.John MacFarlane
2025-10-10Correct anchor references to `pandoc.text` module documentation (#11205)Emmanuel Ferdman
Closes #11111.
2025-10-06LaTeX writer/template: small fix for unnumbered tables.John MacFarlane
This improves on commit e13aa5c0157744de262ac512cc95a76a4562e37b, which worked only for recent versions of longtable. For older versions, we need to define a dummy counter `none`. Closes #11201. Thanks to @priiduonu for the solution.