Skip to content

Tracking issue: Typst support #147

@alexpovel

Description

@alexpovel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions