Hacker Newsnew | past | comments | ask | show | jobs | submit | anserin's commentslogin

> the dark mode people are wrong

What is that supposed to mean? Some people find it more pleasant to read on a dark background (e.g. because of photophobia), some prefer it for aesthetic reasons (e.g. for a site about space exploration), how is that ‘wrong’?


In LaTeX you also clearly separate structure and typesetting: you don't write \noindent\textbf{Introduction}\nobreak\medskip or whatever, but simply \section{Introduction}

Macros are also pretty easy to define \newcommand\important[1]{\textcolor{red}{#1}}

And of course it has first-class Unicode support


Easy is relative. Latex is sooo much uglier than typst:

    #let important(body) = {
      text(red, body)
    }

    But whatever you do, #important[Dont *panic*!]
Docs:

https://typst.app/docs/reference/foundations/function/


"In LaTeX you also clearly separate structure and typesetting ..." Not quite.

The rub comes in when you want to pull that content out to render it in a format that isn't meant to be camera-ready, like a Web page or an e-book. TeX, even with Leslie Lamport's LaTeX macros, doesn't give you an ergonomic mechanism for marshalling out the semantic structure of your document to reuse elsewhere.

You're left parsing the TeX yourself, and that sucks.


The main problem I have with Typst compared with LaTeX is that it doesn't handle basic fine typographic features, such as the different types of spacing in mathematical mode (mathop, mathbin, mathrel, etc.) or the size of delimiters (big, bigg, etc.)


Am I misunderstanding what exactly you are looking for? You can change the spacing in math mode of symbols/operators with https://typst.app/docs/reference/math/class/ and delimiter size with https://typst.app/docs/reference/math/lr#functions-lr (or automatically).


I didn't know about math classes, thank you for the reference

The issue I have with delimiters is that there is no option for "big", but only for "140%" or whatever, making it harder to be consistent Someone created an issue on this on GitHub if I remember correctly

And automatically chosen sizes are often too large


Good point! lr should support lengths in addition to ratios. Should be easy to add.


Ah, yeah fair enough! I was confused thinking that you were unaware of the existence of the functionality as a whole. Well, as laurmaedje (one of the main devs) said below, it should be easy to add, though it seems difficult to find which size values `big`, `bigg` and so on exactly represent.


It also seems to have problems with accessibility, based on this thread - https://github.com/typst/typst/issues/133

But then again, apparently so does LaTeX


4o does not stand for ‘for all’:

> GPT-4o (“o” for “omni”) is our most advanced model. It is multimodal (accepting text or image inputs and outputting text), and it has the same high intelligence as GPT-4 Turbo but is much more efficient—it generates text 2x faster and is 50% cheaper. [1]

[1]: https://platform.openai.com/docs/models/gpt-4o


How can we keep Nintendo games playable and WordPerfect 5.1 files readable in the 23rd century?

Kragen Javier Sitaker, 2014-06-29



Can you add a link to a screenshot?


It was supposed to be a surprise!

I just put one into this Mastodon post:

https://mstdn.ca/@Kazinator/110832579322158690

Direct link to image:

https://cdn.mastdn.ca/media_attachments/files/110/832/577/54...


The design for the upvote count looks great!


Thank you!


Personally, I got 90/100, I also have experience with TeX and I've designed a few fonts


93/100 here, wonder if there’s a difference between mobile and desktop? I played on mobile and being able to bring my phone right up close to my eyes seemed to make it easier to judge the spacing than if I’d done it at my desk.


Since you're not increasing the number of variables, it seems to me that the problem of finding the initial Boolean formula (or an even simpler version of it) is fairly straightforward. Have you done any tests along these lines?


Yeah, even LLVM is able to decode part of the obfuscated expression. Sometimes, it fails greatly printing out the obfuscated expression. There're several papers available and I'll write about it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: