Commit Graph

18889 Commits

Author SHA1 Message Date
John MacFarlane fcd8eae940 Man writer: don't run together successive definitions...
in a tight definition list with multiple definitions
after a term. Closes #11547.
2026-03-22 15:41:37 +01:00
John MacFarlane 397fef7900 LaTeX template: Define \xmpquote if not defined.
`\xmpquote` is defined by the hyperref driver hyperxmp; we need a
fallback for those who aren't using that.

Closes #11528.
2026-03-22 10:36:15 +01:00
John MacFarlane 54453a311c MANUAL.txt: Clarify indentation rules for definition lists.
See #11542.
2026-03-21 16:49:34 +01:00
John MacFarlane 55fc212b0b Add Panache to extras. 2026-03-21 16:49:34 +01:00
John MacFarlane 8ce63ffe28 Mardkown writer: fix spacing issues with definition lists.
- Properly handle the case where the first item is an indented
  code block.  (Closes #11542.)
- Use correct indentation when `four_space_rule` extension is
  disabled.
2026-03-20 11:39:01 +01:00
John MacFarlane f1e061478d Bump to 3.9.0.2, update changelog and man pages. pandoc-cli-3.9.0.2 3.9.0.2 2026-03-19 09:40:27 +01:00
John MacFarlane 3769d0cbf4 Typst template: fix regression introduced in 3.9.0.1.
This introduced a bug that will produce the error message
`the character `#` is not valid in code`.

Closes #11538.
2026-03-19 09:17:46 +01:00
John MacFarlane 700e8710b7 RELEASE-CHECKLIST-TEMPLATE.org - default to verbatim output. 2026-03-18 16:36:31 +01:00
John MacFarlane 99813a53ab Cirrus macos release candidate: switch to sonoma for build.
Monterey is no  longer available.
pandoc-lua-engine-0.5.2 3.9.0.1 pandoc-cli-3.9.0.1
2026-03-18 11:40:28 +01:00
John MacFarlane e940ac0ae0 cabal.project - remove patch for basement...
which we no longer need.
2026-03-18 11:17:34 +01:00
John MacFarlane c126c2bb47 Use new versions of cryton, crypton-x509-system, tls
This eliminates memory, basement, foundation as transitive deps.
2026-03-18 11:10:14 +01:00
John MacFarlane 71bf72a037 Fix wasm build to use ram package instead of memory. 2026-03-18 10:57:30 +01:00
John MacFarlane 109887263f Markdown reader: small code simplification...
to ef6b669e25.
2026-03-17 20:27:32 +01:00
John MacFarlane 024fe7aa40 Add to AUTHORS.md. 2026-03-17 20:17:07 +01:00
John MacFarlane 49064d150d Moved some things from extra-source-files to extra-doc-files. 2026-03-17 19:43:35 +01:00
John MacFarlane 8e9fc5b27c Add test files to extra-source-files. 2026-03-17 19:42:30 +01:00
John MacFarlane 5b58633e85 Update changelog. 2026-03-17 19:40:00 +01:00
John MacFarlane ef6b669e25 Markdown reader: Fix bug with lists_without_preceding_blankline.
This was not properly implemented, causing some unintended
results. Closes #11534.
2026-03-17 19:37:08 +01:00
John MacFarlane 14b3876547 Update man page and MANUAL date. 2026-03-17 16:38:41 +01:00
John MacFarlane dcdd2af224 Bump lower bounds for asciidot, djot, texmath, typst. 2026-03-17 16:17:24 +01:00
John MacFarlane 3e8fca87c8 Bump pandoc-lua-engine to 0.5.2. 2026-03-17 16:13:43 +01:00
John MacFarlane cd0bd0bf31 Bump to 3.9.0.1, bump and sync pandoc-cli. 2026-03-17 16:12:32 +01:00
John MacFarlane f53d95ab35 Use released djot, asciidoc, texmath, typst. 2026-03-17 16:11:03 +01:00
John MacFarlane 4fbe52f4c1 Update typst tests for template change. 2026-03-17 11:00:39 +01:00
John MacFarlane dc4bcd23cc typst template: put title block in a conditional.
This avoids an empty block for documents that lack metadata
information.  The empty block causes problems if `#set page`
is used, as it will cause a page break.

Closes #11529.
2026-03-17 09:58:29 +01:00
John MacFarlane 1cc6fec234 ImageSize: correctly handle percentage width, height on svg.
Previously we were getting image size of 0 when a percentage
was specified for width or height on SVG.  With this change,
we simply ignore these percentages (becaues ImageSize doesn't
know the size of the containing element).

Closes #11530.
2026-03-17 09:49:29 +01:00
John MacFarlane 0784049b40 MANUAL.txt: Note that JSON may be used in YAML metadata blocks.
JSON is a subset of YAML. See #11525.
2026-03-17 09:04:44 +01:00
John MacFarlane 5f245367d9 LaTeX template: properly handle keywords with commas.
These need to be put in an `\xmpquote{..}` command.
Closes #11528.
2026-03-16 17:34:01 +01:00
John MacFarlane bf45205b8a Update typst test for math changes. 2026-03-15 18:12:01 +01:00
John MacFarlane 1eba245757 Use latest dev texmath. 2026-03-15 16:01:48 +01:00
ˌbodʲɪˈɡrʲim f10ee0eec3 LaTeX reader: support supertabular environment (#11523) 2026-03-14 22:25:19 +01:00
John MacFarlane c8ee9dc545 Docx reader: preserve non-textbox content when unwrapping textboxes.
Previously, when a w:p paragraph contained runs with textboxes,
the entire paragraph was replaced by just the textbox content,
discarding all other runs (including image-bearing runs).
Now we walk the paragraph's children in order, grouping
non-textbox content into copies of the original w:p and splicing
unwrapped textbox content in place, preserving the original order.

We also treat text inside a textbox containing an image as a
figure caption.  (One often finds captioned images of this
kind in docx files.)

Closes #11510.
Closes #6893.
Closes #11412.
Closes #5394.
Closes #9633.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-14 20:12:34 +00:00
John MacFarlane 8aa7a08574 Docx writer: don't depend on extractTarget from Docx reader. 2026-03-12 23:51:21 +01:00
John MacFarlane 244528e044 Docx reader: properly handle media stored with packaged-rooted paths...
...such as /media.  This can be produced by the online version
of Word. (Desktop Word uses paths relative to word/.)  With this change,
media stored at an absolute path will be stored with its original
name and not given a SHA1-based name.

Closes #11518.
2026-03-12 23:28:54 +01:00
Raymond Berger f0d05eb438 Docx reader: Recognize media inside textboxes (#11515)
Closes #11053.
2026-03-12 22:26:17 +01:00
John MacFarlane d39ca219e7 Permit http-client-tls 0.4. 2026-03-12 10:29:41 +01:00
silby 09faceaa0d Remove self from sponsorship recipients (#11519) 2026-03-12 10:22:45 +01:00
John MacFarlane 6219b9ebf6 Use latest dev asciidoc-hs. 2026-03-10 12:26:26 +01:00
John MacFarlane 80c704a9ac Typst writer: properly escape . after bracketed argument.
(When it might be mistaken for field access.)

Closes #11511.
2026-03-09 14:10:53 +01:00
John MacFarlane 661d18b244 Allow tls 2.2. 2026-03-08 09:54:42 +01:00
Peter Briggs 87e00ed944 Fix outdated OPML spec URL in MANUAL.txt (#11504) 2026-03-08 09:52:20 +01:00
John MacFarlane 131cf7ce9b Allow crypton 1.1. 2026-03-07 23:42:44 +01:00
Albert Krewinkel 40b525352d JATS writer: improve representation of divs
The writer now checks if the element used to represent (non-special)
divs has any `<boxed-text>` specific attributes. If it does, the writer
keeps wrapping the div contents in a `<boxed-text>`, as it did before.
Otherwise, the writer falls back to the more appropriate `<p>` element
or simply unwraps the div if the wrapping element wouldn't have any
attributes. The new behavior gives better semantic results in most
cases, as `<boxed-text>` should be used for text that "is outside the
flow of the narrative text", which doesn't apply to most divs.

"Special" divs, like those used to mark sections, are not affected by
this change.
2026-03-06 13:59:04 +01:00
massifrg 15ddf4124c ICML writer support for image object styles (#11498)
This change allows users to style images in InDesign bysetting the
`object-style` attribute in a pandoc Image, which is mapped to the
AppliedObjectStyle attribute in the Rectangle element around
an Image element in the resulting ICML.
2026-03-03 22:31:55 +01:00
John MacFarlane aab99655e9 Use latest dev asciidoc-hs. 2026-03-03 17:07:06 +01:00
John MacFarlane a6ab08da9f MediaWiki writer: use appropriate syntax for external images.
Note that they will only be rendered as images if an
option `$wgAllowExternalImages` is enabled in the MediaWiki instance.

Closes #11494.
2026-03-03 15:38:51 +00:00
dependabot[bot] 929597b7c4 Bump actions/upload-artifact from 6 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 11:55:41 +01:00
John MacFarlane 104344fe72 PPTX writer: register content type for embedded fonts.
When a reference document contains embedded fonts (.fntdata files),
the content type was not being registered in [Content_Types].xml,
causing PowerPoint to flag the output as corrupted.

Closes #11492.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-28 14:07:54 +00:00
John MacFarlane fd8d755f8a Markdown writer: escape literal & that would trigger entity.
Closes #11490.
2026-02-27 11:51:35 +01:00
Pascal Wagler 72b62843c1 EPUB 3 update allowed values for metadata identifier.scheme (#11485)
- Update allowed values for metadata `identifier.scheme` from ONIX codelist  issue 72.
- Change some `identifier.schema` allowed values to better align with ONIX codelist.
- Update manual.

Closes #11481.
2026-02-25 22:03:33 +01:00