How to produce pageless Typst documents?

I am trying to find a more elegant way to make pageless documents. In the past I have just manually set the page length of my document to be what I need for a pageless look. Is there a property I can set or some function I can use? I tried using a function to get the length of all elements in the document and then passing that into the #page function but I encountered type errors.

1 Like

You can set the page height to auto to get one continuous page. The page will only break to a new page if you insert a manual page break.

#set page(height: auto)
5 Likes

That is true, but I will need to add to the docs β€œor when adding another set page rule.”

1 Like

Hello @fish, I have renamed your post β€œHow to produce pageless Typst documents?”. You can take a look at How to post in the Questions category, we recommend that