Albert Krewinkel
2de6f2eb83
doc/lua-filters: fix docs for pandoc.Cite.
2025-06-23 13:02:20 +02:00
Albert Krewinkel
d3f2fcc5f8
pandoc-lua-engine: Allow hslua-2.4.
2025-06-23 13:02:19 +02:00
John MacFarlane
b57d3f9b4d
Markdown writer: better handling of pandoc-generated code blocks.
...
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-20 13:42:31 -07:00
Albert Krewinkel
e2f67395a0
Typst writer: rename *numbering* variable to *section-numbering*.
...
This is the name expected by the default template.
2025-06-18 17:27:10 -07:00
John MacFarlane
103c26aab1
Add TODO comment to cabal.project.
2025-06-17 07:52:40 -07:00
John MacFarlane
c6e418268f
Fix compiler warning.
2025-06-16 17:56:59 -07:00
John MacFarlane
94a9643ef9
DocBook writer: Fixed compiler warning.
2025-06-16 17:30:52 -07:00
John MacFarlane
c476f4749d
DocBook writer: use startingnumber instead of override...
...
for start numbers on ordered lists.
Also remove legacy support for override on listitem in the
reader.
See #10912 .
2025-06-16 13:15:12 -07:00
John MacFarlane
3d124e5d39
DocBook reader: be sensitive to startingnumber attribute...
...
on ordered lists. Closes #10912 .
2025-06-16 12:44:24 -07:00
Erik Post
6218393698
doc/extras.md: Fix link to pandoc-mode
2025-06-16 10:46:09 -07:00
John MacFarlane
332fffb89a
LaTeX reader: support \ifmmode.
...
Closes #10915
2025-06-16 10:39:58 -07:00
John MacFarlane
6c3eebbb44
Update flake.nix to include zlib.dev.
2025-06-16 10:39:58 -07:00
John MacFarlane
ae68554538
Fix docx golden tests for East Asian default style changes.
2025-06-10 18:11:24 -07:00
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