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

Document <cite command>labeldate formats? #23

Open
moewew opened this issue Jun 16, 2021 · 0 comments
Open

Document <cite command>labeldate formats? #23

moewew opened this issue Jun 16, 2021 · 0 comments
Labels
documentation Issues with the documentation

Comments

@moewew
Copy link
Owner

moewew commented Jun 16, 2021

See https://golatex.de/viewtopic.php?p=115990#p115990. The authoryear styles define

\DeclareFieldFormat{citelabeldate}{#1}
\DeclareFieldFormat{parencitelabeldate}{#1}
\DeclareFieldFormat{textcitelabeldate}{#1}
\DeclareFieldFormat{footcitelabeldate}{#1}
\DeclareFieldAlias{footcitetextlabeldate}{footcitelabeldate}

and use those formats

\renewbibmacro*{cite:labeldate+extradate}{%
\iffieldundef{labelyear}
{}
{\printtext[extblx@inner\blx@delimcontext delims]{%
\printtext[bibhyperref]{%
\printtext[\blx@delimcontext labeldate]{%
\printlabeldateextra}}}}}

Check that they are safe to redefine for users and document them if that is the case.

@moewew moewew added the documentation Issues with the documentation label Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issues with the documentation
Projects
None yet
Development

No branches or pull requests

1 participant