summaryrefslogtreecommitdiff
path: root/src/library/text.rs
AgeCommit message (Collapse)Author
2021-10-23Introduce page / block / inline levelsLaurenz
2021-10-10Rename `State` to `Style` and move it into its own moduleLaurenz
2021-10-10Move paint and colors into `geom`Laurenz
2021-10-05Fill shorthand for font functionLaurenz
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-15Bugfix and tidyingLaurenz
2021-09-10Rename `Arguments` to `Args`Laurenz
2021-08-29Allow body for font function once againLaurenz
2021-08-27Make font fallback disableableLaurenz
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-17Library functions behave more imperativelyLaurenz
- Templates scope state changes - State-modifying function operate in place instead of returning a template - Internal template representation contains actual owned nodes instead of a pointer to a syntax tree + an expression map - No more wide calls
2021-08-14Separate type for string valuesLaurenz
2021-08-13Add file information to spansLaurenz
2021-08-09New source loading architectureLaurenz
2021-07-30Fatal errorsLaurenz
- Makes errors fatal, so that a phase is only reached when all previous phases were error-free - Parsing still recovers and can produce multiple errors - Evaluation fails fast and can thus produce only a single error (except for parse errors due to an import) - The single error that could occur during execution is removed for now - Removes Value::Error variant
2021-07-29Refactor stateLaurenz
2021-07-29Move font family and refactor alignmentLaurenz
2021-07-25Merge font and par state into text stateLaurenz
2021-07-11Simpler castingLaurenz
2021-07-10Remove warnings from parsing and castingLaurenz
2021-07-10Reference-count complex valuesLaurenz
Rename some nodes types
2021-07-10Eco string 🌱Laurenz
2021-07-08Rename Fill to PaintLaurenz
2021-07-08Rename some library argumentsLaurenz
- font - color -> fill - shorthands for families and size - decoration functions - color -> stroke - strength -> thickness - position -> offset - invert offsets: now positive goes downwards just like the rest of typst
2021-06-30Make clippy a bit happierLaurenz
2021-06-29Make use of wide callsLaurenz
2021-06-26Remove unused template name fieldLaurenz
2021-06-26Cleanse libraryLaurenz
- Remove doc-comments for Typst functions from library - Reduce number of library source files