A big thanks to the author of [makebook](https://gitlab.com/dgoodmaniii/makebook/)!
They took away a lot of work for correct imposition.