Build structured journal front matter for sn-jnl

This commit is contained in:
gloamxun committed 2026-10-20 01:08:37 +08:00
1 parent 82542740e7
commit 466abd4ce6
10 files changed
+684 -7

No files matched your search

+16
View File
@@ -277,6 +277,22 @@ pub enum FrontendEventKind {
PackageLoaded(String),
/// A separator between author blocks (LaTeX's \And).
MetadataSeparator,
/// Short title from the optional argument of `\title[short]{long}`.
MetadataShortTitle(String),
/// Affiliation indices from the optional argument of `\author[1,2]{...}`.
AuthorAffiliations(Vec<usize>),
/// Start of an `\affil[n]{...}` body.
AffiliationStart(usize),
AffiliationEnd,
/// Start/end of an `\abstract{...}` body captured for the title block.
AbstractStart,
AbstractEnd,
/// Start/end of a `\keywords{...}` body.
KeywordsStart,
KeywordsEnd,
/// Start/end of the e-mail address inside an author block.
MetadataEmailStart,
MetadataEmailEnd,
ParagraphAlignment(crate::document::ParagraphAlignment),
TableOfContents,
ListOfFigures,