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

sorting of dynamic entry sets #1405

Open
u-fischer opened this issue Dec 10, 2024 · 5 comments
Open

sorting of dynamic entry sets #1405

u-fischer opened this issue Dec 10, 2024 · 5 comments
Assignees
Labels
biber bug fixedindev Fixed in current DEV version

Comments

@u-fischer
Copy link

According to the documentation, \defbibentryset works like a nocite. From this I would have expected the set to have the label 2 and be in the middle of the bibliography:

\documentclass[]{article}

\usepackage[sorting=none]{biblatex}
\addbibresource{biblatex-examples.bib}

\begin{document}

I'm gonna cite a single Book first.\cite{angenendt}

Now I want the set.%
\defbibentryset{WestfahlAksin}{westfahl:space,aksin}\cite{WestfahlAksin}

And finally, another single citation.\cite{bertram}

\printbibliography

\end{document}

But instead it is sorted at the end:

image

@moewew moewew added the biber label Dec 10, 2024
@moewew
Copy link
Collaborator

moewew commented Dec 10, 2024

And even if it wouldn't act like a \nocite the subsequent \cite in the MWE should definitely make the set 2.

@moewew moewew added the bug label Dec 10, 2024
plk added a commit to plk/biber that referenced this issue Dec 12, 2024
@plk
Copy link
Owner

plk commented Dec 12, 2024

Please try DEV biber from SF - this was indeed a bug (in biber).

@moewew
Copy link
Collaborator

moewew commented Dec 12, 2024

Works well for Ulrike's MWE. But for the original problem in https://tex.stackexchange.com/q/732492/35864 we have the following modification of the MWE

\documentclass{article}
\usepackage{csquotes}
\usepackage[backend=biber,style=chem-angew,sorting=none,subentry]{biblatex}
\usepackage{hyperref}

\addbibresource{biblatex-examples.bib}

\defbibentryset{WesfahlAksin}{westfahl:space,aksin}

\begin{document}
Hello World.
I'm gonna cite a single Book first.\autocite{angenendt}
Now I want the set.\autocite{aksin}
And finally, another single citation.\autocite{bertram}

\printbibliography
\end{document}

where I still get the undesired sort order.

plk added a commit to plk/biber that referenced this issue Dec 15, 2024
@plk
Copy link
Owner

plk commented Dec 15, 2024

Should be fixed now in DEV.

@u-fischer
Copy link
Author

I just tested with the original question and it looks fine now.

@plk plk self-assigned this Dec 18, 2024
@plk plk added the fixedindev Fixed in current DEV version label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
biber bug fixedindev Fixed in current DEV version
Projects
None yet
Development

No branches or pull requests

3 participants