summaryrefslogtreecommitdiff
path: root/src/eval/template.rs
AgeCommit message (Collapse)Author
2022-03-11Rename template to contentLaurenz
2022-03-11More restructuringLaurenz
2022-02-28Reorganize libraryLaurenz
2022-02-24Lower and upper on templatesLaurenz
2022-02-24First-line indentsLaurenz
Co-Authored-By: Martin Haug <mhaug@live.de>
2022-02-23Rework the core contextLaurenz
2022-02-22Remove layout cacheLaurenz
2022-02-20Page style list fixLaurenz
2022-02-18Basic show rulesLaurenz
2022-02-18Headers and footersLaurenz
2022-02-18List label stylingLaurenz
2022-02-17Automatic list numberingLaurenz
2022-02-17Fallible layoutLaurenz
2022-02-17Merge eval and layout contexts into `Vm`Laurenz
2022-02-17Switch to const generics for nodesLaurenz
2022-02-09Set rules for everythingLaurenz
2022-02-07Redesigned template layoutLaurenz
2022-02-03Better debug representation for templateLaurenz
2022-02-02Remove root nodeLaurenz
2022-02-02Rename `into_block` to `pack`Laurenz
2022-02-02Split up styled and sequence templateLaurenz
2022-02-02Rename `Node` to `Template`Laurenz
2021-12-05Set Rules Episode I: The Phantom StyleLaurenz
2021-11-29Go back to wrapping inline nodesLaurenz
2021-11-26More independent placed nodeLaurenz
2021-11-25Layout improvementsLaurenz
2021-11-18Page fillLaurenz
2021-11-18RefactoringLaurenz
2021-11-17Placed nodeLaurenz
2021-11-17Align nodeLaurenz
2021-11-16Don't wrap already layoutable nodes into flows/pars unnecessarilyLaurenz
2021-11-16Revert page and inline levelsLaurenz
2021-11-16Move `lang` functionality into `par`Laurenz
2021-11-16Introduce `FlowNode`Laurenz
2021-11-15Make clippy happier and remove `Str`Laurenz
2021-10-31Reorganize modulesLaurenz
Instead of separating functionality into layout and library, everything lives in the library now. This way, related things live side by side and there are no duplicate file names in the two directories.
2021-10-26Simplify node constructionLaurenz
2021-10-26Fr in stack and parLaurenz
2021-10-23Simplify decorationsLaurenz
2021-10-23Introduce page / block / inline levelsLaurenz
2021-10-23Revise block node contractLaurenz
Frames produced by block nodes are now always treated as exactly one per given region and a frame must not be larger than its respective region. Any overflow must be handled internally. This means that stack and grid don't need to search for fitting regions anymore, since the child has already does that for them. This commit further moves stack spacing into a new `SpacingNode`.
2021-10-23Remove inline alignment from stackLaurenz
The current inline alignment is very broken and leads to lots of subtle weirdness. Getting rid of it simplifies the stack's interface a lot. At a later point either: - inline alignment will be added back in a better way, or - all nodes will be able to expand or align themselves, meaning that the stack's children take care of their alignment
2021-10-10Rename `State` to `Style` and move it into its own moduleLaurenz
2021-08-31Make user-facing "debug" representation use Debug instead of DisplayLaurenz
2021-08-29Allow body for font function once againLaurenz
2021-08-24Switch from state to decorations for underline/strikethrough/overlineLaurenz
2021-08-23Links! (#43)Martin
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2021-08-21Shorter/clearer field name for geometry typesLaurenz
Size { width, height } => Size { w, h } Spec { horizontal, vertical } => Spec { x, y } Gen { cross, main } => Gen { inline, block }
2021-08-21Prune derivesLaurenz
2021-08-19Refactor layouting a bitLaurenz
Notably: - Handle aspect ratio in fixed node - Inline constraint inflation into pad node