summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-10-31More useful `Spec` helpersLaurenz
2021-10-31Fix panic in pad nodeLaurenz
2021-10-29Switch to borrowed strings in `split_lines`Laurenz
2021-10-29Dedent code blocksLaurenz
2021-10-29Allow multiple template bodiesLaurenz
2021-10-28Add `move` functionLaurenz
2021-10-26Simplify node constructionLaurenz
2021-10-26Fr in stack and parLaurenz
2021-10-26Trim `mailto:` and `tel:` from linksLaurenz
2021-10-25Replace `..` syntax with `range` functionLaurenz
2021-10-23Drop `iso-` prefix for A papersLaurenz
2021-10-23Simplify decorationsLaurenz
2021-10-23Introduce page / block / inline levelsLaurenz
2021-10-23Remove directions from gridLaurenz
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-23New `ShapeNode`Laurenz
Replaces `BackgroundNode` and `FixedNode`
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-10-10Move paint and colors into `geom`Laurenz
2021-10-10Make `none` spreadableLaurenz
2021-10-07Slim down and organize paper sizesLaurenz
Co-Authored-By: Martin <mhaug@live.de>
2021-10-05Refactor a bitLaurenz
2021-10-05Don't fit images to remaining heightLaurenz
Makes them really small if there's only little space left ...
2021-10-05Error on out-of-range values in `rgb`Laurenz
2021-10-05Rename `length` to `size` in `square()`Laurenz
2021-10-05Always use first positional argument in `expect()`Laurenz
This changes `#h(100)` from "missing argument: spacing" to "expected linear, found integer".
2021-10-05Add `assert` functionLaurenz
2021-10-05Let `h`, `v` and `pagebreak` return templateLaurenz
2021-10-05Paper longhand for page functionLaurenz
2021-10-05Fill shorthand for font functionLaurenz
2021-10-05Iterate over grapheme clusters instead of charsLaurenz
2021-10-05Change indent requirements to allow alignmentLaurenz
Previously the following wouldn't work correctly because "Fourth" would have been a child of "Third". ``` 3. Third ⎵. Fourth ```
2021-10-05Change precedence of range expressionLaurenz
2021-10-02Simpler and more versatile row and column gutter argumentsLaurenz
2021-10-02Fix panic in grid due to empty auto rowLaurenz
2021-09-30New default fontsLaurenz
2021-09-30Treat lone hashtag as textLaurenz
2021-09-30Better function and closure pretty printingLaurenz
2021-09-30Support `else if`Laurenz
2021-09-30No hashtag before else anymoreLaurenz
2021-09-29Implement `Display` for `Tracepoint`Laurenz
2021-09-29Make file system loader serializableLaurenz
2021-09-28Allow linear values for text edgesLaurenz
2021-09-27Refactor line reordering from callback to iteratorLaurenz
2021-09-27Add spacing capabilities to stack functionLaurenz
- Named argument `spacing` controls spacing between any two template arguments - Arbitrary linears in the list can produce arbitrary spacing
2021-09-27Fix panic due to bad alignments in stack functionLaurenz
2021-09-27More useful incremental checksLaurenz
Co-Authored-By: Martin <mhaug@live.de>
2021-09-27Expand all but last region for broken up auto rowsLaurenz
2021-09-27Fix paragraph constraintsLaurenz
Co-Authored-By: Martin <mhaug@live.de>
2021-09-26Simplify decoration handlingLaurenz