Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking issue: Typst support #147

Open
3 tasks
alexpovel opened this issue Oct 10, 2024 · 0 comments
Open
3 tasks

Tracking issue: Typst support #147

alexpovel opened this issue Oct 10, 2024 · 0 comments

Comments

@alexpovel
Copy link
Owner

TODO:

  • richer Typst support, WIP at https://github.com/alexpovel/srgn/tree/typst

  • make it useful with type checking (aspell), for which the text node type seems most useful

  • which requires piping into aspell, for which srgn currently doesn't have good support. Probably needs refactoring the crappy apply function:

    fn apply(

    so its output is something like (command run on commit 47be5f0)

    [filename if not stdin];linenum;startcol;endcol: text
    

    e.g. (numbers made up)

    $ cat tests/langs/typst/base.typ | c run -- -j --typ text --typ strings
    [...snip...]
    62;12;13: In case you missed it, there's a recording on
    62;58;62: "http://purview.edu/lts/2023-lee"

    i.e., it doesn't print non-text nodes such as #link(, as it currently does:

    image

cc @ju6ge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant