-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Automatic heading for alternative outlines #8280
Copy link
Copy link
Open
Labels
feature requestNew feature or requestNew feature or requesti18nAbout language- or script-specific features. May need attention from native speakers.About language- or script-specific features. May need attention from native speakers.modelRelated to model category, which is all about structure and semantics.Related to model category, which is all about structure and semantics.
Metadata
Metadata
Assignees
Labels
feature requestNew feature or requestNew feature or requesti18nAbout language- or script-specific features. May need attention from native speakers.About language- or script-specific features. May need attention from native speakers.modelRelated to model category, which is all about structure and semantics.Related to model category, which is all about structure and semantics.
Description
I suggest that alternate outlines, like for figures and tables, should have automatic headings. This has two reasons:
would still output
List of Figureswhen#set text(lang: "de")is used, since it obviously "hard coded" into the text/code. Maybe something liketitle: autocould be a solution, theoutlinefunction just printsContents/Inhaltsverzeichnisno matter its target in the current stateThis would need to work with #4868.
I think the lack of this option is a bit weird, since the name of the caption (Figure, Abbildung, etc) is translated and automatic. Please excuse any ignorance and my lack of a suggestion on how to do that, since I am very new to typst
Use Case
This would be useful for multilingual document reuse and faster setup of several alternate outline