Commit Graph
481 Commits
Author SHA1 Message Date
John MacFarlane 1eba245757 Use latest dev texmath. 2026-03-15 16:01:48 +01:00
John MacFarlane 6219b9ebf6 Use latest dev asciidoc-hs. 2026-03-10 12:26:26 +01:00
John MacFarlane aab99655e9 Use latest dev asciidoc-hs. 2026-03-03 17:07:06 +01:00
John MacFarlane 9bfde3cd9d Use latest dev djoths. 2026-02-25 12:36:05 +01:00
John MacFarlaneandClaude Opus 4.5 1a3a6e4e19 Require auto-update >= 0.2.6 to fix server on macOS.
Version 0.2.5 introduced a dependency on getSystemTimerManager
which fails on macOS. Version 0.2.6 includes a fix that provides
fallback logic for non-threaded runtimes.

Closes #11488.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-25 11:06:13 +00:00
John MacFarlane 7498796f6a Use latest dev typst-hs 2026-02-13 10:55:33 +01:00
John MacFarlane 7d58cfb84f Use latest dev typst-hs. 2026-02-12 09:37:54 +01:00
John MacFarlane 4c4bad6973 Use latest dev asciidoc-hs. 2026-02-10 23:54:18 +01:00
John MacFarlane ffa2b2af85 Depend on dev asciidoctor-hs 2026-02-10 21:42:59 +01:00
John MacFarlane d224639f35 Undo changes with http flag.
We should basically always set this in a normal build,
and unset it for wasm. Handle this in cabal.project.
2026-02-02 23:04:03 +01:00
John MacFarlane 9c20cebb6d wasm: Removed an unneeded compilation option.
(`-optc-wasm-use-legacy-eh=false`)
2026-02-01 18:36:45 +01:00
John MacFarlane c1d6ff7b46 Use released typst-0.9. 2026-02-01 17:04:01 +01:00
John MacFarlane ac833def19 Depend on released asciidoc 0.1.0.1. 2026-02-01 16:58:16 +01:00
John MacFarlane b214bf836c Depend on released texmath 0.13.1. 2026-02-01 16:56:21 +01:00
John MacFarlane 5285313f9e Use released skylighting-format-blaze-html 0.1.2. See #11423 2026-02-01 16:35:33 +01:00
John MacFarlane 8994ef20b1 Use released djot 0.1.3. 2026-02-01 16:31:27 +01:00
John MacFarlane bbc4f30a62 Use released citeproc 0.13. 2026-02-01 15:44:35 +01:00
John MacFarlane 8d61071615 Remove +http from cabal.project
http defaults to True, and having it here prevents disabling it
on the command line.
2026-02-01 15:09:19 +01:00
John MacFarlane d86e9ad5df wasm build: Use patches for dependencies...
instead of relying on forks.

The patches themselves are from @TerrorJack's forks of the
corresponding projects.
2026-02-01 14:50:50 +01:00
John MacFarlane 960c0dcab0 cabal.project: Fix indentation of source-repository-package for hslua.
We only want it included for wasm builds.
2026-02-01 14:50:50 +01:00
John MacFarlane 4b26f50118 Add support for compiling pandoc.wasm.
'make pandoc.wasm' will compile a wasm version of pandoc.

This also adds a 'repl' flag to pandoc-lua-engine, so that
support for a Lua repl can be disabled for the wasm build.

A new wasm directory contains:

- pandoc.js, a JavaScript wrapper for pandoc.wasm
- index.html + index.js, a web app exposing all of pandoc's
  functionality in a GUI interface
- a set of illustrative examples that can be loaded from the web app

Most of the code in index.html and index.js has been produced in
interaction with Claude code.
2026-02-01 14:50:50 +01:00
John MacFarlane cab682ba58 HTML writer: Include all classes on highlighted code elements.
Previously, only the language class was included, and the
others were dropped.

Closes #11423.
2026-01-27 12:00:31 +01:00
John MacFarlane d62fa112c1 Use latest dev djoths 2026-01-24 16:00:41 +01:00
John MacFarlane 754beea13a Use latest dev texmath. 2026-01-19 13:19:10 +01:00
John MacFarlane 363135f65e Use latest dev asciidoctor-hs 2026-01-17 22:33:43 +01:00
John MacFarlane 05b0fcbfbe Use latest dev texmath. 2026-01-17 14:33:11 +01:00
John MacFarlane 144eb4e51b Use latest dev djoths. 2025-12-18 11:33:58 +01:00
John MacFarlane dc723571c6 Use latest texmath. 2025-12-17 11:54:50 +01:00
John MacFarlane bb9e54a03e Use latest dev typst-hs. 2025-12-15 17:28:21 +01:00
John MacFarlane 6f401799b7 Updaet to latest dev texmath, typst. 2025-12-14 22:42:47 +01:00
John MacFarlane 7767011767 Implement reset-citation-positions class on headings.
When the `reset-citation-positions` class is added to
a top-level heading, `--citeproc` will reset position
information at that point in the document. This is needed
in order to ensure that the first citation in a chapter
to a work that has been cited in a previous chapter will
not be in abbreviated form.

Requires a dependency on a development version of citeproc.
2025-12-07 17:07:05 +01:00
John MacFarlane 5e72d6e143 Use latest dev asciidoc. 2025-12-05 10:24:36 +01:00
John MacFarlane c6d99c957a Use latest asciidoc. 2025-12-04 23:41:19 +01:00
John MacFarlane 78929adb4d Use dev typst-hs 2025-12-04 12:04:20 +01:00
John MacFarlane e79e0d621e Use dev asciidoc. 2025-12-03 09:32:57 +01:00
John MacFarlane 4bdb4550c2 Use released asciidoc 0.1. 2025-11-30 17:57:08 +01:00
John MacFarlane b22eaa6939 Use released djot 0.1.2.4. 2025-11-30 17:43:30 +01:00
John MacFarlane 7e2bd987ae Use released texmath 0.13.0.2. 2025-11-30 17:41:56 +01:00
John MacFarlane 847e7d566f Use released typst 0.8.1. 2025-11-30 17:25:05 +01:00
John MacFarlane 564e275008 Use released citeproc 0.12. 2025-11-30 16:58:20 +01:00
John MacFarlane 37b7bd3b38 Use latest dev asciidoc. 2025-11-30 11:08:32 +01:00
John MacFarlane 8651ec3c28 Add asciidoc as an input format.
New exported module Text.Pandoc.Readers.AsciiDoc,
exporting readAsciiDoc [API change].

The bulk of parsing is handled by the asciidoc library.

Closes #1456.
2025-11-29 17:04:42 +01:00
John MacFarlane fe62b25f49 Use latest dev citeproc. 2025-11-19 21:59:50 +01:00
John MacFarlane f162c7a1cd Use latest dev citeproc. 2025-11-18 23:18:30 +01:00
John MacFarlane 97a9088121 Use latest dev typst-hs. 2025-11-18 23:05:04 +01:00
John MacFarlane 1443e7dc8f Use latest dev djoths. 2025-11-10 11:27:12 +01:00
John MacFarlane b69e9dbb81 Typst reader: handle document metadata and #title.
See jgm/typst-hs#80.

Note that previously, the typst reader never returned document
metadata.  Now it does, even if the typst document does not contain
a `#title` function that would result in actually printing the
title block.
2025-10-30 20:02:28 +01:00
John MacFarlane 9639a33b17 Use dev versions of typst-hs, texmath, typst-symbols. 2025-10-26 22:43:18 +01:00
John MacFarlane d6c95435bf Use latest dev citeproc. 2025-10-24 23:11:26 +02:00
John MacFarlane 1b9b05e2f7 cabal.project - remove obsolete constraint for data-default.
We no longer need this, now that dependent packages have
been fixed to use data-default >= 0.8.
2025-10-20 10:15:45 +02:00