Live data from Hacker News

Typst: An easy to learn alternative for LaTex

github.com

51–60 of 192 posts

Re: Typst: An easy to learn alternative for LaTex

#51

I'm surprised to see that HTML output is currently in progress, and was not a core feature from the start. [0] LaTeX's awkward relationship with the web seems like something a competing greenfield project would try to nail right out of the gate (to mix metaphors painfully). [0] https://github.com/typst/typst/issues/721

Yes, this is one of the major problems with this. I don’t like pdfs

Re: Typst: An easy to learn alternative for LaTex

#52
I'm a college student and I use Typst in school all the time. I know I should just use Google Docs/Sheets, but because it's code instead of a WYSIWYG editor it's very easy to create reusable and consistent styles for reports and presentations, and saves time on the long run. (I use polylux module for slides.) Once you get past the learning curve (10-15 hrs if you nosedive) it's incredibly easy to create professional stuff.

Re: Typst: An easy to learn alternative for LaTex

#53

Earlier quoted context omitted.

As someone who almost never needs equations, does this have any benefits to me over using markdown?

With or without equations, just use MonsterWriter. It gives you LaTeX results without needing to know what LaTeX is. But, yes LaTeX has other benefits, e.g. citing references, or creating PDFs according to layout and typesettings best practices.

Yes it is my own product. Sorry for not pointing it out.

Re: Typst: An easy to learn alternative for LaTex

#54
post #37

Earlier quoted context omitted.

There are of course way more efficient methods for generating templated pdfs than using a typesetter.

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".

Re: Typst: An easy to learn alternative for LaTex

#55
post #37

Earlier quoted context omitted.

There are of course way more efficient methods for generating templated pdfs than using a typesetter.

I'm interested to hear what you would propose.

I guess some webkit solution like wkhtmltopdf

Re: Typst: An easy to learn alternative for LaTex

#58
post #32

Earlier quoted context omitted.

What is the use case for generating that many PDFs?

Regulatory requirements mandate that. Stock brokers in India are required to generate this document called “Contract Notes” which includes all the trades done by the user on the stock exchanges. It also contains a breakdown of all charges incurred by the user (brokerage, various taxes etc). And this has to be emailed to every user before the next trading session begins.

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

Re: Typst: An easy to learn alternative for LaTex

#59

I'm surprised to see that HTML output is currently in progress, and was not a core feature from the start. [0] LaTeX's awkward relationship with the web seems like something a competing greenfield project would try to nail right out of the gate (to mix metaphors painfully). [0] https://github.com/typst/typst/issues/721

I assume you know that tex predates the web by many years?

Nothing in his comment suggested he was unaware of that so I'm not sure why you're asking.

Re: Typst: An easy to learn alternative for LaTex

#60

Earlier quoted context omitted.

Regulatory requirements mandate that. Stock brokers in India are required to generate this document called “Contract Notes” which includes all the trades done by the user on the stock exchanges. It also contains a breakdown of all charges incurred by the user (brokerage, various taxes etc). And this has to be emailed to every user before the next trading session begins.

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.
Post reply on HN