Live data from Hacker News

Typst, a new markup-based typesetting system, is now open source

github.com

141–147 of 147 posts

Re: Typst, a new markup-based typesetting system, is now open source

#142
post #99

Does it handle footnotes? A search on github suggested yes, but the docs don't seem to mention anything.

I believe the query mechanism is powerful enough to automate that. No convenience helper seems to be provided out of the box, at this time.

https://typst.app/docs/reference/meta/query/

https://typst.app/docs/reference/construct/label/

https://typst.app/docs/reference/meta/ref/

Re: Typst, a new markup-based typesetting system, is now open source

#143
post #80

Earlier quoted context omitted.

> i.e. phi instead of \phi or floor instead of \floor. You will inevitably run into situations where, for instance, you want to write the letters phi, and have to resort to some ugly hack to write the natural language. I thought exactly the same: What if I want to write the product of f,l,o,o,r? Well, the "ugly hack" is explained in the readme: You just write "floor" with quotes instead of floor. Seems alright to me…

this isn't even a hack -- in Typst you write `$a b$` for implicit products, `$ab$` is always parsed as an identifier and you'll get a compile error if its not defined.

Ah, thanks for the correction, this is even better :-)

Re: Typst, a new markup-based typesetting system, is now open source

#144
Cool! LaTeX is my major workflow nowadays and I even didn't believe there could be other options in terms of scientific paper writing. LaTeX is decades old, and it's time to make some changes with a new typesetting system that has less historical baggage and is simpler and faster.

Re: Typst, a new markup-based typesetting system, is now open source

#145

Cool! LaTeX is my major workflow nowadays and I even didn't believe there could be other options in terms of scientific paper writing. LaTeX is decades old, and it's time to make some changes with a new typesetting system that has less historical baggage and is simpler and faster.

Little offtopic, but do you use some LaTeX editor (like overleaf) or another tool with LaTeX export (Obsidian may be)? Just interesting because I', trying to make scientific paper writing solution based on the project RedForester (http://bit.ly/3JMLbwL) and think about LaTeX export option.

Re: Typst, a new markup-based typesetting system, is now open source

#146
post #22

So, I will try it once I have time, but how doable is it to bent this thing to your will? Because the main problem I have with latex is that I am often trying to do something, which it just isn't made to handle. For example, I often find lots of hyphens and justified text hard to read, so I try to get latex to not use justified text and to never hyphenate. However, latex seems to be really bad when you want to do unc…

I was just curious. You're doing this kind of stuff? https://tex.stackexchange.com/a/269914 It seems to give an alternative for this, but I have no idea about the pitfalls and downsides of this.

Re: Typst, a new markup-based typesetting system, is now open source

#147

Earlier quoted context omitted.

Can you show an example of what you mean by "scaling automatically"?

in latex, when typesetting math, by default, parentheses (and other brackets) are always a constant height. So if you put something which is taller than one line in between parentheses, it will look strange, with the content sticking out past the parentheses at the top and/or bottom. The fix for this (in latex) it to mark pairs of matching parentheses with the macros `\left` and `\right`, (for example: `\left( \frac{…

Wow that is really annoying!
Post reply on HN