Using `set-page-properties` adds paragraph break
When calling set-page-properties, an extra paragraph break is added after the function call.
This becomes a problem frequently when rotating pages using page(flipped: true), as the page properties for drafting need to be updated to work properly. However the extra paragraph break added will mess with my formating (reducing available vertical space, etc). Is there any way to fix this or avoid this problem in the meantime?
Thank you!
Simple example without calling
#import "@preview/drafting:0.2.0" : *
#set page(paper: "a6")
// #set-page-properties()
= An example heading
#lorem(100)
Simple example with call
#import "@preview/drafting:0.2.0" : *
#set page(paper: "a6")
#set-page-properties()
= An example heading
#lorem(100)
Thanks for reporting -- this is a known issue but I haven't had time to create a release. In the meantime, you can work around it with place:
#place(set-page-properties())
Fixed in 769fbbc2909ad28f346ef8ce4d5c75afd11d4739