Omikhleia / resilient.sile

Advanced book classes and packages for the SILE typesetting system
MIT License
21 stars 4 forks source link

Layout "none" implementation inconsistent with its description #33

Closed Omikhleia closed 1 year ago

Omikhleia commented 1 year ago

The doc says:

In passing, the none layout uses margins of 1 inch on all sides. It just exists because it’s the base component for other layouts.

Er... 1 inch? Nope...

function layout:_init (_)
  self.inner = "width(page)/6"
  self.outer = "width(page)/6"
  self.head = "height(page)/6"
  self.foot = "height(page)/6"
  self.offset = "0"
end

That's visible: image

This said, no idea what's best here, what the doc states or what the code does. And I can't remember (nor find in the history) how I arrived to that discrepancy (... 1/6th has advantages too)