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

Minimize self references #13

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Minimize self references #13

wants to merge 1 commit into from

Conversation

tingerrr
Copy link
Owner

@tingerrr tingerrr commented Jul 11, 2024

This PR aims to discard supplements when a super caption references its own sub figures.

This still causes problems with outlines (as seen in the test image) and does not work well with counter resets as with chapter-relative numbering.

Resolves #7.

- Ensure super captions referencing their own sub figures only use sub numbering
@tingerrr tingerrr marked this pull request as draft July 11, 2024 08:56
@tingerrr tingerrr changed the title Fix #7 Minimize self references Jul 11, 2024
@AlbertoFabbri93
Copy link

Sorry for pushing you but I need this feature quite urgently, do you plan to release a new version soon?

@tingerrr
Copy link
Owner Author

I don't have a solution for counter resets yet, this is important for things like chapter relative numbering. I'm afraid this is not landing very soon, and you may have an easier time writing the self references in captions manually for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

If inside the main figure's caption, don't prefix subfigure ref with figure ref
2 participants