talal / ilm

A versatile, clean and minimal template for non-fiction writing. Ideal for class notes, reports, and books.
MIT No Attribution
37 stars 5 forks source link

Page break after title page #3

Open epogrebnyak opened 2 months ago

epogrebnyak commented 2 months ago

Thanks you for creating such a clean and nice looking template for typst. I wonder if you had mind to control via a parameter if there is a blank page after the title - for web this may be unneccessary - I would gladly use a parameter like title-pagebreak = false. Thanks for considering.

talal commented 2 months ago

Thank you for your kind words!

For your use case, I would recommend copying the lib.typ to your project, modifying it to your needs, and importing it in your documents.

In my opinion, adding a title-pagebreak is not the right approach because then I would have to add further -pagebreak options (in case someone else makes a similar request). I would like to to keep the template minimal without cluttering it with too many options.

If, in the future, there is enough demand for such a feature then I will think of some other way to enable this customization but right now I'm afraid I don't have the time for it.

P.S. I'll keep this issue open, in case other users have a similar request and if there is enough traction, I'll work on it.

epogrebnyak commented 2 months ago

Thank you for the prompt answer! Out of curiosity - why there is page break now? Is it a publishing standard (I remember "This page was left intentionally blank")?

talal commented 2 months ago

I'm not sure I understand your question.

When I say page break, I mean Typst's pagebreak function .

As for "This page was left intentionally blank", that is the content that you're putting on an empty page.

Please note that empty page != page break. A page break advances content to the next page similar to how a line break advances a paragraph to next line. For more info, kindly see Typst's pagebreak function linked above.