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

You mean absolutely positioning it? You can do that with the place function and displacing it with dx/dy from the origin (https://typst.app/docs/reference/layout/place). Example: #place(top + left, dy: 2cm, dx: 4cm, image("image.png"))


That seems usable for manual layout, but it looks painful to use to place images without knowing exactly where they might end up on a page. I reuse my LaTeX code to make volumes of books, and I never touch the code. It's fire and forget for me, which this does not seem to solve.


> but it looks painful to use to place images without knowing exactly where they might end up on a page.

they end up exactly at the specified location?


Presumably they're referring to the ability to parameterize the target page size. In that case, absolute coordinates don't work well (if at all).


Parameterize! That's a new word I didn't know. It adequately describes how I typeset my books, and I must not be alone. The ability to tell LaTeX to drop a picture around here, to the best of its ability, with the possibility of moving it down a paragraph or two if it doesn't fit is vital for me.


I think that's a missing feature of Typst yes, to have figures be either "here" or "top next page" automatically, with that priority. It can't do that. The confusing part was that this has nothing to do with the images of this coffee stain package, because they are foreground/background and can be placed freely on the page (any corner or any custom offset from any corner; i.e from top left corner you can use page coordinates).

The coffee stains overlay/underlay text, so no layout problems at all.


But the dx/dy arguments also take percentages besides absolut lengths. I still don't get what the the other poster means by that fundamental limitation. I think they're confused about absolute positioning of background images vs floating figures. But typst has the analog setting of `[htbp]`, so the same "fire and forget" workflow is possible.


(author of the project here) we tried extensively [1], but unfortunately concluded that obtaining consistent outputs across various platforms, not to mention across different versions of the same browser, is not feasible at present -- if you want a nicely typeset PDF document, use the real LaTeX (or an alternative such as Typst).

[1]: https://github.com/vincentdoerig/latex-css/pull/62



This is incorrect, the M2 supports a single, M2 Pro supports up to 2 and the M2 Max up to 4 external displays.


No, Apple got rid of the touchbar on all models starting with the 2021 MBPs.


They really should have called the 2021 MBP-with-Touchbar "Macbook SE"


If someone hypothetically did a chargeback, who would have to pay the ~$15 dispute fee? You or the user that created the link?


It looks like you have to tie it to your stripe account so you (the seller) would be



Also https://github.com/dbohdan/classless-css

By the way, why not mention the very well tuned Pico.css? https://picocss.com/examples/preview/


I really like how Pico has a classless base and builds responsive layouts from there.


I'm partial to aggregators like this: https://dohliam.github.io/dropin-minimal-css/ since every one of these libraries tends to go for a different style.

Most of these (including yours) can be compared easily there.


Turn each one of these to a browser bookmarklet using a template like

https://github.com/oxalorg/sakura/blob/master/src/bookmarkle...

with

https://mrcoles.com/bookmarklet/

edit: found this to be useful for testing https://dohliam.github.io/dropin-minimal-css/



From the press release: "The new Apple TV 4K with Siri Remote will be available starting at $129 (US) from apple.com/store, in the Apple Store app, and at Apple Store locations. Apple TV 4K is also available through Apple Authorized Resellers and select pay TV providers."


From the press release: "The 11-inch iPad Pro starts at $799 (US) for the Wi-Fi model and $999 (US) for the Wi-Fi + Cellular model; the 12.9-inch iPad Pro starts at $1,099 (US) for the Wi-Fi model, and $1,299 (US) for the Wi-Fi + Cellular model."


2016 MBP, reaching its end of life. Power cycles and unsafe shutdowns are worrying, not to mention the failed S.M.A.R.T. status. It has become almost unusable the last few months. I will purchase the new M2 MBP as soon as they release it.

    === START OF SMART DATA SECTION ===
    SMART overall-health self-assessment test result: FAILED!
    - NVM subsystem reliability has been degraded

    SMART/Health Information (NVMe Log 0x02)
    Critical Warning:                   0x04
    Temperature:                        29 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          10%
    Percentage Used:                    134%
    Data Units Read:                    646,194,436 [330 TB]
    Data Units Written:                 642,615,704 [329 TB]
    Host Read Commands:                 6,646,415,427
    Host Write Commands:                5,882,338,165
    Controller Busy Time:               34,784
    Power Cycles:                       86,652
    Power On Hours:                     4,505
    Unsafe Shutdowns:                   1,060
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      932


Replace the SSD asap. It's not worth saving $80 to deal with the random IO lag well worn SSDs have.


Forgot to specify that I have the 15" model. So I would have to replace the entire main board since the SSD is soldered onto it...


Wow, the touchbar MacBooks from 2016 onward are literally disposable. Glad not to participate in that ecosystem!

Yeesh, did not realize Apple was this into making ewaste, but that is definitely their fetish.


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

Search: