#show: course-template.with([Cour 1])
#include "lect1.typ"
#include "lect2.typ"
Is it possible to make the included pdfs not start at a new page?
#show: course-template.with([Cour 1])
#include "lect1.typ"
#include "lect2.typ"
Is it possible to make the included pdfs not start at a new page?
Hi, welcome to the forum!
It should just work and I can’t reproduce your description.
Do you have #set page(…) in lect2.typ? If so, please remove it (or comment it out) and retry. #set page(…) forces a page break in most cases.
Quoting https://typst.app/docs/guides/page-setup/:
The set rule of the
pageelement is where you control all of the page setup. If you make changes with this set rule, Typst will ensure that there is a new and conforming empty page afterward, so it may insert a page break. Therefore, it is best to specify yourpageset rule at the start of your document or in your template.
Ahh yeah,
#import "_cs102.typ": *
#show: template
this is at the top of each of the included documents, and the template does have a set page(...)
the template
Well, then I suggest moving those set page(…) lines (or the whole #show: template) to main.typ.