768 Commits
Author SHA1 Message Date
John MacFarlane abe86835e1 Depend on latest pandoc-lua-marshall. 2024-10-05 12:45:40 -07:00
John MacFarlane 50007f0273 Use latest releases of commonmark, commonmark-pandoc. 2024-10-05 09:31:29 -07:00
John MacFarlane a913bf662f Use latest releases of texmath, djot. 2024-10-04 19:16:20 -07:00
John MacFarlane 7a96b253c2 Use dev version of texmath. 2024-09-28 12:16:48 -07:00
Albert Krewinkel 8aa796f30a Lua: support character styling via pandoc.layout
The `Doc` values produced and handled by the `pandoc.layout` module can
now be styled using `bold`, `italic`, `underlined`, or `strikeout`. The
style is ignored in normal rendering, but becomes visible when rendering
to ANSI output. The `pandoc.layout.render` function now takes a third
parameter that defines the output style, either *plain* or *ansi*.
2024-09-21 15:20:34 +02:00
Albert Krewinkel bff35172e3 Fix stack build 2024-09-21 14:08:35 +02:00
Albert Krewinkel 05aa18420f Lua: update List module
The module now comes with a method `:at(index[, def])` that allows to access
indices, accepts negative indices to count from the end, and will return the
`def` value as a default if the list has no item at the given position.

Furthermore, the list constructor `pandoc.List` now accepts iterators. E.g.,
`pandoc.List(text:gmatch '%S+')` returns the list of words in `text`.

Closes: #9835
2024-09-21 10:10:35 +02:00
John MacFarlane fdbfb7a807 T.P.Shared addPandocAttributes - modify for new commonmark-pandoc.
The new commonmark-pandoc version automatically adds the
attribute `wrapper="1"` on all Divs and Spans that
are introduced just as containers for attributes that belong
properly to their contents.  So we don't need to add the
attribute here.

This gives much better results in some cases. Previously the
wrapper attribute was being added even for explicit Divs and
Spans in djot, but it is not needed in these cases.
2024-09-13 09:35:33 -07:00
John MacFarlane 62b7b17472 Use latest djoths. 2024-09-13 09:35:33 -07:00
John MacFarlane 1bb01ece75 Fix stack.yaml. 2024-09-12 09:58:31 -07:00
John MacFarlane 289d8bafcb Use dev djoths. 2024-09-12 08:29:47 -07:00
John MacFarlane f28de2f8ee Use dev commonmark-hs. 2024-09-11 12:01:59 -07:00
John MacFarlane 1166d331a5 More stack.yaml tweaks. 2024-09-10 09:15:24 -07:00
John MacFarlane 2d299b085f stack.yaml - add crypton-connection to work with tls 2.1. 2024-09-10 08:18:05 -07:00
John MacFarlane 31d3406972 stack.yaml - remove unneeded line. 2024-09-09 22:21:38 -07:00
John MacFarlane 85515aee24 Update stack.yaml. 2024-09-09 22:20:28 -07:00
John MacFarlane 343f0a0752 Use released skylighting-core, skylighting. 2024-09-09 20:18:56 -07:00
John MacFarlane 836de16e3b Use released versions of typst, texmath. 2024-09-09 18:25:31 -07:00
John MacFarlane a6df5d70ba stack.yaml - depend on latest hslua-module-doclayout. 2024-09-09 10:30:33 -07:00
John MacFarlane 2edda1e6f0 stack.yaml - fix duplicate packages. 2024-09-09 09:11:57 -07:00
John MacFarlane 08a5ef6080 Use released (Hackage revision) hslua-module-doclayout. 2024-09-09 08:58:34 -07:00
John MacFarlane 6cbb0d322a Fix stack.yaml syntax. 2024-09-09 08:49:52 -07:00
John MacFarlane a256f007cf Depend on doclayout 0.5. 2024-09-09 08:18:28 -07:00
John MacFarlane 7b74f7b909 Use released doclayout. 2024-09-08 23:26:47 -07:00
Evan Silberman 9821407262 Use dev doclayout, stack.yaml edition 2024-09-02 11:09:08 -07:00
John MacFarlane 9a778e01cc Revert "Bump tls version in stack.yaml."
This reverts commit ad69e03dd4.

crypton-connection isn't compatible with the latest tls.
2024-07-28 16:52:12 -07:00
John MacFarlane ad69e03dd4 Bump tls version in stack.yaml. 2024-07-28 14:16:19 -07:00
John MacFarlane d34430e1e5 Use released typst 0.5.0.5. 2024-07-28 13:34:12 -07:00
John MacFarlane 51f3da649c Use dev version of typst-hs.
Fixes parsing of equations like `$1.$`.
2024-06-29 10:30:28 -06:00
John MacFarlane d0e77eb576 stack.yaml - bump versions for tls, toml-parser 2024-06-24 12:44:09 -07:00
John MacFarlane 8f91958f47 Use typst 0.5.0.4. 2024-06-24 11:47:02 -07:00
John MacFarlane 8bdea3f331 Use djot 0.1.2.1. 2024-06-24 11:47:02 -07:00
John MacFarlane c5efa6b600 Use citeproc 0.8.1.1. 2024-06-24 11:47:02 -07:00
John MacFarlane 45568ad069 Add skylighting to stack.yaml. 2024-06-24 10:02:00 -07:00
John MacFarlane 532bbc875b Use latest commonmark-extensions.
This fixes `auto_identifiers` and `ascii_auto_identifiers`
extensions so that they substitute aliases for emojis,
as documented.

See #9876.
2024-06-17 19:57:33 -07:00
John MacFarlane 80ad2f09d3 Use latest emojis release. 2024-06-17 18:52:18 -07:00
John MacFarlane 97b3056f4e Make gfm_auto_identifiers work as advertised.
It is supposed to replace emojis with their aliases,
but previously this only worked when the emojis were
in a specially marked span.

Note that this change doesn't affect `commonmark` (or `gfm`)
because the relevant code is in commonmark-hs. This will also
need updating.

See #9876.
2024-06-17 13:41:31 -07:00
Albert Krewinkel b91d3beaff stack.yaml: bump resolver to lts-22.24.
This shortens the list of extra-deps.
2024-06-09 16:30:33 +02:00
John MacFarlane d43a92ebdc Use latest dev citeproc. 2024-06-03 11:02:16 -07:00
John MacFarlane f98f3b141d Use latest dev version of citeproc. 2024-05-31 13:03:55 -06:00
John MacFarlane a057d409c4 Update stack.yaml to use dev dependencies for typst, djot. 2024-05-31 10:49:42 -06:00
John MacFarlane 1cdda054de Bump tls and zip-archive in stack.yaml, update README.md. 2024-05-11 12:31:00 -07:00
John MacFarlane 7349bed982 Use new releases texmath, skylighting, djot 2024-05-10 23:50:28 -07:00
Albert Krewinkel ddc66cad0b Lua: update to pandoc-lua-marshal version 0.2.7.
This fixes counterintuitive behavior of the `content` property on
BulletList and OrderedList items. Unmarshalling of that field now
matches the behavior of the constructor.

Fixes: #8916
2024-05-06 17:06:43 +02:00
Albert Krewinkel 0f29d8195e Lua: use hslua-module-zip-1.1.3 to fix the windows build 2024-05-05 21:16:31 +02:00
Albert Krewinkel 018922d10f Lua: use newest zip module.
This adds a `symlink` function to Entry objects, allowing to check if an
entry represents a symbolic link.
2024-05-05 17:54:33 +02:00
John MacFarlane ad6b9dd974 Use dev version of djot. 2024-04-14 09:48:30 -07:00
John MacFarlane 4b5409acf2 Use dev version of texmath. 2024-04-10 12:28:57 -07:00
John MacFarlane af338be45b Bump tls version in stack.yaml 2024-04-06 23:26:06 -07:00
John MacFarlane 5b13a47e33 Use released texmath, typst libraries. 2024-04-06 23:06:52 -07:00