Andrew Dunning
6556675ba8
Add footnote block text sample
2025-01-31 09:13:18 -08:00
Andrew Dunning
0e1764ec61
Remove extra spaces in default reference docx
...
The line breaks are interpreted as whitespace, resulting in extra leading and trailing spaces in the reference file.
2025-01-31 09:13:18 -08:00
John MacFarlane
626ffd74b4
LaTeX reader: Make withRaw work inside parseFromToks.
...
This is needed for raw environments to work inside table cells.
Closes #9517 .
2024-03-09 12:53:13 -08:00
John MacFarlane
eca9ad1009
Use dev version of doclayout.
2024-03-09 08:52:52 -08:00
John MacFarlane
b15e938304
Use latest zip-archive release.
2024-03-09 08:50:09 -08:00
Oliver Fabel
f20f74512c
Fix block headings support for unnumbered paragraphs ( #9542 )
...
`block-headings: true` seems to break unnumbered paragraphs and subparagraphs. This is due to the fact, that the unnumbered version uses the star macros \paragraph* and \subparagraph*. See issue #6018 for details.
2024-03-09 08:46:27 -08:00
John MacFarlane
3d0e2efa88
Depend on dev version of texmath.
2024-03-06 15:08:25 -08:00
John MacFarlane
0ad5684996
Depend on djt 0.1.1.1
2024-03-04 22:38:22 -08:00
John MacFarlane
892bcca2c9
Korean translations: delete colon in translation for 'to'.
...
This was invalid YAML, and not desired anyway, since a colon
is added.
2024-03-03 10:14:25 -08:00
John MacFarlane
5877ec546d
Replace polyfill provider in HTML templates.
...
The PR replaces polyfill.io with cdnjs.cloudflare.com/polyfill.
polyfill.io has been acquired by Funnull, and the service has
become unstable.
This is essentially a cleaned up version of PR #2384 by @SukkaW;
see the PR for more information.
2024-03-01 08:46:10 -08:00
John MacFarlane
2549d34315
Update man pages.
3.1.12.2
pandoc-cli-3.1.12.2
2024-02-29 20:33:50 -08:00
John MacFarlane
75cb36ade8
Bump to 3.1.12.2 (also pandoc-cli), update changelog, manual date.
2024-02-29 20:33:12 -08:00
John MacFarlane
79567bf7f4
Depend on released djot 0.1.1.0
2024-02-29 20:24:46 -08:00
John MacFarlane
67fa6cda5c
SelfContained: add role="img" to svgs.
...
This is needed in conjunction with `aria-label` for screen
readers. Completes the fix to #9525 .
2024-02-29 12:48:27 -08:00
John MacFarlane
85b3ac3ee1
SelfContained: Add aria-label to svg elements.
...
Screen readers don't seem to pay attention to an alt attribute on
svg. But they do read the aria-label. So if there's an alt
attribute, we copy its contents to aria-label, unless there is
already an aria-label. This will make pandoc's output with
`--embed-resources` more accessible.
Closes #9525 .
2024-02-29 12:08:02 -08:00
John MacFarlane
6c88c39c6d
Docx writer: don't copy over footnotePr in settings.xml...
...
rom reference.docx. Closes #9522 .
2024-02-28 22:34:04 -08:00
John MacFarlane
cd460ec9c7
Fix regression in section numbering.
...
Starting with pandoc 3.1.12, unnumbered sections incremented
the section number.
Closes #9516 .
2024-02-28 11:31:05 -08:00
John MacFarlane
87b07c699a
Docx reader: ensure that table captions are counted.
...
Normally these occur outside the table element itself, but they
should still be parsed as captions in this case.
Closes #9518 .
2024-02-28 10:05:15 -08:00
John MacFarlane
6f87c9e29a
Docx reader: detect caption by style name not id.
...
The styleId can change depending on the localization.
Partially resolves #9518 .
2024-02-28 10:04:31 -08:00
John MacFarlane
b4e4da62a3
Docx reader: avoid emitting empty paragraph where caption was.
2024-02-28 10:04:06 -08:00
John MacFarlane
e925467328
Use commonmark-extensions 0.2.5.3
2024-02-27 22:06:58 -08:00
John MacFarlane
8c9e1dbe0c
Use released skylighting-format-blaze-html
2024-02-27 21:09:23 -08:00
John MacFarlane
4ca2de1715
Update test suite for latest skylighting-format-blaze-html.
2024-02-27 20:02:52 -08:00
John MacFarlane
7504bf459c
Use latest skylighting-format-blaze-html.
...
Closes #9520 , fixing auto-wrapping of long source lines
in HTML print media.
2024-02-27 19:56:31 -08:00
John MacFarlane
23337fe9dc
Makefile: improve epub-validation target.
...
Use `--epub-cover-image` to catch issues that only arise with that.
See #9493 .
2024-02-22 23:12:15 -06:00
John MacFarlane
0a5ececcb4
EPUB writer: omit EPUB2-specific meta tag on EPUB3.
...
This caused a validation failure in epubs with cover images.
Closes #9493 .
2024-02-22 23:11:13 -06:00
Albert Krewinkel
5c6a8eb607
Lua: avoid crashing when an error message is not valid UTF-8
...
Invalid input bytes in error messages caused pandoc to crash with an
encoding exception. Instead, the invalid bytes are now replaced with the
Unicode replacement character U+FFFD.
2024-02-20 21:10:15 +01:00
John MacFarlane
37668ba378
Fix stack.yaml.
2024-02-20 11:43:44 -08:00
John MacFarlane
69b22d88a4
stack.yaml: specify tls version.
2024-02-20 11:04:08 -08:00
John MacFarlane
907226e50b
Require tls >= 2.
2024-02-20 10:50:34 -08:00
John MacFarlane
25a994df65
Class: openUrl TLS negotiation fixes.
...
With the release of TLS 2.0.0, the TLS library started requiring
Extended Main Secret for the TLS handshake. This caused problems
connecting to zotero's server and others that do not support TLS 1.3.
This commit relaxes this requirement.
Closes #9483 .
2024-02-20 10:07:58 -08:00
John MacFarlane
7a65ef25a0
Rely on dev version of djoths.
2024-02-20 08:23:43 -08:00
John MacFarlane
b103792c17
Minor code cleanup.
2024-02-19 22:00:49 -08:00
John MacFarlane
c131f8d4bc
Markdown reader: fix regression in link parsing...
...
with wikilinks extensions. This fixes a regression introduced
in 3.1.12. Closes #9481 .
2024-02-19 12:46:43 -08:00
John MacFarlane
54b001aa19
Org reader/writer: support admonitions.
...
Closes #9475 .
2024-02-19 11:26:57 -08:00
John MacFarlane
a6d85a0c98
Org writer: omit extra blank line at end of quote block.
2024-02-19 11:26:29 -08:00
John MacFarlane
8a0e522c39
Typst writer: ensure that -, +, etc. are escaped at beginning of block.
...
Our recent relaxing of escaping (#9386 ) caused problems for
things like emphasized `-` characters that were rendered using
`#strong[-]#`. This now gets rendered as `#strong[\-]`.
Closes #9478 .
2024-02-19 08:52:37 -08:00
John MacFarlane
b36052144b
LaTeX writer: fix bug when a language is specified in two different ways.
...
If you used `lang: de-DE` but then had a span or div with `lang=de`, the
preamble would try to load `ngerman` twice, leading to an error.
This fix ensures that a language is only loaded once.
Closes #9472 .
2024-02-18 11:44:03 -08:00
John MacFarlane
8d63ed4449
Bump to 3.1.12.1, update changelog and manuals.
3.1.12.1
pandoc-cli-3.1.12.1
2024-02-17 10:05:34 -08:00
John MacFarlane
aa759c4300
Powerpoint writer: properly handle math in headings and tables.
...
This ensures that paragraphs containing math are wrapped in
a `mc:AlternateContent` node as required.
Closes #9465 .
2024-02-16 15:39:36 -08:00
John MacFarlane
fc55d00376
EPUB writer: omit EPUBv3-specific accessibility stuff on epub2.
...
Closes #9469 . Fixes a regression in 3.1.12.
2024-02-16 13:42:30 -08:00
John MacFarlane
b506171578
Makefile: improve validate-epub.
2024-02-16 13:42:19 -08:00
John MacFarlane
9f8344d54e
Makefile: make validate-epub check v2 output too.
...
See #9469 .
2024-02-16 11:51:28 -08:00
John MacFarlane
45b6df537a
More fixes for SVG ids with --self-contained.
...
This generalizes the fix to #9420 so it applies to things like
`style="fill(url(#..."`.
Closes #9467 .
2024-02-16 10:06:12 -08:00
John MacFarlane
ba3e17de8e
Minor changelog fix.
pandoc-cli-3.1.12
3.1.12
pandoc-server-0.1.0.5
pandoc-lua-engine-0.2.1.3
2024-02-15 10:05:48 -08:00
John MacFarlane
305b9c0d34
Add djot to cabal description.
2024-02-15 09:41:40 -08:00
John MacFarlane
471d544383
Minor changelog changes.
2024-02-15 09:10:09 -08:00
John MacFarlane
17e6afe3f4
Small changelog revisions.
2024-02-15 09:05:37 -08:00
John MacFarlane
a62eab40f7
PDF: internal cleanup of tex2pdf path.
...
Distinguish tmpDir and outDir, since they can come apart
in the latexmk case.
2024-02-15 08:54:27 -08:00
John MacFarlane
307fc065aa
Depend on released version of djot.
2024-02-14 23:31:01 -08:00