Commit Graph
17835 Commits
Author SHA1 Message Date
silby 9f6f2c843d Fix comments in TEI writer referring to DocBook (#10430) 2024-12-01 22:09:12 -08:00
John MacFarlane 561e1de8cb Commonmark implicit_figures should check for empty caption...
...and not produce an implicit figure in this case.

Closes #10429.
2024-11-30 09:09:29 -07:00
John MacFarlane 5f4c4ae223 EPUB writer: use standardized filename for cover image...
...instead of the original name.

This avoids problems with e.g. filenames containing spaces.
Closes #10404.
2024-11-24 09:11:52 -08:00
John MacFarlane 7d2bd2c9a0 Markdown writer: issue INFO warning when not rendering table...
...e.g., when `raw_html` is disabled and the table can't be
fit into a supported markdown table format.

Closes #10407.
2024-11-23 10:21:27 -08:00
John MacFarlane 678c791940 MANUAL: clarify what the example of YAML EPUB metadata shows.
Closes #10405.
2024-11-23 10:07:44 -08:00
John MacFarlane f9e424c2f6 Fix stack.yaml. 2024-11-22 10:43:13 -08:00
John MacFarlane 68c65c187a Use latest dev skylighting-core. 2024-11-22 09:37:03 -08:00
silby 1e928814bf Add WebP support to ImageSize (#10397)
Text.Pandoc.ImageSize: Add `Webp` constructor on ImageType.  [API change]
2024-11-22 09:26:29 -08:00
John MacFarlane fabfaabd81 MediaWiki reader: fix indented tables with caption.
Closes #10390.
2024-11-19 09:46:53 -08:00
John MacFarlane 323b7e4d6a Use latest dev skylighting-format-xhtml. 2024-11-19 09:27:00 -08:00
Caleb Maclennan 1e917dd1fc Text.Pandoc.Format: remove duplicate typst entry (#10388) 2024-11-15 20:51:31 +01:00
John MacFarlane bdfe336a63 Use latest dev texmath. 2024-11-13 09:04:05 -08:00
John MacFarlane 5bd609f4ee Use latest dev texmath. 2024-11-13 08:33:24 -08:00
John MacFarlane cf077478d9 Add font-settings.latex partial to pandoc.cabal.
Closes #10379.
2024-11-12 09:11:23 -08:00
Evan Silberman a4b8591150 Respect empty LineBlock lines in ANSI writer 2024-11-11 16:00:47 -08:00
Evan Silberman fdef25eb6e Respect empty LineBlock lines in plain writer
The plain writer behaved as a markdown variant with Ext_line_blocks
turned off, and so empty lines in a line block would get eliminated.
This is surprising, since if there's anything where the intent can be
preserved in plain text output it's empty lines.

It's still a bit surprising to have nbsps in plain text output, as in
the test, where the distinction doesn't really matter, but that'd be an
orthogonal change.
2024-11-11 16:00:47 -08:00
John MacFarlane be734d2543 Remove definitions.typst partial.
Remove unnecessary definition of `endnote`.
Incorporate the one remaining definition into `default.typst`.
2024-11-11 10:23:18 -08:00
John MacFarlane 13d37b4713 Docx reader: don't create multiple paragraphs for title or subtitle.
If there are multiple paragraphs with Title or Subtitle style,
use only the first for metadata.

Note: this is a message-only commit.  The code for this accidentally got
lumped with another change in d5d2821a4d.

Closes #10359.
2024-11-11 09:44:56 -08:00
John MacFarlane 8133284647 Use dev texmath 2024-11-11 09:39:00 -08:00
John MacFarlane d5d2821a4d Typst writer: make template sensitive to a page-numbering variable.
This can be set to an empty string (or, in metadata, to false) for
no page numbers.

Addresses #10370.
2024-11-09 11:38:08 -08:00
John MacFarlane b088a55e56 Docx reader: handle case where Zotero itemData has different id...
from the citationItem id.  In this case we use the citationItemId
in the bibliography as well, overriding the referenceId in the itemData.

Closes #10366.
2024-11-08 09:28:49 -08:00
John MacFarlane a863c30ac1 Use latest dev typst-hs. 2024-11-07 14:15:33 -08:00
John MacFarlane 5240a52479 nightly, release-candidate: set GITHUB_PATH to include ghcup bin. 2024-11-07 07:07:07 -08:00
John MacFarlane 5c1b5ef1e0 CI: use ghcup to install cabal in Windows. 2024-11-07 07:06:55 -08:00
Andreas Deininger eeb8b1eb3a Fix typos (#10349) 2024-11-06 10:04:33 -08:00
John MacFarlane 10f638ddf2 Nightly/macos: be sure to install cabal as well as ghc. 2024-11-06 08:11:45 -08:00
John MacFarlane 4b2707cbe7 Install ghcup on GH macos runners.
They no longer include it as they did in macos-12.
2024-11-05 08:00:25 -08:00
John MacFarlane 8507a8c101 Remove .circleci directory.
We haven't used circleci for some time.
2024-11-05 07:58:00 -08:00
Andreas Deininger 17634be3f4 JATS writer: correct spelling of suppress attribute (#10350) 2024-11-04 10:07:20 -08:00
John MacFarlane f22f2a4fcb Use macos-13 runner instead of macos-12 or -15
(on release_candidate and nightly actions).
macos-13 is the oldest supported version.

See #10348.
2024-11-04 09:59:11 -08:00
John MacFarlane 1e6859f20a Allow Diff 0.1.
(Tested.)
2024-11-03 20:08:38 -08:00
Andreas Deininger f01bdef62b GitHub workflow 'nightly': bump Mac OS version (#10348) 2024-11-03 19:25:31 -08:00
John MacFarlane 39b87d4d28 Adjust test suite for typst template changes.
Note: the new templates presuppose typst 0.12; if you try to
use an earlier version of typst, an error will be raised.
2024-10-29 14:49:06 -07:00
Luis Rivera e01023c1f4 Issue10294 new code for two column layout on typst 0.12.x (#10324)
Update typst template to be compatible with two-column layout with
typst 0.12.  Layout instructions for two column layout has changed:
see https://github.com/typst/typst/issues/5215.

Closes #10294.
2024-10-29 14:22:49 -07:00
Jens ca30f4930d Update ua.yaml
Fix a typo from
See.: див.
to
See: див.
2024-10-29 14:19:12 -07:00
John MacFarlane d87c7611f4 LaTeX writer: ensure that beamer footnotes go on frame, not column.
Closes #5769.
2024-10-28 09:53:31 -07:00
John MacFarlane ec27d4bd22 Bump upper bound for data-default. 2024-10-28 09:41:10 -07:00
John MacFarlane d66f6e943b LaTeX reader: put minipage in specially marked Div.
Closes #10266.
2024-10-25 09:41:59 -07:00
John MacFarlane 32fa1428e0 Fix typo in last commit. 2024-10-25 08:48:19 -07:00
John MacFarlane de3b029b41 Use dev version of commonmark-extensions 2024-10-25 08:47:38 -07:00
John MacFarlane fc8f4534cf Typst reader: support underparen, overparen. 2024-10-23 21:52:03 -07:00
John MacFarlane 233301bacb Add font-settings.latex partial to the repository.
Fixes th efix to #6160.
2024-10-23 20:46:27 -07:00
John MacFarlane c17c2040ed RST reader: support :file: on raw directive.
Closes #8584.
2024-10-23 20:44:09 -07:00
John MacFarlane 516931f4b5 LaTeX/Beamer template changes.
- Split fonts.latex partial into two parts: fonts.latex and
  font-settings.latex.
- In beamer template, load beamer theme between fonts.latex and
  font-settings.latex. This allows a theme (such as metropolis)
  to set its own default font, while still allowing the user to
  override it.

This fixes a regression in pandoc 3.5.

Users who have custom templates based on pandoc 3.5 templates will
need to add `font-settings.latex()` after `fonts.latex()` in the
latex template. In a beamer template, the beamer theme-setting
code needs to be moved between these two partials.

Closes #10297.
2024-10-23 19:17:51 -07:00
John MacFarlane cd5dab1874 RST reader: implement option lists.
Closes #10318.
2024-10-23 17:26:46 -07:00
Albert Krewinkel 4c66bf2790 HTML writer: unwrap empty incremental divs
Divs are unwrapped if the only purpose of the div seems to be to control
whether lists are presented incrementally on slides.

Closes: #10328
2024-10-23 09:04:54 -07:00
Albert Krewinkel daef2fd53e doc/libraries.md: Sort list alphabetically 2024-10-23 11:08:00 +02:00
Albert Krewinkel aeb0f2a19b doc/libraries.md: Add newly developed Haskell packages 2024-10-23 11:00:02 +02:00
John MacFarlane 7b08411d5c Use latest dev typst-hs. 2024-10-22 22:27:08 -07:00
John MacFarlane f4e8595f7c Use lastest dev typst-hs 2024-10-22 22:11:22 -07:00