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

yathesis v1.0.2 and biblatex "heading" \printbibliography argument #74

Closed
degeuser opened this issue May 28, 2020 · 6 comments
Closed
Labels

Comments

@degeuser
Copy link

With yathesis v1.0.2, when using biblatex \printbibliography with heading=none argument (or actually any other heading or title argument), a Bibliography title is still used in addition to that given as an optional argument (see attached image).

This issue does not happen with v0.99.

Any idea on where it may come from ?

image

@dbitouze
Copy link
Owner

Could you please post a MCE (ECM in French)?

@degeuser
Copy link
Author

Thanks for your prompt reply.
Here is a MCE as requested.

\documentclass{yathesis}

\usepackage{biblatex}
\addbibresource{\jobname.bib}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{keya,
  author = {Author, A.},
  year = {2001},
  title = {TitleA},
  publisher = {Publisher},
}

@book{keyb,
  author = {Author, B.},
  year = {2001},
  title = {TitleB},
  publisher = {Publisher},
}
\end{filecontents}

\begin{document}

\chapter{Liste des publications}

Un peu de texte

\nocite{*}

\printbibliography[heading=subbibnumbered,title={Articles dans des journaux à comité de lecture}]

\end{document}

A capture of the output on my computer is shown below (note the "Bibliographie" before the title)
image

@degeuser
Copy link
Author

Simply replacing yathesis class by book class in the previous MCE gives
image
Note the absence of "Bibliographie"

@dbitouze
Copy link
Owner

It is indeed a bug. I'm working on it. Meanwhile, you could try to add the following in your preamble:

\makeatletter
\AtEndPreamble{%
  \renewcommand{\printbibliography}[1][]{%
    \booltrue{YAD@printbibliography@used}%
    \singlespace%
    \YAD@printbibliography@ORI[heading=none,#1]%
    \endsinglespace%
  }%
}%
\makeatother

@dbitouze dbitouze added the bug label May 29, 2020
@degeuser
Copy link
Author

Thank you very much!! This seems to do the trick !

dbitouze added a commit that referenced this issue Jun 16, 2020
@dbitouze
Copy link
Owner

Issue fixed with the latest version (1.0.3) of yathesis, provided by both TeX Live and MiKTeX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants