I want to split the references in bibliography and own publications. I am using biblatex as follows:
\usepackage[%
backend=biber, % for sorting the entries and citing information with UTF-8 support
style=numeric, % style for citation
url=false, % url-field of the bib is not printet in the references
sorting=none,
maxalphanames=1, %
maxcitenames=1, %
isbn=false,
url=false,
doi=true,
abbreviate=false,
]%
{biblatex} %
\addbibresource{bib/references.bib} % Adding the bib-file to reference, if need more copy this command
\addbibresource{bib/publications.bib}
And then:
\printbibliography[title={Bibliography}, heading=bibintoc, keyword={primary}, resetnumbers]%
\printbibliography[title={Publications}, heading=bibintoc, keyword={secondary}, resetnumbers]%
Where references.bib looks like this:
@inproceedings{ref1,
title={{Title 1}},
author={{Authos list}},
booktitle={Conf},
year={2021},
keywords={primary}
}
@inproceedings{ref2,
title={{Title 2}},
author={{Authos list}},
booktitle={Conf},
year={2021},
keywords={primary}
}
And publications.bib looks like this:
@inproceedings{Pub1,
title={{Title 1}},
author={{Authos list}},
booktitle={Conf},
year={2021},
keywords={secondary}
}
@inproceedings{Pub2,
title={{Title 2}},
author={{Authos list}},
booktitle={Conf},
year={2021},
keywords={secondary}
}
I have already two different sections printed. However, I would like that they are numbered independently from each other. For references, with numbers in order of appearance (like they are). For publications, also in order of appearance but reset and preceded by MyText:
Bibliography:
[1] Authors,...
[2] Authors,...
Publications:
[MyText1] Authors,...
[MyText2] Authors,...
In the text, the entries are cited in this order: \cite{Pub1}, \cite{ref1}, \cite{ref2}, \cite{Pub2}. However, in the bibliography list, ref1 starts with [2] and Pub1 with [1] even if they are in different .bib files. So,
- How to keep separate counters for each .bib file? The
resetnumbersoption in\printbibliographydidn't work. - How can I add MyText to the publications section so they appear in the text when referenced [MyText1], [MyText2]?
- Is it possible to avoid using the keywords primary and secondary in each entry and have it "general" for each .bib file?
Thank you for the help.
![Lorem [MyText1] ipsum [1] dolor [2] sit [MyText2]](../../images/225e867e517eda93d710517afce5e306.webp)
Keyword 'references' not found.in both\printbibliographylines. – aripod May 11 '21 at 08:57\perdatasourcelines must match with your actual file names (as given to\addbibresource). – moewe May 11 '21 at 17:57