Live data from Hacker News

Quarkdown: A modern Markdown-based typesetting system

github.com

261–270 of 285 posts

Re: Quarkdown: A modern Markdown-based typesetting system

#261

Earlier quoted context omitted.

It works really well, I've written three blog posts using typst. Post: https://ezb.io/thoughts/interaction_nets/lambda_calculus/202... Typst source: https://github.com/enricozb/enricozb.github.io/blob/master/t...

Looks like typst has a "programming language" to do diagrams inline... that's a lot of effort to learn!

It's very much worth it, but absolutely not necessary. You can always generate images/figures beforehand and include them in Typst. There are also packages for various styles of diagrams, e.g. diagraph ships with a Graphviz renderer.

There is also CeTZ, which this article uses. It is highly inspired by TikZ and is just as powerful.

Re: Quarkdown: A modern Markdown-based typesetting system

#263
post #261

Earlier quoted context omitted.

Looks like typst has a "programming language" to do diagrams inline... that's a lot of effort to learn!

It's very much worth it, but absolutely not necessary. You can always generate images/figures beforehand and include them in Typst. There are also packages for various styles of diagrams, e.g. diagraph ships with a Graphviz renderer. There is also CeTZ, which this article uses. It is highly inspired by TikZ and is just as powerful.

> There is also CeTZ, which this article uses. It is highly inspired by TikZ and is just as powerful.

It's definitely not "just as powerful", and will likely not be so for years. TikZ is an absolutely monumental work.

Re: Quarkdown: A modern Markdown-based typesetting system

#264
post #222

Earlier quoted context omitted.

Can you make slides and handouts from the same primary document? That'd save me an inordinate amount of time for some church use-cases.

Look at Quarto. Markdown input, basically any output you want, including HTML, PDF, DOCX, PPTX, etc... All from the same input. Reuse text chunks, use variables, templates, and more. Then just run 'quarto render'.

Thanks!

Re: Quarkdown: A modern Markdown-based typesetting system

#265

Earlier quoted context omitted.

It works really well, I've written three blog posts using typst. Post: https://ezb.io/thoughts/interaction_nets/lambda_calculus/202... Typst source: https://github.com/enricozb/enricozb.github.io/blob/master/t...

That Typst source looks really clean. I may go back to look into its HTML support. Thanks for sharing!

Thanks! The main thing that I had difficulty with, which you can see from the typst source, is the rendering and spacing around inline math symbols. They are rendered as SVGs, which is fine but then copying them doesn't work. Their spacing is sometimes unpredictable so I'll add something like $thick x + y$ to pad on the left hand side. I'm not sure what parts of the math symbol contribute to the dimensions of the SVG and I'm sure it's rather complex, but other than that the experience has been solid.

Re: Quarkdown: A modern Markdown-based typesetting system

#266
post #158

Earlier quoted context omitted.

Every conference has their own required LaTeX style file that must be used. Unless there is an automated way to convert these exactly, I don't see how LaTeX alternatives can be used.

I think that might be true at some maths and computer science meetings but is unheard of in other scientific fields.

You make a fair point - I'm talking specifically about CS/ML/AI conferences. I shouldn't overgeneralize.

Re: Quarkdown: A modern Markdown-based typesetting system

#267

Earlier quoted context omitted.

Every conference has their own required LaTeX style file that must be used. Unless there is an automated way to convert these exactly, I don't see how LaTeX alternatives can be used.

Is LaTeX difficult to learn? An article stated something about how its syntax is inscrutable, from what memory will allow before the caffeine hits.

One thing that has helped with ease of use is Overleaf. It is a hosted LaTeX editor with lots of collaboration features (leaving comments, history of edits) that let people collaborate in real time on a paper. It comes with many templates to get you started on a new document. If you're working with collaborators, it has a lock on the market.

LaTeX itself can be easy for simple things (pick a template, and put text in each section). And it can grow into almost anything if you put in enough effort. It is far and away the standard way to write math equations, so if your document has lots of formulas, that's a plus.

Re: Quarkdown: A modern Markdown-based typesetting system

#268

Earlier quoted context omitted.

Every conference has their own required LaTeX style file that must be used. Unless there is an automated way to convert these exactly, I don't see how LaTeX alternatives can be used.

This is a general argument against any sort of innovation in this field, which is absurd.

I'm just saying that these systems don't work for me. I write ML/AI conference papers in LaTeX, and I think that use case will be tough to dislodge. I can see this being very attractive to people making other types of documents without a fixed format, especially if you don't already know LaTeX.

Re: Quarkdown: A modern Markdown-based typesetting system

#270
post #253

Earlier quoted context omitted.

I’d argue that Typst probably beats it on all levels. Have you ever seen a LaTeX document? (The question is rhetorical, of course you have) Just because it was the best thing before doesn’t mean it still is now. I’d say the only thing it still has going for it is momentum.

I looked at the Typst documentation and from what I could tell, it has 3 hard-coded "Modes" for 3 hard-coded kinds of syntax (normal, math, code). I couldn't find any way to add any custom syntax - is there a way to do this? Tex/LaTeX are completely syntactically extensible. For example, a logician might want to use the software with any number of their notations, or a physicist drawing Feynmann diagrams, etc. I thin…

I hated most Latex syntactic extensions that I ever has to deal with. They basically force you to learn completly different languages, each with their own quirks. I found simple function-looking macros to most often be more intuitive and reliable.
Post reply on HN