ilm
ilm copied to clipboard
Cannot use page function with headings
Really like this template I'm running into issues using the page function with inner headings.
Code
#import "@preview/ilm:1.1.1": *
#show: ilm.with(
title: [Process Design - G11],
author: "",
abstract: [],
bibliography: bibliography("refs.bib"),
figure-index: (enabled: true),
table-index: (enabled: true),
listing-index: (enabled: true)
)
#page(flipped: true)[
= PID
#figure(
align(center)[#image("PID.svg", width: 100%)],
caption: [A figure to show the PID for the plant],
)
#table(
columns: 5,
[Gross numbers]
)
]
Error
Pagebreaks are not allowed inside of containers line (failed in package "@preview/ilm:1.1.1")
Thanks!
Thanks for the report. I can reproduce this error.
I'll try to debug and fix it when I have some free time.
I will happily accept a pull request if this is urgent for you and you want to fix it yourself.