This looks very interesting and more approachable than Typst. As some who uses headless chrome to turn html into pdf (for invoices), I have been looking for something simpler and faster. I tried typst, but it felt messy to me. I wonder if quarkdown offers more streamlined experience
WEasyPrint is great for generating invoices from html! https://weasyprint.org/ Also the only good implementation of web layout/rendering I've seen done in python.
Quarkdown: A modern Markdown-based typesetting system
51–60 of 285 posts
Re: Quarkdown: A modern Markdown-based typesetting system
#52This, Typst, etc etc are primarily typesetting systems for papers . I would love alternatives to HTML or whatever, but I tried Typst too and it's very clear that the authors only really care about typesetting for papers and other long form prose. Stuff like forms, invoices, flyers, handouts, leaflets, business cards -- an afterthought, at best. Edit: Actually I was thinking of Sile not Typst, but I think the same app…
Is there any reason why you can't use Typst for any of the stuff you mentioned? I can't see why you couldn't (except for interactive forms, which is already being worked on [1]. The pdf-writer low-level backend seems to have already implemented support for form fields, so it seems like a matter of time until it is implemented in Typst). [1] https://github.com/typst/typst/issues/1765
To be clear, I mean from a design perspective. Like take a print copy of Wired... how hard would it be to replicate any of those pages? Without using other software (aside from maybe cutting up stock photos). I can format scientific papers in HTML and it's not too hard, I can also format a cookbook, and it's not that hard. It's not great either!
Re: Quarkdown: A modern Markdown-based typesetting system
#53This looks very interesting and more approachable than Typst. As some who uses headless chrome to turn html into pdf (for invoices), I have been looking for something simpler and faster. I tried typst, but it felt messy to me. I wonder if quarkdown offers more streamlined experience
> I tried typst, but it felt messy to me. What exactly is messy about Typst?
On top of that, there is no easy way to create a template. For example, I want an invoice template which I can reuse with different data. Theoretically, I can create a typ file for the template, and define the invoice as a function which I then call from a string with, say, json data. It seems great as web service, but not as a library I can use from, say, Rust.
And the type system is a bit confusing. I can define basic types like numbers or string, but when it comes to structs, they don't seem to have support for that.
I find it easier to create a handlebars template, and feed the HTML to headless chrome printing service, which will output a PDF for me. It's not scalable for high volume, but good enough for my needs (takes about 2-3 seconds to generate PDF).
Re: Quarkdown: A modern Markdown-based typesetting system
#54 .function {greet}
.greet {world} from:{iamgio}
I strongly suggest that the greet call uses a slightly different syntax (e.g. two dots) as the system otherwise can't introduce new keywords without risking conflict with function names in existing documents.Re: Quarkdown: A modern Markdown-based typesetting system
#55I've started using presenterm for markdown presentations. Given that markdown is just a format, a comprehensive comparison should find the tools using markdown to export to pdf and epub.
Re: Quarkdown: A modern Markdown-based typesetting system
#56.function {greet} .greet {world} from:{iamgio} I strongly suggest that the greet call uses a slightly different syntax (e.g. two dots) as the system otherwise can't introduce new keywords without risking conflict with function names in existing documents.
Re: Quarkdown: A modern Markdown-based typesetting system
#57How is this different from Quarto [0]? Quite similar in name, same extension, appears the same aims, but at the minute less functionality. [0] https://quarto.org/
I guess that the similarity of the names come from different places, and in this case might be a remembrance of QuarkXPress. It's convergent evolution! :D
Re: Quarkdown: A modern Markdown-based typesetting system
#58Re: Quarkdown: A modern Markdown-based typesetting system
#59Re: Quarkdown: A modern Markdown-based typesetting system
#60Would be interesting to see a compare and contrast between this and Typst, which has gotten a lot of attention recently. Kinda surprising that it isn't mentioned in their feature comparison matrix at all.