aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-07-30Use latest dev pandoc-types.note-labelJohn MacFarlane
2025-07-30Fix mistaken attempt to fix #11006.John MacFarlane
Update the test so it reflects the right output, and fix the solution. Really closes #11006.
2025-07-30Typst writer: add native Typst support for `nocite`.Albert Krewinkel
The `nocite` metadata field can now be used to supply additional citations that don't appear in the text, just as with citeproc and LaTeX's bibtex and natbib. Closes: #10680
2025-07-29Asciidoc writer: handle lists with sublists following continuations.John MacFarlane
These require an additional blank line in some cases. Closes #11006.
2025-07-29TikiWiki reader: Use getVerbosity instead of getCommonState.John MacFarlane
2025-07-29docs: Don't encourage returning tables of filters from Lua filters (#11000)R. N. West (Nat)
See #10995. Use the `Pandoc:walk` method instead.
2025-07-29HTML styles: prefix default styles with informative CSS comment (#11002)Albert Krewinkel
Closes #8819
2025-07-29LaTeX writer: be more conservative about using `\url`.John MacFarlane
We only use it when the URL is all ASCII, since the `\url` macro causes problems when used with some non-ASCII characters. Closes #8802.
2025-07-29ImageSize: Add Point and Pica as constructors of ImageSize.John MacFarlane
[API change] This will prevent unnecessary conversion of units. Closes #8957.
2025-07-28Text.Pandoc.Class: Add `stManager` to CommonState.John MacFarlane
[API change] This allows us to cache the HTTP client manager and reuse it for many requests, instead of creating it again (an expensive operation) for each request. (The documentation for `newManager` advises sharing a single manager between requests.) This fixes a memory leak and performance issue in files with a large number of remote images. Closes #10997.
2025-07-27Markdown writer: use fenced divs even with empty attributes.Carlos Scheidegger
Previously fenced divs were not used in this case, causing the writer to fall back to raw HTML. Closes #10955.
2025-07-27Org writer: don't wrap link descriptions.John MacFarlane
Org doesn't reliable display these as links if they have hard breaks. Closes #9000.
2025-07-27Docx reader: fix `stringToInteger`.John MacFarlane
It previously converted things like `11ccc` to an integer; now it requires that the whole string be parsable as an integer. Closes #9184.
2025-07-26Ensure that the default template for `xml` is null.John MacFarlane
2025-07-26MANUAL.txt: add `xml` as input/output format.John MacFarlane
2025-07-26Associate the `.xml` extension with the XML reader and writer.John MacFarlane
2025-07-26New `xml` format exactly representing a Pandoc AST.massifrg
This adds a reader and writer for an XML format equivalent to `native` and `json`. XML schemas for validation can be found in `tools/pandoc-xml.*`. The format is documented in `doc/xml.md`. API changes: - Add module Text.Pandoc.Readers.XML, exporting `readXML`. - Add module Text.Pandoc.Writers.XML, exporting `writeXML`. A new unexported module Text.Pandoc.XMLFormat is also added.
2025-07-25PDF: Improve error readability when pdf-engine is not supported.Albert Krewinkel
Each supported engine is now printed on a line of its own.
2025-07-25PDF: allow `pdflatex-dev` and `lualatex-dev` as PDF enginesAlbert Krewinkel
These are the development versions of the LaTeX binaries; installable, e.g., with `tlmgr install latex-base-dev`. Closes: #10991
2025-07-25T.P.PDF: clean up `makePDF`Albert Krewinkel
2025-07-24Use latest dev citeproc.John MacFarlane
This solves the problem of unwanted capitalization of names at the beginning of citations in footnotes. Closes #10983.
2025-07-24Revert a test case that changed due to a reverted citeproc change.John MacFarlane
2025-07-24DocBook reader: Add rowspan support. (#10981)Sean Soon
2025-07-24Org reader: Recognize "fast access" characters in TODO state definitions ↵Ryan Gibb
(#10990)
2025-07-24Add features to typst base template.Christopher Kenny
This implements the changes suggested in #9956, with the exception of the filecolor/urlcolor one. These would require adding some regex to guess the link types. This is theoretically possible to do, but it wasn't clear to me that this is a good thing to put in a default template. Happy to adjust if you have thoughts on this. Closes #9956. Some things to note: I'm converting colors by passing them as content, as I was seeing pandoc escape # if that was included. I set the default fonts for math and code ("raw") to fonts that are bundled with Typst. These need not be those fonts if there are more familiar pandoc preferences.
2025-07-23Fix stack.yaml.John MacFarlane
2025-07-23Use dev texmath.John MacFarlane
2025-07-23Use latest dev citeproc.John MacFarlane
2025-07-23Fix CI again.John MacFarlane
2025-07-23CI: another stab at preventing ghc 9.10, 9.12 from erroring.John MacFarlane
2025-07-23CI: don't warn on unused imports in ghc 9.10+.John MacFarlane
For now I want to avoid having to put in lots of CPP.
2025-07-23Ensure that all modules have explicit export lists.John MacFarlane
2025-07-23Revise Makefile and CI treatment of `--ghc-options`.John MacFarlane
Previously we set `--ghc-options` in Makefile and CI; but this overrides the ghc-options set in the pandoc.cabal file. Better to add options one-by-one using `--ghc-option`. We no longer use GHC_OPTIONS and just put these extra options in CABAL_OPTIONS.
2025-07-23Use latest dev citeproc.John MacFarlane
Closes #10983 by allowing `nocase` spans to be used to suppress capitalization of initial word in a footnote.
2025-07-23Lua: add function `pandoc.path.exists`.Albert Krewinkel
The functions allows to check the existence of file-system objects.
2025-07-23Makefile: add -Wall to ghc options.John MacFarlane
2025-07-23Fix CI so that -Wall -Werror works again!John MacFarlane
We were only getting the return status for the tests, apparently, from `cabal test`. So now we run `cabal build` separately.
2025-07-23Fix incomplete pattern matches from new ImageType constructor.John MacFarlane
2025-07-22T.P.ImageSize: support avif images.John MacFarlane
[API change] New Avif constructor on ImageType. Closes #10979.
2025-07-22Djot writer: fix duplicate attributes before section headings.John MacFarlane
Closes #10984.
2025-07-22Markdown writer: match indents in definition itemsAlbert Krewinkel
Previously, the first line of a definition details item always used a colon and three spaces instead of respecting the tab-stop setting, which could lead to round-tripping issues. Likewise, the indentation of continuation paragraphs in definition lists now matches the two-characters leader of the first line for Markua output. Fixes: #10890
2025-07-21Typst: add support for custom and/or translated "Abstract" titlesAlbert Krewinkel
Closes: #9724
2025-07-20Fixed cabal.project stanza for citeproc.John MacFarlane
2025-07-20Fix a test.John MacFarlane
2025-07-20Use latest dev citeproc.John MacFarlane
2025-07-20Fix pandoc-citeproc-64 test.John MacFarlane
It was meant to test subsequent author substitution, but the new chicago-author-date doesn't do this. So we use a different CSL.
2025-07-20Fix citeproc-87 test.John MacFarlane
When we updated to the latest chicago-author-date.csl, this test no longer tested what it was supposed to; so we use a different csl.
2025-07-20Use latest dev citeproc and update the default CSL...John MacFarlane
from the latest chicago-author-date.csl. (Note that this goes from the 17th to the 18th edition.) Update tests.
2025-07-19Lua: add `normalize` function to *Pandoc* objectsAlbert Krewinkel
This function performs a normalization of Pandoc documents. E.g., multiple successive spaces are collapsed, and tables are normalized such that all rows and columns contain the same number of cells. Closes: #10356
2025-07-14Typst writer: set lang attribute in Divs.John MacFarlane
Closes #10965.