Gribouille 0.3.0: A Grammar of Graphics for Typst

(mickael.canouil.fr)

47 points | by mcanouil 3 days ago

3 comments

  • adamnemecek 40 minutes ago
    Typst is the most important open source project of the last 5 years.

    I predict a future where markdown and latex are largely replaced by typst. And I couldn't be more excited.

    • utopiah 29 minutes ago
      I'm not sure either matter to be honest.

      It's cool sure, powerful also... but when anybody has access to both vector-based editor and raster-based editor ... but also tools that incorporate them, e.g. rich text editors ... but also entire toolchain going from compilers to libraries all the way to Web based notebook with their editors and running environment that can then output printable artifacts, I don't think there has to be "the" way. They might be a more popular way within a certain zeitgeist but... does one project has to "replace" another one?

      I guess I don't really get the passion some people have for "perfect" rendering. I'm fine with just text, then just readible equations below it, then an OK looking graph. I don't actually care if any of those are pixel perfect. I don't get it.

      IMHO in terms of actual knowledge transmission reproducibility and interactivity are way more important. They might not look as good and in fact introduce a TON of complexity but I believe it's better than yet another system that is slightly better looking while being slightly easier, for those people with a specific mindset, to setup and use.

      PS: still both Gribouille and Typst are cool projects! Just want to make sure I'm not sounding critical against those efforts.

      • adamnemecek 23 minutes ago
        > It's cool sure, powerful also... but when anybody has access to both vector-based editor and raster-based editor ... but also tools that incorporate them, e.g. rich text editors ... but also entire toolchain going from compilers to libraries all the way to Web based notebook with their editors and running environment that can then output printable artifacts, I don't think there has to be "the" way. They might be a more popular way within a certain zeitgeist but... does one project has to "replace" another one?

        cool, why do you think people use tikz? And like generating images programmatically from text is impossibly more powerful than using vector editors.

    • mastermage 38 minutes ago
      For Latex I agree thats definitely. Markdown I am unsure as Markdown is not meant for creating documents but to just have a little Richt Text Markup in READMEs and other Text files. Typst needs a compile step and altough that one is fast as hell it is still different from Markdown that renders directly from the file without an intermediary.
      • adamnemecek 35 minutes ago
        The problem with markdown is that it's not extensible and that there is no spec. Essentially all READMEs would be better off using typst, they would make for better READMEs.
        • sbysb 24 minutes ago
          I do not think that is the problem with markdown lol. There are lots of problems with markdown, especially vanilla or the more limited versions of it - but really its super power is that it is readable with a regular text editor (or `cat`) and can be rendered without a compilation step.

          Markdown is not competing with latex or typst, it is competing with (and has won against) .txt files

  • unrealhoang 1 hour ago
    This is awesome, is there a way to render the graphics/chart in svg so that we can implement something like hover & popup (with data information)?