aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-07-25T.P.PDF: clean up `makePDF`Albert Krewinkel
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-23Ensure that all modules have explicit export lists.John MacFarlane
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-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-14Typst writer: set lang attribute in Divs.John MacFarlane
Closes #10965.
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-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-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-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-16LaTeX reader: support `\ifmmode`.John MacFarlane
Closes #10915
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-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-28Fix whitespace bugs.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-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.
2025-05-26SelfContained: do not drop `data-` attributes in script tags.John MacFarlane
Closes #10861.
2025-05-20gridTable - small improvements.John MacFarlane
2025-05-20RST writer: don't emit alignment markers in grid tables.John MacFarlane
Closes #10857.
2025-05-19gridTable: fix (3.7) regression with missing cell alignments.John MacFarlane
Closes #10853.
2025-05-17gridTables: properly handle columns with all empty cells.John MacFarlane
See #10848.
2025-05-16Fix problems with gridTable and add tests.John MacFarlane
Closes #10848.
2025-05-16gridTable: don't ignore row heads.John MacFarlane
2025-05-16gridTable: fix remaining formatting issues for complex tables.John MacFarlane
2025-05-15gridTable: improve merging of borders.John MacFarlane
2025-05-15gridTable: more improvements to colspan handling.John MacFarlane
2025-05-15gridTable: partially fix problems with colspans.John MacFarlane
2025-05-15Fix context writer/template to produce tagged PDFs.John MacFarlane
As before, the `tagging` extension must be enabled. We now add the command that tells ConTeXt to start tagging. Closes #10846.
2025-05-14T.P.Writers.Shared: New version of `gridTable`.John MacFarlane
This handles row and colspans. Partially addresses #6344. It also ensures that cells won't wrap text in places where it wouldn't normally wrap, even if this means making the cells wider than requested by the colspec. (Closes #9001. Closes 7641.) Parameters are different, so this is a breaking [API change]. Markdown, RST, and Muse writers have been adjusted to use the new `gridTable`.
2025-05-14T.P.Class.Sandbox: add function that can take a FileTreeAlbert Krewinkel