summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-10Typst reader: add state fields for metadata.John MacFarlane
2023-12-10Typst reader: support sys.version.John MacFarlane
2023-12-10Use latest dev typst-hs.John MacFarlane
2023-12-10LaTeX writer: Add performance optimization to #9168.John MacFarlane
We only walk the tree to raise big notes if the document contains big notes (it is fast to check). The removes the slight performance penalty of #9168 for most documents.
2023-12-10Benchmark: use standalone documents for reader tests.John MacFarlane
Otherwise typst reader test fails. Note: this means that we are now parsing longer documents, so bench results on readers won't be comparable to before.
2023-12-10LaTeX writer: fix bug with big footnotes inside emphasis (#9168)Hikaru Ibayashi
Closes #8982.
2023-12-09Typst writer: use quote for block quotes.John MacFarlane
Remove custom definitiion of blockquote in default template.
2023-12-09Typst reader: allow @refs to become citations...John MacFarlane
if there is no corresponding label in the document.
2023-12-09Typst reader: collapse adjacent cite elements.John MacFarlane
2023-12-09Typst reader: fix temporary regression in cite.John MacFarlane
2023-12-09Typst writer: handle supplements in cite.John MacFarlane
2023-12-09Update RELEASE-CHECKLIST.John MacFarlane
2023-12-09Link pandoc-cli version to pandoc version.John MacFarlane
Henceforth pandoc-cli's version will be synchronized with pandoc's, and pandoc-cli will depend on an exact pandoc version. This will avoid confusion by ensuring that `cabal install pandoc-cli-X.Y.Z` installs pandoc version X.Y.Z. It will make things more straightforward for upstream packagers (see #9232). Note also that the man pages included in this package are for a specific pandoc version. This scheme does not follow the Haskell PVP, but that should cause no harm, because this package does not expose a library.
2023-12-09Remove tested-with from pandoc-cli.cabal.John MacFarlane
2023-12-09cabal - update tested-with.John MacFarlane
2023-12-09Add note to cabal description about how to install the cli tool.John MacFarlane
2023-12-09Move man pages to pandoc-cli package.John MacFarlane
Closes #9245.
2023-12-08Typst reader: change cite (only one key allowed, a label).John MacFarlane
This is a typst 0.9 breaking change.
2023-12-08Typst reader: support quote element. (typst 0.9)John MacFarlane
2023-12-08Docx writer: Use different style for block quotes in notes.John MacFarlane
Using "Footnote Block Text" for the style name, so it can be given a different font size if footnotes are. Closes #9243.
2023-12-08Docx writer: allow embedded fonts to be used in reference.docx.John MacFarlane
Closes #6728.
2023-12-08Update typst-hs commit and typst writer test.John MacFarlane
2023-12-08Bump typst-symbols in stack.yaml.John MacFarlane
2023-12-08Use dev texmath.John MacFarlane
2023-12-07Typst writer/template: support `--toc-depth` as in other writers.John MacFarlane
Closes #9242.
2023-12-06pandoc-server: Switch from base64 to base64-bytestring.John MacFarlane
See #9233.
2023-12-06Revert "Use base64 instead of base64-bytestring."John MacFarlane
This reverts commit 6625e9655ed2bb0c4bd4dd91b5959a103deab1cb. base64 is currently buggy on 32-bit systems. Closes #9233.
2023-12-05Add tests for alerts gfm <-> docbook.John MacFarlane
2023-12-05Fine-tuning on alerts.John MacFarlane
Added a test to show that we can convert smoothly between gfm, rst, and asciidoc alerts.
2023-12-05Revise commonmark-hs dependency again.John MacFarlane
2023-12-05Update tag for commonmark-hs.John MacFarlane
2023-12-05Update commonmark-hs tag.John MacFarlane
2023-12-04Add `alerts` extension.John MacFarlane
This enables GitHub style markdown alerts as a commonmark extension. <https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts> This extension is now default for `gfm`. It can't be used with `markdown`, only with `commonmark` and variants.
2023-12-04Use dev commonmark-extensions, commonmark-pandoc.John MacFarlane
2023-12-04Use skylighting, skylighting-core 0.14.1.John MacFarlane
2023-12-04HTML5 writer footnote changes (aria-role, element type).John MacFarlane
* To conform to validator's expectations, `doc-footnote` role is used with `aside` and `doc-endnotes` with `section`. * `aside` is used only for notes at ends of sections or blocks; if all the notes come at the end of the document, `section` is used so we can have the `doc-endnotes` role.
2023-12-04Typst writer: put inline image dimensions on enclosing box, not image.John MacFarlane
Closes #9104.
2023-12-04Revert "Use latest dev skylighting, skylighting-core."John MacFarlane
This reverts commit 780f4f569c3862cf8c33983271b44f348ab4e220.
2023-12-04Use latest dev skylighting, skylighting-core.John MacFarlane
2023-12-03Bump cachix/install-nix-action from 23 to 24 (#9234)dependabot[bot]
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24) --- updated-dependencies: - dependency-name: cachix/install-nix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29LaTeX reader: handle otherlanguage environment...John MacFarlane
...and language-name environments like `\begin{french}...\end{french}`. Closes #9202.
2023-11-29Docx reader: unwrap content of shaped textboxes...Stephan Meijer
* #9214 text in shape format test document * #9214 support Text in Shape Format * #9214 remove irrelevant code
2023-11-29Use latest dev typst-hs.John MacFarlane
2023-11-28Docx reader: Improve handling of w:sym.John MacFarlane
Add T.P.Readers.Docx.Symbols. This gives us a table to use to resolve characters included in docx via w:sym element. Use this table to resolve characters when symbol fonts are specified. Closes #9220.
2023-11-28Correct comment.John MacFarlane
2023-11-25Update command test for SVG embedding changes.John MacFarlane
2023-11-25SelfContained: improve treatment of embedded SVGs.John MacFarlane
- Ensure unique ids for elements by prefixing SVG id. - Ensure SVG `id` attribute except when `use` element is used. - Remove `width`, `height` attributes from svg element when `use` element is used. Instead, add `width` and `height` 100% to the `use` element. This seems to get the sizing right. Closes #9206. Ref: #8948.
2023-11-25Shared.renderTags': use minimized tag for rect.John MacFarlane
2023-11-25Shared.renderTags': allow svg path element to be minimized.John MacFarlane
2023-11-22LaTeX writer: handle identifiers inside heading contents.John MacFarlane
`\phantomsection` can't be used in this case, so we need `\hypertarget`. Closes #9209.