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

Lightbox disables using figure numbering #20

Open
ecodiv opened this issue May 1, 2023 · 1 comment
Open

Lightbox disables using figure numbering #20

ecodiv opened this issue May 1, 2023 · 1 comment
Assignees

Comments

@ecodiv
Copy link

ecodiv commented May 1, 2023

When lightbox is used in a page, figures are not numbered anymore (https://quarto.org/docs/authoring/cross-references.html).

Normally, the following will result in a caption below the figure that reads 'Figure 1: Elephant'.

![Elephant](elephant.png){#fig-elephant}

Using lightbox on that page will result in a caption reading 'Elephant'

@dragonstyle
Copy link
Contributor

Note to self - this is occurring because the Lightbox filter is being run prior to crossrefs being resolved (and so figures aren't yet labeled and numbered). This is something that will perhaps be resolved by cross reference changes in Quarto 1.4, so I will revisit soon.

@dragonstyle dragonstyle self-assigned this Jul 31, 2023
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

No branches or pull requests

2 participants