Live data from Hacker News

Typst: An easy to learn alternative for LaTex

github.com

61–70 of 192 posts

Re: Typst: An easy to learn alternative for LaTex

#61
post #54

Earlier quoted context omitted.

I'm interested to hear what you would propose.

Not sure what GP had in mind, but one can programmatically generate PDFs directly, without using something like Typst as a "middleman".

Have you tried doing that? It’s no fun at all and far from easy. I don’t quite see a benefit in doing it without some utility.

Re: Typst: An easy to learn alternative for LaTex

#62
post #42

Nowadays, I use Latex mainly for letters using the great KOMA package. I wouldn't mind switching to a markdown based system for that. Would Typst work to produce DIN format letters?

Yes: https://typst.app/universe/package/letter-pro/

Awesome, thanks!

Re: Typst: An easy to learn alternative for LaTex

#63
post #35

Earlier quoted context omitted.

Exactly. It's not too difficult to imagine replacing LaTeX for some fairly straight-forward documents. But just by casually browsing tex.stackexchange.com, you'll soon find out that people use LaTeX for an amazingly wide range of different things, and it's capable of serving many, many edge cases very well. To be on par with that is a very hard goal. Let's not forget, LaTeX has been around forever, and consequently h…

I mean, the same is true for Emacs. But that hasn't stopped other editors (e.g. VSCode) from developing large vibrant communities of users and tooling.

But Emacs isn't a requirement by half the STEM research community, LaTeX is.

Typst is not replacing LaTeX in general and should stop advertising being a LaTeX replacement. It isn't a competitor.

Re: Typst: An easy to learn alternative for LaTex

#64
post #4

A number of past discussions and related things: https://hn.algolia.com/?q=typst 1 year ago, 146 comments: https://news.ycombinator.com/item?id=35250210 8 months ago, 34 comments: https://news.ycombinator.com/item?id=38354422 2 years ago, 53 comments: https://news.ycombinator.com/item?id=34423590 2 years ago 30 comments: https://news.ycombinator.com/item?id=32209794

[deleted]

Re: Typst: An easy to learn alternative for LaTex

#65
post #4

A number of past discussions and related things: https://hn.algolia.com/?q=typst 1 year ago, 146 comments: https://news.ycombinator.com/item?id=35250210 8 months ago, 34 comments: https://news.ycombinator.com/item?id=38354422 2 years ago, 53 comments: https://news.ycombinator.com/item?id=34423590 2 years ago 30 comments: https://news.ycombinator.com/item?id=32209794

And this new post likely triggered by https://news.ycombinator.com/item?id=41006565

Re: Typst: An easy to learn alternative for LaTex

#66

Earlier quoted context omitted.

Does the law specify PDF? I would have thought pain text or even HTML would be sufficient.

I don’t know the situation in India but brokers in Austria and Germany do the same. The law does not stipulate the format but PDF is what everyone uses. I assume it’s because it can be signed and archived and will outlast pretty much anything. You need to keep these for 7 years.

Yes, in India, the law mandates that ECNs (electronic contract notes) need to be digitally signed with a valid certifying authority. While it's true that XML/docx/xls files could also support digital signatures, but I think PDFs are prevalent and also allow clients to verify this on their end, quite easily.

Re: Typst: An easy to learn alternative for LaTex

#67
post #23

Earlier quoted context omitted.

Someone mentioned that pandoc works decently for this.

I am using pandoc to transfer some of my notes to the web: https://ykonstant1.github.io/power-draft.html

I've been doing something similar, and it looks like you've managed to solve a problem I've been unable to: how did you get theorem and section numbering to work right?

Re: Typst: An easy to learn alternative for LaTex

#68
This is very easy to use compared to latex. My latex resume (or the template I was using) was thousands of lines and had several imports of custom classes.

Re-did my resume using one of their templates, and it’s much easier to maintain now.

Re: Typst: An easy to learn alternative for LaTex

#69

Earlier quoted context omitted.

I mean, the same is true for Emacs. But that hasn't stopped other editors (e.g. VSCode) from developing large vibrant communities of users and tooling.

But Emacs isn't a requirement by half the STEM research community, LaTeX is. Typst is not replacing LaTeX in general and should stop advertising being a LaTeX replacement. It isn't a competitor.

Not everything revolves around scientific journals and their archaic rules. For my team Typst was a perfect LaTeX replacement and we've been happy ever since we switched. It is easier to understand, has faster compile times and is more powerful without enabling shell escape. However, we're not in the business of writing scientific papers, we write technical reports for our customers. If it wasn't advertised as a LaTeX replacement, we might never have found out about it.

Re: Typst: An easy to learn alternative for LaTex

#70

Having composed many pieces of coursework using Typst, I must say that it certainly makes academic writing more streamlined, engaging, and dare I say fun — though that might just be me. The functional nature of Typst's syntax ensures I don't have the erratic behaviour emblematic of modern day Microsoft Word and sometimes even Google Docs. Using a local IDE such as VSCode brings all the features one could like. In com…

Having composed pieces of academic writing, I would like that, journals would start to supporting typst, or, plugins/bridges to LaTeX/Word would fall in place. For now I would not chose to write a paper in typst, because I most certainly need to convert it once it leaves the institution (even arXiv require LaTeX source). Tooling around LaTeX is quite good today, with a plethora of IDEs helping. Personally I use Emacs…

Arxiv will accept a rendered pdf, no source files required. Are any special features unlocked if source files are uploaded?
Post reply on HN