You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a somewhat deep SILE-internal question, but not apt enough to answer it at this time. Any help would be appreciated.
Let us assume I have some material and several different options for the master page. May I try typesetting into all of these pages and then choose one based on some criteria like badness?
The way I see it, here is how it might work:
The current typesetting context (everything that has been output so far) is saved;
The first master page is selected;
Per-paragraph hooks are registered to see and remember how bad things go;
The output is reset, and if there is another master page option, select it and go to step 3;
The best master page is chosen, and the real typesetting resumes with the "best" master page template.
How wrong is this vision? May this be implemented with reasonable effort? Is there a package for that already? Have I missed something essential?
This discussion was converted from issue #2325 on September 13, 2025 21:16.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a somewhat deep SILE-internal question, but not apt enough to answer it at this time. Any help would be appreciated.
Let us assume I have some material and several different options for the master page. May I try typesetting into all of these pages and then choose one based on some criteria like badness?
The way I see it, here is how it might work:
How wrong is this vision? May this be implemented with reasonable effort? Is there a package for that already? Have I missed something essential?
Beta Was this translation helpful? Give feedback.
All reactions