Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow heading/title enumeration values in other numberings #1787

Open
fwkoch opened this issue Jan 18, 2025 · 0 comments
Open

Allow heading/title enumeration values in other numberings #1787

fwkoch opened this issue Jan 18, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@fwkoch
Copy link
Collaborator

fwkoch commented Jan 18, 2025

Currently, you may specify a page-level enumerator, e.g. something like A.%s which will make all numberings on the page A.1 instead of 1.

You may also specify enumerators directly on figures to set a specific value.

However, there is no way to tie page or heading enumeration into other enumerators, so for example I cannot specify I want a figure enumerator to be 1.2.3 where 1.2 is the current heading level and 3 is the figure number.

I think this can be improved in the enumerator templating level, alongside {name}, %s, and {subEnumerator}, such as {h1} or {title}. There's also some strangeness with numbering template vs enumerator which I suspect will require some ironing out... (i.e. I believe the change I suggested will allow cross-references to a figure to display as fig {title}.{h1}.{number}, but the actual enumerator in the figure caption will still just be Figure {number}...)

@fwkoch fwkoch added the enhancement New feature or request label Jan 18, 2025
@fwkoch fwkoch self-assigned this Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant