1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//! The definition piece of the [`metadata`](super) feature on the
//! `latex-rendered` backend, `flm.latex.def.flmx.metadata` ([`piece`]).
//!
//! The piece is the LaTeX text of the fragment `sty/metadata.sty`, included at
//! compile time. It registers, with the backend's definition commands
//! (`\flmxDefineBlock`, `\flmxDefineSpan`, ...), the default look of the block
//! roles `flm.metadata.title`, `flm.metadata.author` and `flm.metadata.date`
//! (kind token `metadata`) as LaTeX's `\maketitle` sets the title block,
//! centered, with its spacing, the title in `\LARGE\bfseries`, the authors in
//! `\large`, one below the other, the lines of each author centered as the
//! block's other lines, the date in `\normalsize`; the span role
//! `flm.metadata.author.name` as it stands, and the span roles
//! `flm.metadata.author.affiliation`, `flm.metadata.author.email` and
//! `flm.metadata.author.note` in `\normalsize`. Its comment block says what each
//! role and kind token is and how a template registers another look.
//!
//! It delivers the feature's style identifier [`STYLE`](super::STYLE), which
//! the feature's general rules require: a `latex-rendered` document whose
//! content requires it holds the piece in its style file, and one that does
//! not, does not.
//!
//! The feature contributes the piece to the LaTeX family's preamble slot
//! ([`preamble::SLOT`]) with a peer declaration, so that a registry
//! without the LaTeX backends still builds.
use Arc;
use crate;
use crate;
use crateCORE_CHUNK;
/// The piece's identifier, `flm.latex.def.flmx.metadata`.
pub const PIECE: &str = "flm.latex.def.flmx.metadata";
/// The feature's definition piece on the `latex-rendered` backend, [`PIECE`]:
/// the text of `sty/metadata.sty`, requiring the backend's chunks it calls into.
/// See the [module documentation](self).
/// Contributes [`piece`] to the preamble slot, under a peer declaration.
///
/// # Errors
///
/// The [`BuildError`] of the registry builder when a declaration is made
/// outside the registration round that accepts it.
pub