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

Different order for multiple citations and references #1397

Open
polgab opened this issue Nov 17, 2024 · 0 comments
Open

Different order for multiple citations and references #1397

polgab opened this issue Nov 17, 2024 · 0 comments

Comments

@polgab
Copy link

polgab commented Nov 17, 2024

I would like to get a different order for multiple citations and references. I am using two references contexts in the following document:

\documentclass{article}

\begin{filecontents*}[force]{\jobname.bib}
@book{Alpha2000,
    Author = {Alpha, A.},
    Publisher = {One Publisher},
    Title = {Alpha Life},
    Year = {2000}}
@book{Beta1970,
    Author = {Beta, B.},
    Publisher = {Another Publisher},
    Title = {Beat Life},
    Year = {1970}}
\end{filecontents*}

\usepackage[sorting=anyt,style=authoryear,sortcites=true]{biblatex}
\addbibresource{\jobname.bib}

\begin{document}
\newrefcontext[sorting=ynt]

\parencite{Alpha2000,Beta1970}

\parencite{Beta1970,Alpha2000}

% \printbibliography[type=none] % <-- ???

\newrefcontext[sorting=anyt]
\printbibliography

\end{document}

The calls to \parencite generate nothing and I have no error message!

If I uncomment the line \printbibliography[type=none], I get the expected result (but the method seems a bit surprising to me).

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

1 participant