From 264a7dedd42e27cd9e604037640cf0594b2ec46b Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 19 Mar 2021 17:57:31 +0100 Subject: =?UTF-8?q?Scheduled=20maintenance=20=F0=9F=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - New naming scheme - TextNode instead of NodeText - CallExpr instead of ExprCall - ... - Less glob imports - Removes Value::Args variant - Removes prelude - Renames Layouted to Fragment - Moves font into env - Moves shaping into layout - Moves frame into separate module --- src/lib.rs | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index d4a73ed4..d2e47c62 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,12 +9,13 @@ //! computes the value of each expression in document and stores them in a map //! from expression-pointers to values. //! - **Execution:** Now, we can [execute] the parsed and evaluated "script". -//! This produces a [layout tree], a high-level, fully styled representation. -//! The nodes of this tree are self-contained and order-independent and thus -//! much better suited for layouting than the syntax tree. +//! This produces a [layout tree], a high-level, fully styled representation +//! of the document. The nodes of this tree are self-contained and +//! order-independent and thus much better suited for layouting than the +//! syntax tree. //! - **Layouting:** Next, the tree is [layouted] into a portable version of the -//! typeset document. The output of this is a vector of [`Frame`]s -//! (corresponding to pages), ready for exporting. +//! typeset document. The output of this is a collection of [`Frame`]s (one +//! per page), ready for exporting. //! - **Exporting:** The finished layout can be exported into a supported //! format. Submodules for these formats are located in the [export] module. //! Currently, the only supported output format is [_PDF_]. @@ -36,15 +37,12 @@ pub mod color; pub mod env; pub mod exec; pub mod export; -pub mod font; pub mod geom; pub mod layout; pub mod library; pub mod paper; pub mod parse; -pub mod prelude; pub mod pretty; -pub mod shaping; pub mod syntax; use crate::diag::Pass; -- cgit v1.2.3