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

cite @namebiliography don't work in the label! #7

Open
nqt2022 opened this issue Oct 30, 2023 · 3 comments
Open

cite @namebiliography don't work in the label! #7

nqt2022 opened this issue Oct 30, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@nqt2022
Copy link

nqt2022 commented Oct 30, 2023

In your exmaple,
I insert this (after number-sections: true, and before filters:):

bibliography: "link my Pseudo citedrive"

for the bibliography

In your example:

::: TODO
### Custom styles
- [ ] create an API for user defined block styles @geore1997
- [ ] provide an example
- [ ] and documentation
:::

I insert \ref{TeachersHope} (your code this example) in label:

### Custom styles \ref{TeachersHope}

I see: It work ok :)

But, when I cite @name000 (have in my own citedrive) of the bibliography.

### Custom styles @name000

And I see: It don't work only pdf but also html. :( I only see text: "@name000" (don't see cite the bibliography) on the pdf and html.

@ute
Copy link
Owner

ute commented Dec 12, 2023

Hi @nqt2022,
Thank you for reporting! This is clearly a limitation of the extension. It has to do with the sequence of resolving references, and I do not have a quick fix for this. It does work with quarto callouts (at least in quarto 1.4) - can custom callouts do the job for you?
I am sorry for the long wait - the semester has just been too busy.

@ute ute added the enhancement New feature or request label Dec 12, 2023
@nqt2022
Copy link
Author

nqt2022 commented Dec 15, 2023

Yes, on callouts of revealjs, cite very ok for for the bibliography :)
Thanks for your support!

@ute
Copy link
Owner

ute commented Dec 16, 2023

Yes, it works with callouts :-).
Quarto folks are working heavily on crossreferenceable ::: blocks, and reprogram the whole cross referencing mechanism. Numbering environments (and having them collapsible) was the main reason for me to make this extension. Maybe a later version (Quarto 1.5, perhaps) has better tools to achieve this - it will either make custom-numbered-blocks obsolete, or trigger a major rewrite. Then I would look at how to resolve bibliography references before using a header as title of a block. I did that in a very straightforward way.

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

2 participants