16719 Commits
Author SHA1 Message Date
John MacFarlane c7c7da3f92 Update changelog. 3.1.5 2023-07-07 07:51:56 -07:00
John MacFarlane 9eb42d01ce Fix babel name for fa (should be "persian"). Closes #8944.
Affects LaTeX writer.
2023-07-07 07:48:47 -07:00
hseg e0ea7d5297 Fix build (transitive dep not in lts) (#8945)
Commit 921b0949f4 bumped the skylighting-core
version, which requires a newer version of xml-conduit than is available in
lts-21.0.
Bump the version in stack.yaml
2023-07-07 07:44:59 -07:00
John MacFarlane 7c71eebafe Update AUTHORS.md. 2023-07-06 23:21:15 -07:00
John MacFarlane d32b85686d Update README.md 2023-07-06 23:19:46 -07:00
John MacFarlane ee42fe7281 Remove redundant lines in stack.yaml 2023-07-06 23:19:15 -07:00
John MacFarlane 4f37b95cd1 Regenerate man page. 2023-07-06 23:17:56 -07:00
John MacFarlane 1d3e638ed8 Update manual date 2023-07-06 23:17:45 -07:00
John MacFarlane f53a7fc897 Use released typst 0.3.0.0. 2023-07-06 23:17:06 -07:00
John MacFarlane 921b0949f4 Depend on released skylighting 0.13.4. 2023-07-06 22:51:07 -07:00
John MacFarlane d76ca4624d Use released pandoc-types. 2023-07-06 22:48:13 -07:00
John MacFarlane 3fa796d054 Provisional version bump to 3.1.5. 2023-07-06 22:05:27 -07:00
John MacFarlane b34da208b3 Provisional changelog update. 2023-07-06 22:04:22 -07:00
John MacFarlane 500b735d7e Use latest dev typst-hs. 2023-07-06 21:38:53 -07:00
John MacFarlane 137620c7cd Typst reader: filter out CR in raw. 2023-07-06 14:15:38 -07:00
John MacFarlane a2be4ac62b Add typst reader tests.
Closes #8942.
2023-07-06 12:20:20 -07:00
John MacFarlane 001531e604 Typst reader: handle blockish content for link element. 2023-07-06 11:47:27 -07:00
John MacFarlane d5bdfe2b94 Use latest dev typst-hs 2023-07-06 11:47:20 -07:00
John MacFarlane f560b47b13 Rewrite Typst reader.
This structure should make it easier to add new block and inline
handlers.
2023-07-06 11:09:27 -07:00
John MacFarlane ca7101765c Typst reader: allow block-level content in text element. 2023-07-06 09:46:08 -07:00
John MacFarlane 4d2924032d Move test/tables.asciidoctor -> test/tables.asciidoc_legacy. 2023-07-06 08:52:12 -07:00
John MacFarlane c693a8107f MediaWiki reader: revise treatment of "link trail."
Previously we only included ASCII letters. That is correct for
English but not for, e.g., Spanish (see comment in #8525).
A safer approach is to include all letters except those in the
CJK unified ideograph ranges.
2023-07-05 23:12:28 -07:00
John MacFarlane d3e485fcb0 Use latest dev typst-hs. 2023-07-05 12:44:57 -07:00
John MacFarlane e09c560256 Update typst-hs revision. 2023-07-05 11:25:30 -07:00
John MacFarlane e55ae16138 Typst reader: handle style, align, place in inline contexts too. 2023-07-05 11:07:51 -07:00
John MacFarlane 499276a4e5 Use latest dev typst-hs 2023-07-05 10:48:56 -07:00
John MacFarlane 2467277f07 Fix asciidoc tests 2023-07-05 10:48:44 -07:00
John MacFarlane adba9d460c Make modern AsciiDoc the target for asciidoc.
The AsciiDoc community now regards the dialect parsed by `asciidoctor`
as the official AsciiDoc syntax, so it should be the target of our
`asciidoc` format.

Closes #8936.

The `asciidoc` output format now behaves like `asciidoctor` used to.
`asciidoctor` is a deprecated synonynm. For the old `asciidoc` behavior
(targeting the Python script), use `asciidoc_legacy`.

The templates have been consolidated. Instead of separate
`default.asciidoctor` and `default.asciidoc` templates, there is
just `default.asciidoc`.

Text.Pandoc.Writers.AsciiDoc API changes:

- `writeAsciiDoc` now behaves like `writeAsciiDoctor` used to.
- `writeAsciiDoctor` is now a deprecated synonym for `writeAsciiDoc`.
- New exported function `writeAsciiDocLegacy` behaves like
  `writeAsciDoc` used to.
2023-07-05 09:10:36 -07:00
John MacFarlane 7ba9ecfb5a Fix example involving B. Russell.
Closes #8940.
2023-07-04 21:35:32 -07:00
John MacFarlane 45a6276da2 Use latest dev typst-hs. 2023-07-04 13:18:39 -07:00
John MacFarlane 2642cf17cf stack.ymal - add toml-parser (dep of typst-hs). 2023-07-04 11:17:37 -07:00
John MacFarlane fc74620915 stack.yaml: update typst-symbols version. 2023-07-04 11:05:35 -07:00
John MacFarlane 2d20b3aad0 Typst writer: support unlisted class in headings.
Closes #8941.
2023-07-04 11:04:14 -07:00
John MacFarlane ae57c6e3fb Use latest dev typst-hs. 2023-07-04 10:56:04 -07:00
John MacFarlane 104ffc6596 Use latest dev typst-hs. 2023-07-04 09:00:20 -07:00
John MacFarlane b4d7937852 Get things working with latest dev version of typst.
This supports package loading (as long as the package has been
cached or is local).
2023-07-03 22:50:10 -07:00
John MacFarlane 1b52baaf37 Typst writer: consolidate bibliography files...
into one `#bibliography` command. (Separate bibliographies are
not possible.)  Closes #8937.
2023-07-03 08:24:01 -07:00
Kevin Broch 9e9bdc9c30 Update line-through for asciidoc writer to custom inline style (#8934)
Closes #8933
2023-07-02 10:24:20 -07:00
John MacFarlane 358c08c565 Typst writer: some math improvements. 2023-07-01 13:04:58 -07:00
John MacFarlane e634d8b87d Docx writer: make relative widths work in tables.
This didn't work before because we were missing an attribute that
tells Word to used fixed widths rather than computing optimal ones.
2023-07-01 13:04:12 -07:00
John MacFarlane 6e9eed8fdd Fix stack.yaml again! 2023-06-30 15:40:49 -07:00
John MacFarlane f75bd2bde9 Fix stack.yaml; typst-symbols. 2023-06-30 15:31:02 -07:00
John MacFarlane c8e506ee4a Fix stack.yaml. 2023-06-30 14:42:50 -07:00
John MacFarlane 0498378d00 Update stack.yaml. 2023-06-30 14:13:13 -07:00
John MacFarlane 4031efca34 Typst reader: improve info message for skipped elements. 2023-06-30 13:54:26 -07:00
John MacFarlane 26a90162f0 Fix typst reader for new typst-hs version. 2023-06-30 13:30:05 -07:00
John MacFarlane 43550ebace Depend on dev version typst-hs.
(For typst 0.5 support.)
2023-06-30 11:11:57 -07:00
John MacFarlane 284eb378e8 Typst writer: improve handling of autolinks.
Closes #8931.
2023-06-30 09:05:04 -07:00
pacien 34075d5d0c stack: add pkg-config to nix packages (#8927)
Without this, some dependencies refuse to build.
2023-06-29 10:02:23 -07:00
John MacFarlane 498b735b64 Markdown reader: Further strictness annotations. 2023-06-28 19:05:24 -07:00