Commit Graph
18499 Commits
Author SHA1 Message Date
John MacFarlane be0509a26b Changelog spacing fix. 2025-10-06 23:03:31 +02:00
John MacFarlane 6a89576b00 Small improvements to release checklist template. 2025-10-05 22:47:41 +02:00
John MacFarlane fe57c69f29 Bump manual date. 3.8.2 pandoc-cli-3.8.2 2025-10-05 17:54:49 +02:00
John MacFarlane 677b8d0bf4 Bump pandoc, pandoc-cli to 3.8.2, update changelog 2025-10-05 17:48:39 +02:00
John MacFarlane ae1ef4364a Use released texmath 0.13.0.1 2025-10-05 17:14:10 +02:00
John MacFarlane e87b86261f Typst writer: don't add semicolons as much.
Previously we added semicolons after inline commands not
followed by spaces, but mainly this was to deal with one issue:
the presence of a semicolon after an inline command, which
would be swallowed as a command separator (#9252).

This commits adopts an approach that should avoid so many
superfluous semicolons: it escapes semicolons that might come
right after a command.  See #11196.
2025-10-05 16:33:03 +02:00
John MacFarlane 208142fcf2 Use dev version of texmath. 2025-10-04 21:10:50 +02:00
John MacFarlane 4a87898dd7 Add note on typst template variable.
Only a relative path can be used here.
See #11190.
2025-10-04 20:14:45 +02:00
John MacFarlane 9d452f801d Typst template: fix 3.8 regression in which links disappear.
A template change in 3.8 added a show rule for links which
causes them to disappear except in special cases.

This change fixes the problem.

Closes #11194.
2025-10-04 19:26:59 +02:00
John MacFarlane c66553c76b Small improvement to oneOfStrings.
Use accumulator.
2025-10-04 19:26:59 +02:00
TuongNM 7571187792 LaTeX writer: Fix strikeout in links (#11192)
As in #1294 \url and \href need to be protected
inside an mbox for soul commands.

Closes #9366.
2025-10-04 19:21:18 +02:00
John MacFarlane 46ff66d28b Parsing.General: Rewrite oneOfStrings' with less conversion to string. 2025-10-03 11:41:20 +02:00
John MacFarlane 1fd2cacee6 release-candidate: switch from macos-13 to macos-15-intel.
macos-13 will be retired by Dec. 4, 2025.
2025-10-03 11:05:42 +02:00
John MacFarlane e201e3370a Markdown tables: implement table_attributes extension.
When `table_attributes` is enabled (as it is by default for
pandoc's Markdown), attributes can be attached to a table by
including them at the end of the caption. Previously the writer
would emit an identifier in this position, but the reader didn't
handle it. Now arbitrary attributes are allowed, and they work in
both the reader and writer.

Closes #10884.

[API change]: Text.Pandoc.Extensions: Add `Ext_table_attributes`
constructor for `Extension`.
2025-10-02 13:37:53 +02:00
Benson Muite 127e397a6d Update contact information (#11183)
in COPYING.
2025-10-01 16:44:39 +02:00
Benson Muite 17599f4cf9 Update FSF address (#11182) 2025-10-01 15:00:16 +02:00
Reuben Thomas b5a7336867 MANUAL.txt: remove some redundancy (#11180)
Closes #11178.

In documenting LaTeX packages used by generated documents, don’t mention
some packages twice in one (already long) paragraph.

Add missing link for multirow.
2025-09-30 14:17:16 +02:00
John MacFarlane c2f81b369b Update AUTHORS.md. 3.8.1 pandoc-cli-3.8.1 2025-09-29 12:45:03 +02:00
John MacFarlane 8764e4af20 Update README.md. 2025-09-29 12:41:04 +02:00
John MacFarlane 77d320dbf2 Add vimdoc tables test to extra-source-files. 2025-09-29 12:40:46 +02:00
John MacFarlane d7abe701a2 Update an pages and manual date. 2025-09-29 12:38:20 +02:00
John MacFarlane 2577da7fa0 Update changelog. 2025-09-29 12:24:50 +02:00
John MacFarlane 6dc8f6f064 Bump version to 3.8.1 (also pandoc-cli). 2025-09-29 12:24:35 +02:00
John MacFarlane e8bdaab34e T.P.XML: Add fetchpriority to list of HTML attributes.
Closes #11176.
2025-09-29 12:10:27 +02:00
TuongNM ca0fc7dc55 RST writer: Add col spans for simple tables (#11173)
Closes #10127.
2025-09-29 11:53:24 +02:00
John MacFarlane 237b7a1a84 Remove coloring for a, a:visiting in epub.css.
This was causing links in iOS books app not to be distinguished in
any way (since underlining is not used there).

Closes #11174.
2025-09-28 15:57:28 +02:00
TuongNM b62f2505b3 LaTeX writer: Fix strikeouts in beamer title (#11169)
beamer uses pdfstring for the pdfinfo which can't handle soul strikeouts.
Therefore, the title, subtitle and author contents need to be put inside
texorpdfstring to deal with both the pdfinfo as well as the formatting.

Fixes #11168.
2025-09-28 15:52:33 +02:00
John MacFarlane 3ffd47af68 Typst writer: Fix syntax highlighting.
See #11171.  Previously the native typst highlighting was
always used, regardless of the setting of `--syntax-highlighting`.
With this change, `--syntax-highlighting=none` and
`--syntax-highlighting=<style name>` (with skylighting) will work.

Completes #10525.
2025-09-28 15:36:21 +02:00
John MacFarlane c72ff7393c T.P.Highlighting: export typst functions.
[API change] New exported functions `formatTypstBlock`,
`formatTypstInline`, `styleToTypst`.
2025-09-28 11:42:06 +02:00
John MacFarlane def9fc94ff Use released djot 0.1.2.3. 2025-09-27 13:36:45 +02:00
John MacFarlane d6bc9c3cce LaTeX writer: make beamer footnotes compatible with pauses.
Previously they would appear before the content to which
the note was attached, when there were pauses in a slide.

Closes #5954.

See related discussion in https://github.com/josephwright/beamer/issues/565.
2025-09-27 13:07:30 +02:00
John MacFarlane 95326e21e6 Add shorthands variable for LaTeX output.
If true, pandoc will allow language-specific shorthands
when loading babel.

Closes #11160.
2025-09-24 22:25:07 +02:00
John MacFarlane 9024df9348 RST writer: ensure blank line before directives.
Closes #11162.
2025-09-24 21:32:31 +02:00
TuongNM bdab9915ad OpenDocument writer: Add missing table elements (#11157)
Add missing header rows after the first one,
footer rows as well as TableBody header rows.

Also apply hlint suggestions to use Down and fuse mapM/map.

Closes #10002.
2025-09-20 21:05:29 +02:00
John MacFarlane 891e613e4a Docx writer: fix regression (3.8) in highlighted code.
We added DefaultHighlighting in commit 6475725 but didn't adjust the
pattern-match here.

Closes #11156.
2025-09-19 23:18:05 +02:00
John MacFarlane f64183fbbf Docx reader: handle figures in indented paragraphs.
Previously these were omitted.  Closes #11028.
2025-09-19 22:10:38 +02:00
John MacFarlane 643712ca70 LaTeX writer: avoid \_ in bibliography variable.
Since underscores are common in filenames, and pandoc will
render strings to variables using default LaTeX escaping, we
special-case `bibliography`, under the assumption that this variable
will be used in the context of the `\bibliography{..}` command,
which accepts unescaped underscores.

Closes #11152.
2025-09-19 10:16:25 +02:00
John MacFarlane 3cf8c5f716 Use dev version of djoths. 2025-09-19 10:15:24 +02:00
John MacFarlane 70393b4235 RST reader: fix regression in simple table parsing.
Closes #11150.
2025-09-18 11:52:22 +02:00
John MacFarlane 4f2a383f49 RST reader: SkippedContent warning if table directive...
containts non-tabular content.
2025-09-18 11:23:47 +02:00
John MacFarlane becb9a0a81 RST simple table fix.
Leading space in a cell should not cause the contents to
be parsed as a block quote.

Closes #11146.
2025-09-17 20:03:46 +02:00
John MacFarlane 2485c594d8 Docx reader: change default for textwidth.
This should only be used if sectPr is not found.
2025-09-17 15:45:42 +02:00
John MacFarlane d820620ccd Docx reader: properly calculate table column widths.
Previously we assumed that every table took up the full text
width. Now we read the text width from the document's
sectPr.

Closes #9837.
Closes #11147.
2025-09-17 14:24:33 +02:00
John MacFarlane bbd7b60432 Use Tasty.Golden for Docx reader tests.
This way we can update them with `--accept`.
2025-09-17 12:06:13 +02:00
John MacFarlane e13aa5c015 LaTeX writer: ensure that unlabelled tables don't increment counter.
Closes #11141.
2025-09-16 18:01:07 +02:00
reptee b197126c56 Vimdoc writer: add section to the manual (#11144) 2025-09-16 12:48:18 +02:00
John MacFarlane cf760c7f66 Markdown reader: Improve superscript/subscript/inline note parsing.
We do not allow inline notes to be followed by `(` or `[`.
Otherwise, we parse inline notes before superscripts.
This fixes #8652.

Also, the sub/superscript parsers have been adjusted so that they
really exclude unescaped spaces (as they did not before, when the
spaces occurred in nested inlines). See #5878 for comment.
2025-09-16 12:46:25 +02:00
John MacFarlane c3a5513eed Markdown reader: refactor out litBetween. 2025-09-16 12:46:25 +02:00
reptee a0cfb3fd31 Vimdoc writer (#11132)
Support for vimdoc, documentation format used by vim in its help pages.
Relies heavily on definition lists and precise text alignment to generate tags.
2025-09-15 12:45:28 +02:00
John MacFarlane 0ce85b0cfa Allow unicode-data 0.7. 2025-09-15 10:51:37 +02:00