Commit Graph

16 Commits

Author SHA1 Message Date
John MacFarlane 6f401799b7 Updaet to latest dev texmath, typst. 2025-12-14 22:42:47 +01:00
John MacFarlane 9639a33b17 Use dev versions of typst-hs, texmath, typst-symbols. 2025-10-26 22:43:18 +01:00
John MacFarlane 97ec88a16c Update typst test. 2025-02-28 22:55:39 -08:00
John MacFarlane c34edf6a7e Depend on latest dev texmath, update tests. 2024-12-03 12:17:31 -08:00
Andreas Deininger eeb8b1eb3a Fix typos (#10349) 2024-11-06 10:04:33 -08:00
John MacFarlane 959496586d Update typst tests for math symbol changes. 2024-10-22 10:12:23 -07:00
John MacFarlane 430628ac0b Typst reader: avoid generating empty paragraphs. 2024-10-21 19:11:42 -07:00
John MacFarlane 185c29b4b2 Typst reader: change how "block" elements are handled.
Previously they were always parsed as divs.  But actually they
can occur in some "inline" contexts.  Now we first try to parse
them as inlines, and only as blocks if that fails.  A surrounding
Div or Span element is added only if there is an identifier.
2024-09-08 14:50:18 -07:00
John MacFarlane 372cd1d3b1 Typst reader: handle inline bodies ending in a parbreak.
E.g. `#strong[
test
]`.  Here we simply skip the final parbreak.

Treat this as a soft break, which will give results similar
to the typst app.
2024-05-27 19:46:08 -07:00
John MacFarlane 3ef74d1fd2 Typst reader: fix handling of dot(), tilde(), ddot().
See jgm/typst-hs#38.
2024-02-04 22:37:37 -08:00
John MacFarlane 1e05f32ead Typst reader: fix character used for norm.
See jgm/typst-hs#38.
2024-02-04 22:01:26 -08:00
John MacFarlane 9f58a55280 Typst reader: fix handling of \overline.
Due to a typo, it was being incorrectly rendered as an `\underset`.
Closes #9294.
2024-01-05 22:09:36 -08:00
John MacFarlane e2081ef9df Update typst-reader test for new typst-hs. 2023-10-27 10:34:28 -07:00
John MacFarlane ca9855b568 Use lastest texmath, typst-symbols, typst.
Targets typst 0.7.
2023-08-22 13:33:10 -07:00
John MacFarlane 3496109d49 Typst reader: fix regression in recognition of display math.
The last release caused all math to be parsed as inline math.
Closes #8949.
2023-07-10 21:24:23 -07:00
John MacFarlane a2be4ac62b Add typst reader tests.
Closes #8942.
2023-07-06 12:20:20 -07:00