TeX - LaTeX Asked by shatt41 on April 27, 2021
I have a problem with my LaTeX project. After I import the musixtex package, I’m suddenly getting compilation errors regarding bibliography, something that I don’t think is relevant to the musixtex package. I have created a minimum working example:
documentclass[10pt,a4paper]{article}
usepackage[backend=biber, style=iso-numeric, alldates=iso]{biblatex}
usepackage{musixtex}
addbibresource{MyB.bib}
begin{document}
Textcite{testsource}.
printbibliography[title={Literatura}, heading=bibintoc]
end{document}
MyB.bib file:
@online{testsource,
title = {TestSource},
urldate = {2021-04-03},
url = {https://stackoverflow.com/},
}
So after I import the musixtex package, I get 4 errors regarding the bibliography, two are "Missing number, treated as zero" and two are "Illegal unit of measure (pt inserted)". The document itself seems to be unaffected, but I’d rather there weren’t any compilation errors. If I remove the musixtex package, the problem disappears. Thanks for any help in advance.
musixtex redefines the addspace command from biblatex, and biblatex doesn't like this.
In your example you can reset addspace before the bibliography, but if it is also used in citations it is probably better to do it the other way round and to reset it before every music piece.
documentclass[czech,bachelor]{article}
usepackage[autostyle=true,czech=quotes]{csquotes}
usepackage[backend=biber, style=iso-numeric, alldates=iso]{biblatex}
letbiblatexaddspaceaddspace
usepackage{musixtex}
addbibresource{biblatex-examples.bib}
begin{document}
Textcite{doody}.
letaddspacebiblatexaddspace
printbibliography[title={Literatura}, heading=bibintoc]
end{document}
Correct answer by Ulrike Fischer on April 27, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP