Commit Graph
18257 Commits
Author SHA1 Message Date
TomBen 0a697c101b Update East Asia font theme in styles.xml to minorEastAsia 2025-06-10 18:08:06 -07:00
TomBen 7b03847ec5 Update language settings in styles.xml for East Asia to Simplified Chinese 2025-06-10 18:08:06 -07:00
John MacFarlane f3b23afc94 Docx reader: don't add highlighting if highlight color is "none."
Closes #10900.
2025-06-08 13:17:46 -07:00
John MacFarlane 58daa8e2e8 ANSI writer: make --wrap=none work properly.
Closes #10898.
2025-06-05 14:39:16 -07:00
John MacFarlane ccec1e0b65 Docx reader: handle strict OpenXML as well as transitional.
Closes #7691.
2025-06-03 12:15:04 -07:00
John MacFarlane e007758c8c Use latest citeproc. 2025-06-03 11:42:06 -07:00
John MacFarlane add83e8169 Markdown reader: make definition lists behave like other lists.
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-06-02 23:29:47 -07:00
John MacFarlane 0f79a1f627 Changelog tweaks, update authors. pandoc-lua-engine-0.4.3 pandoc-cli-3.7.0.2 3.7.0.2 2025-05-28 15:35:39 -07:00
John MacFarlane 241ddad023 Fix regexes in prelease check. 2025-05-28 15:30:17 -07:00
John MacFarlane 75db10f315 Fix whitespace bugs. 2025-05-28 15:20:55 -07:00
John MacFarlane eee797fc5d Update changelog. 2025-05-28 15:17:13 -07:00
John MacFarlane 883c8725d5 Bump pandoc-lua-engine to 0.4.3. 2025-05-28 15:03:37 -07:00
John MacFarlane 5c79a313a1 Update man pages and MANUAL date. 2025-05-28 15:03:22 -07:00
John MacFarlane 3f37b0d2eb Require texmath 0.12.10.3, typst 0.8.0.1 2025-05-28 14:50:47 -07:00
John MacFarlane 66a6cf39d3 Bump to 3.7.0.2, also pandoc-cli. 2025-05-28 13:59:57 -07:00
John MacFarlane 397f077180 Use latest dev typst. 2025-05-28 13:38:56 -07:00
Greg c27ceac5cf Adding support for sidebars to Asciidoc writer 2025-05-28 13:38:16 -07:00
John MacFarlane 78efe58641 T.P.Writer.Shared gridTable: more grid table fixes.
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-28 12:46:00 -07:00
Albert Krewinkel c92cc277f5 doc/lua-filters.md: add missing docs for pandoc.Caption 2025-05-28 14:00:42 +02:00
Albert Krewinkel e6bd65ee19 doc/lua-filters.md: Re-generate docs
Pandoc now uses fewer spaces when outputting list items.
2025-05-28 13:56:08 +02:00
Albert Krewinkel 46081560cc tools/update-lua-module-docs: fix handling of wikilinks
The pandoc-internal representation of wikilinks has changed.
2025-05-28 13:47:49 +02:00
Albert Krewinkel ce5e2a2efc Lua: add function pandoc.mediabag.make_data_uri.
The function takes a MIME type and raw data from which it creates an
RFC 2397 data URI.

Closes: #10876
2025-05-28 13:19:01 +02:00
Benjamin Esham ccc0a5a630 HTML writer: use the ID prefix in the ID for the footnotes section.
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-27 08:53:33 -07:00
Nikolay Yakimov 8d93cd7949 Markdown writer: preserve figure attributes
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-26 20:38:40 -07:00
John MacFarlane 28e01fac74 LaTeX writer: include alt option in \includegraphics.
Closes #6095.
2025-05-26 20:29:20 -07:00
John MacFarlane 5c4ca5b75b SelfContained: fix handling of empty script element.
Previously in this case the closing tag was dropped.

Closes #10862.
2025-05-26 19:02:44 -07:00
John MacFarlane dfdbeedda3 Use lastest dev texmath. 2025-05-26 18:41:16 -07:00
John MacFarlane be43c0f16d SelfContained: do not drop data- attributes in script tags.
Closes #10861.
2025-05-26 17:38:35 -07:00
John MacFarlane 01c024ed34 Use latest dev texmath. 2025-05-26 16:54:41 -07:00
John MacFarlane 728bcf0731 gridTable - small improvements. 2025-05-20 11:35:09 -07:00
John MacFarlane f1e64ee0be RST writer: don't emit alignment markers in grid tables.
Closes #10857.
2025-05-20 10:18:32 -07:00
John MacFarlane 97b7d48333 gridTable: fix (3.7) regression with missing cell alignments.
Closes #10853.
2025-05-19 15:51:40 -07:00
John MacFarlane f4c7fccd93 ConTeXt template: add command needed to get tagging working...
...on the most recent context versions.
See #10846.
3.7.0.1 pandoc-cli-3.7.0.1
2025-05-17 10:18:58 -07:00
John MacFarlane 8270425280 Update changelog. 2025-05-17 10:07:09 -07:00
John MacFarlane 07c9924e5f Update manual date; regenerate man pages. 2025-05-17 10:06:40 -07:00
John MacFarlane fbeadcd0ba gridTables: properly handle columns with all empty cells.
See #10848.
2025-05-17 09:59:17 -07:00
John MacFarlane cc4ccb07e3 flake.nix: improve comments about overriding dependencies. 2025-05-17 09:42:15 -07:00
John MacFarlane a3230bbceb Bump manual date. 2025-05-16 20:51:28 -07:00
John MacFarlane aa97bf94d2 Bump pandoc/pandoc-cli to 3.7.0.1, update changelog. 2025-05-16 20:50:02 -07:00
John MacFarlane ca321e1b75 Fix problems with gridTable and add tests.
Closes #10848.
2025-05-16 18:10:06 -07:00
John MacFarlane 24cbdbdda5 gridTable: don't ignore row heads. 2025-05-16 11:00:19 -07:00
John MacFarlane 6cd6e81ddd gridTable: fix remaining formatting issues for complex tables. 2025-05-16 10:39:47 -07:00
John MacFarlane e158921412 gridTable: improve merging of borders. 2025-05-15 23:00:58 -07:00
John MacFarlane 5af4c7024c Add failing test for complex grid tables with row/colspans.
See #10848.
2025-05-15 15:02:37 -07:00
John MacFarlane adc05a6cd4 gridTable: more improvements to colspan handling. 2025-05-15 14:57:45 -07:00
John MacFarlane 7aed3b2693 gridTable: partially fix problems with colspans. 2025-05-15 13:28:29 -07:00
John MacFarlane 1f290db770 Add a failing test for #10848 grid table. 2025-05-15 13:28:18 -07:00
John MacFarlane cf795b0cf5 Fix context writer/template to produce tagged PDFs.
As before, the `tagging` extension must be enabled.
We now add the command that tells ConTeXt to start tagging.

Closes #10846.
2025-05-15 11:37:50 -07:00
John MacFarlane 2918ac41b3 Minor changelog tweaks. 2025-05-14 22:46:57 -07:00
John MacFarlane ba0dfe56b2 Small changelog tweak. 2025-05-14 22:31:51 -07:00