From 584cbda91f9508560f682315f18ce2d0b3983554 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 10 Jun 2024 14:52:34 +0000 Subject: [PATCH] Regenerate README.md --- README.md | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index bf5ad25..d4324cb 100644 --- a/README.md +++ b/README.md @@ -24,14 +24,14 @@ Typstry.jl is the interface to convert the computational power of Julia into bea ### What is Typst? -Typst is an open-source and relatively new typesetting system (written in Rust 🚀), +Typst is an open-source and relatively new typesetting system (written in Rust 🦀🚀), [designed to improve upon the performance and usability of LaTeX](https://typst.app/about). See also the Typst [repository](https://github.com/typst/typst) and [documentation](https://typst.app/docs) for examples and how to get started. ## Installation -```julia +```julia-repl julia> using Pkg: add julia> add("Typstry") @@ -41,7 +41,7 @@ julia> using Typstry ## Showcase -```julia +```julia-repl julia> show_typst(IOContext(stdout, :mode => code), 'a') "'a'" @@ -86,15 +86,33 @@ typst`compile input.typ output.pdf` ### Planned -- Implement Typst formatting for more types - - `Base` - - Standard Library - - Package extensions - Support rendering in more environments - IJulia.jl - Quarto? - REPL Unicode? - Other? +- Default `auto::Mode`? + - Automatically determine the Typst syntactic context + - Use a tree-sitter grammar or jll package +- Implement Typst formatting for more types + - `Base` + - `AbstractDict` + - `AbstractIrrational` + - `AbstractSet` + - `Enum` + - `Expr` + - `Mode` + - `Symbol` + - Package extensions + - Standard Library + - Dates.jl + - `Period` --> `duration` + - LinearAlgebra.jl + - A symbolic `TypstFunction`? + - May faciliate Julia to Typst transpilation + - Examples + - `TypstString(TypstFunction(eval, 1 // 2; mode = code)) == typst"eval("(1 / 2)", mode: \"code\")"` + - `TypstString(TypstFunction(*, "a", "b"; mode = math)) == typst"(a) (b)"` ## Related Packages @@ -110,3 +128,4 @@ typst`compile input.typ output.pdf` - [Latexify.jl](https://github.com/korsbo/Latexify.jl) - [LaTeXStrings.jl](https://github.com/JuliaStrings/LaTeXStrings.jl) - [LatexPrint.jl](https://github.com/scheinerman/LatexPrint.jl) +- [MakieTeX.jl](https://github.com/JuliaPlots/MakieTeX.jl)