Bib(la)tex helpSwitching from amsrefs to biblatexNew bib(la)tex-entrytype for music-scoresbiblatex &...
A right or the right?
How can atoms be electrically neutral when there is a difference in the positions of the charges?
Is there a frame of reference in which I was born before I was conceived?
Achieving MPPT of a solar panel with LM2596
Did Amazon pay $0 in taxes last year?
I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?
Why do members of Congress in committee hearings ask witnesses the same question multiple times?
How to lift/raise/repair a segment of concrete slab?
Get length of the longest sequence of numbers with the same sign
Do higher etale homotopy groups of spectrum of a field always vanish?
What does @RC mean in SSDT SQL Server Unit Testing?
What type of investment is best suited for a 1-year investment on a down payment?
Where is the fallacy here?
Woman in friend circle telling people I "should be fired"
Are paired adjectives bad style?
Toast materialize
What is a term for a function that when called repeatedly, has the same effect as calling once?
Borrowing Characters
Can I become debt free or should I file for bankruptcy? How do I manage my debt and finances?
Is there a full canon version of Tyrion's jackass/honeycomb joke?
Can throughput exceed the bandwidth of a network
Are small insurances worth it
Didactic impediments of using simplified versions
VAT refund for a conference ticket in Sweden
Bib(la)tex help
Switching from amsrefs to biblatexNew bib(la)tex-entrytype for music-scoresbiblatex & Mendeley - remove obsolete data from bibliographyHow to include bib file in TexResorting the *.bib file as appeared in *.tex and rewriting to a new *bib file (biblatex)Citations using biblatex together with Tufte style are producing weird resultsbiblatex error: invalid format of field 'date' - what's wrong?Biblatex citation - changing page prefixUsing c{e} and other special characters in .bib files with pdflatex+biblatex+biber: How to avoid Package inputenc Error?Bib-tex error(while references)multiple bibliographies same bib file
I have two questions regarding biblatex
.
I have bibliography entries from MathSciNet, and this has several fields. For instance one such looks like:
@article {Gratzer2013,
AUTHOR = {Gr"{a}tzer, G.},
TITLE = {The order of principal congruences of a bounded lattice},
JOURNAL = {Algebra Universalis},
FJOURNAL = {Algebra Universalis},
VOLUME = {70},
YEAR = {2013},
NUMBER = {1},
PAGES = {95--105},
ISSN = {0002-5240},
MRCLASS = {06B10 (06A06)},
MRNUMBER = {3073941},
MRREVIEWER = {S. Parameshwara Bhatta},
DOI = {10.1007/s00012-013-0242-3},
URL = {https://doi.org/10.1007/s00012-013-0242-3},
}
While using the following command:
{
%%%% biblatex usage
usepackage[style=numeric, backend=biber, backref, bibencoding=utf8, sorting=nyt]{biblatex}
addbibresource{ref.bib}
}
and then compiling with biber I do not get the data from "MRNUMBER" or "MRCLASS" or "MRREVIEWER".
My question is: what should I do to get these or any other relevant data for my bibliography. Is there any standard class which does this?
My old .bib files were compiled manually and do not have the information that I have presently using the MathSciNet facility. Is it possible to automatically add these information to hundreds of the bibliography entries over several
.bib
files?
biblatex
add a comment |
I have two questions regarding biblatex
.
I have bibliography entries from MathSciNet, and this has several fields. For instance one such looks like:
@article {Gratzer2013,
AUTHOR = {Gr"{a}tzer, G.},
TITLE = {The order of principal congruences of a bounded lattice},
JOURNAL = {Algebra Universalis},
FJOURNAL = {Algebra Universalis},
VOLUME = {70},
YEAR = {2013},
NUMBER = {1},
PAGES = {95--105},
ISSN = {0002-5240},
MRCLASS = {06B10 (06A06)},
MRNUMBER = {3073941},
MRREVIEWER = {S. Parameshwara Bhatta},
DOI = {10.1007/s00012-013-0242-3},
URL = {https://doi.org/10.1007/s00012-013-0242-3},
}
While using the following command:
{
%%%% biblatex usage
usepackage[style=numeric, backend=biber, backref, bibencoding=utf8, sorting=nyt]{biblatex}
addbibresource{ref.bib}
}
and then compiling with biber I do not get the data from "MRNUMBER" or "MRCLASS" or "MRREVIEWER".
My question is: what should I do to get these or any other relevant data for my bibliography. Is there any standard class which does this?
My old .bib files were compiled manually and do not have the information that I have presently using the MathSciNet facility. Is it possible to automatically add these information to hundreds of the bibliography entries over several
.bib
files?
biblatex
2
biblatex
does not knowmrnumber
and friends, but you can tell it to recognise those fields, see tex.stackexchange.com/q/306908/35864.
– moewe
yesterday
1
2. Is not abiblatex
question and I encourage you to ask it in a separate question. I suspect this might be possible if you somehow query MathSciNet with your old.bib
files and retrieve the relevant information. But there is a risk of false matches and incorrect information there, so I would go for a manual approach when needed so I can double check stuff.
– moewe
yesterday
I doubt you really have the{ ... }
around yourusepackage{biblatex}
andaddbibresource
statements in your document, but let me just warn future visitors that that would most likely not work. Loading packages in a group is quite likely to go wrong, because packages normally assume that all definitions they make are global in scope.
– moewe
19 hours ago
In the author field, you can use the ä in Grätzer directly, without using Gr"{a}.
– Max R
18 hours ago
add a comment |
I have two questions regarding biblatex
.
I have bibliography entries from MathSciNet, and this has several fields. For instance one such looks like:
@article {Gratzer2013,
AUTHOR = {Gr"{a}tzer, G.},
TITLE = {The order of principal congruences of a bounded lattice},
JOURNAL = {Algebra Universalis},
FJOURNAL = {Algebra Universalis},
VOLUME = {70},
YEAR = {2013},
NUMBER = {1},
PAGES = {95--105},
ISSN = {0002-5240},
MRCLASS = {06B10 (06A06)},
MRNUMBER = {3073941},
MRREVIEWER = {S. Parameshwara Bhatta},
DOI = {10.1007/s00012-013-0242-3},
URL = {https://doi.org/10.1007/s00012-013-0242-3},
}
While using the following command:
{
%%%% biblatex usage
usepackage[style=numeric, backend=biber, backref, bibencoding=utf8, sorting=nyt]{biblatex}
addbibresource{ref.bib}
}
and then compiling with biber I do not get the data from "MRNUMBER" or "MRCLASS" or "MRREVIEWER".
My question is: what should I do to get these or any other relevant data for my bibliography. Is there any standard class which does this?
My old .bib files were compiled manually and do not have the information that I have presently using the MathSciNet facility. Is it possible to automatically add these information to hundreds of the bibliography entries over several
.bib
files?
biblatex
I have two questions regarding biblatex
.
I have bibliography entries from MathSciNet, and this has several fields. For instance one such looks like:
@article {Gratzer2013,
AUTHOR = {Gr"{a}tzer, G.},
TITLE = {The order of principal congruences of a bounded lattice},
JOURNAL = {Algebra Universalis},
FJOURNAL = {Algebra Universalis},
VOLUME = {70},
YEAR = {2013},
NUMBER = {1},
PAGES = {95--105},
ISSN = {0002-5240},
MRCLASS = {06B10 (06A06)},
MRNUMBER = {3073941},
MRREVIEWER = {S. Parameshwara Bhatta},
DOI = {10.1007/s00012-013-0242-3},
URL = {https://doi.org/10.1007/s00012-013-0242-3},
}
While using the following command:
{
%%%% biblatex usage
usepackage[style=numeric, backend=biber, backref, bibencoding=utf8, sorting=nyt]{biblatex}
addbibresource{ref.bib}
}
and then compiling with biber I do not get the data from "MRNUMBER" or "MRCLASS" or "MRREVIEWER".
My question is: what should I do to get these or any other relevant data for my bibliography. Is there any standard class which does this?
My old .bib files were compiled manually and do not have the information that I have presently using the MathSciNet facility. Is it possible to automatically add these information to hundreds of the bibliography entries over several
.bib
files?
biblatex
biblatex
edited yesterday
moewe
92.6k10115351
92.6k10115351
asked yesterday
Partha Pratim GhoshPartha Pratim Ghosh
91
91
2
biblatex
does not knowmrnumber
and friends, but you can tell it to recognise those fields, see tex.stackexchange.com/q/306908/35864.
– moewe
yesterday
1
2. Is not abiblatex
question and I encourage you to ask it in a separate question. I suspect this might be possible if you somehow query MathSciNet with your old.bib
files and retrieve the relevant information. But there is a risk of false matches and incorrect information there, so I would go for a manual approach when needed so I can double check stuff.
– moewe
yesterday
I doubt you really have the{ ... }
around yourusepackage{biblatex}
andaddbibresource
statements in your document, but let me just warn future visitors that that would most likely not work. Loading packages in a group is quite likely to go wrong, because packages normally assume that all definitions they make are global in scope.
– moewe
19 hours ago
In the author field, you can use the ä in Grätzer directly, without using Gr"{a}.
– Max R
18 hours ago
add a comment |
2
biblatex
does not knowmrnumber
and friends, but you can tell it to recognise those fields, see tex.stackexchange.com/q/306908/35864.
– moewe
yesterday
1
2. Is not abiblatex
question and I encourage you to ask it in a separate question. I suspect this might be possible if you somehow query MathSciNet with your old.bib
files and retrieve the relevant information. But there is a risk of false matches and incorrect information there, so I would go for a manual approach when needed so I can double check stuff.
– moewe
yesterday
I doubt you really have the{ ... }
around yourusepackage{biblatex}
andaddbibresource
statements in your document, but let me just warn future visitors that that would most likely not work. Loading packages in a group is quite likely to go wrong, because packages normally assume that all definitions they make are global in scope.
– moewe
19 hours ago
In the author field, you can use the ä in Grätzer directly, without using Gr"{a}.
– Max R
18 hours ago
2
2
biblatex
does not know mrnumber
and friends, but you can tell it to recognise those fields, see tex.stackexchange.com/q/306908/35864.– moewe
yesterday
biblatex
does not know mrnumber
and friends, but you can tell it to recognise those fields, see tex.stackexchange.com/q/306908/35864.– moewe
yesterday
1
1
2. Is not a
biblatex
question and I encourage you to ask it in a separate question. I suspect this might be possible if you somehow query MathSciNet with your old .bib
files and retrieve the relevant information. But there is a risk of false matches and incorrect information there, so I would go for a manual approach when needed so I can double check stuff.– moewe
yesterday
2. Is not a
biblatex
question and I encourage you to ask it in a separate question. I suspect this might be possible if you somehow query MathSciNet with your old .bib
files and retrieve the relevant information. But there is a risk of false matches and incorrect information there, so I would go for a manual approach when needed so I can double check stuff.– moewe
yesterday
I doubt you really have the
{ ... }
around your usepackage{biblatex}
and addbibresource
statements in your document, but let me just warn future visitors that that would most likely not work. Loading packages in a group is quite likely to go wrong, because packages normally assume that all definitions they make are global in scope.– moewe
19 hours ago
I doubt you really have the
{ ... }
around your usepackage{biblatex}
and addbibresource
statements in your document, but let me just warn future visitors that that would most likely not work. Loading packages in a group is quite likely to go wrong, because packages normally assume that all definitions they make are global in scope.– moewe
19 hours ago
In the author field, you can use the ä in Grätzer directly, without using Gr"{a}.
– Max R
18 hours ago
In the author field, you can use the ä in Grätzer directly, without using Gr"{a}.
– Max R
18 hours ago
add a comment |
1 Answer
1
active
oldest
votes
Switching from amsrefs to biblatex already shows how you can make the mrnumber
show in the bibliography, so here we show mrclass
and mrreviewer
as well.
The idea is the same. First we define a new datamodel file (.dbx
) with the new fields and load that with the datamodel
option. Then we need formats for those fields and finally we need to print the fields in a bibmacro (mrinfo
) that is called in one of the standard macros (doi+eprint+url
).
documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage{filecontents}
begin{filecontents*}{mrnumber.dbx}
DeclareDatamodelFields[type=field,datatype=literal]{mrnumber,mrclass}
DeclareDatamodelFields[type=list, datatype=name]{mrreviewer}
DeclareDatamodelEntryfields{mrnumber,mrclass,mrreviewer}
end{filecontents*}
usepackage[style=numeric, backend=biber, sorting=nyt, datamodel=mrnumber]{biblatex}
usepackage{hyperref}
DeclareFieldFormat{mrnumber}{%
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{MR#1}}
{MR#1}}
DeclareFieldFormat{mrclass}{#1}
DeclareNameAlias{bymrreviewer}{byeditor}
newbibmacro*{mrinfo}{%
printfield{mrnumber}%
iffieldundef{mrclass}
{setunit*{addcommaspace}}
{setunit*{addspace}}%
printfield{mrclass}%
setunit*{addcommaspace}%
ifnameundef{mrreviewer}
{}
{bibstring{byreviewer}%
setunit{addspace}%
printnames[bymrreviewer]{mrreviewer}}}
newtoggle{bbx:mrinfo}
DeclareBibliographyOption[boolean]{mrinfo}[true]{settoggle{bbx:mrinfo}{#1}}
ExecuteBibliographyOptions{mrinfo}
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
iftoggle{bbx:mrinfo}
{usebibmacro{mrinfo}}
{}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
begin{filecontents*}{jobname.bib}
@article{gratzer,
author = {Grätzer, G.},
title = {The order of principal congruences of a bounded lattice},
journal = {Algebra Universalis},
volume = {70},
year = {2013},
number = {1},
pages = {95--105},
mrclass = {06B10 (06A06)},
mrnumber = {3073941},
mrreviewer = {S. Parameshwara Bhatta},
doi = {10.1007/s00012-013-0242-3},
}
end{filecontents*}
addbibresource{jobname.bib}
addbibresource{biblatex-examples.bib}
begin{document}
cite{gratzer,sigfridsson}
printbibliography
end{document}
For the second issue I suggest you ask a new question since that is not related to biblatex
at all. You could query https://mathscinet.ams.org/mrlookup with your .bib
entries and get the result. As long as your author
and title
fields are accurate (and coincide with the info on MathSciNet) that should give you the correct entry. The Python tool https://pypi.org/project/bibupdate/ seems to do just that.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477776%2fbiblatex-help%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Switching from amsrefs to biblatex already shows how you can make the mrnumber
show in the bibliography, so here we show mrclass
and mrreviewer
as well.
The idea is the same. First we define a new datamodel file (.dbx
) with the new fields and load that with the datamodel
option. Then we need formats for those fields and finally we need to print the fields in a bibmacro (mrinfo
) that is called in one of the standard macros (doi+eprint+url
).
documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage{filecontents}
begin{filecontents*}{mrnumber.dbx}
DeclareDatamodelFields[type=field,datatype=literal]{mrnumber,mrclass}
DeclareDatamodelFields[type=list, datatype=name]{mrreviewer}
DeclareDatamodelEntryfields{mrnumber,mrclass,mrreviewer}
end{filecontents*}
usepackage[style=numeric, backend=biber, sorting=nyt, datamodel=mrnumber]{biblatex}
usepackage{hyperref}
DeclareFieldFormat{mrnumber}{%
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{MR#1}}
{MR#1}}
DeclareFieldFormat{mrclass}{#1}
DeclareNameAlias{bymrreviewer}{byeditor}
newbibmacro*{mrinfo}{%
printfield{mrnumber}%
iffieldundef{mrclass}
{setunit*{addcommaspace}}
{setunit*{addspace}}%
printfield{mrclass}%
setunit*{addcommaspace}%
ifnameundef{mrreviewer}
{}
{bibstring{byreviewer}%
setunit{addspace}%
printnames[bymrreviewer]{mrreviewer}}}
newtoggle{bbx:mrinfo}
DeclareBibliographyOption[boolean]{mrinfo}[true]{settoggle{bbx:mrinfo}{#1}}
ExecuteBibliographyOptions{mrinfo}
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
iftoggle{bbx:mrinfo}
{usebibmacro{mrinfo}}
{}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
begin{filecontents*}{jobname.bib}
@article{gratzer,
author = {Grätzer, G.},
title = {The order of principal congruences of a bounded lattice},
journal = {Algebra Universalis},
volume = {70},
year = {2013},
number = {1},
pages = {95--105},
mrclass = {06B10 (06A06)},
mrnumber = {3073941},
mrreviewer = {S. Parameshwara Bhatta},
doi = {10.1007/s00012-013-0242-3},
}
end{filecontents*}
addbibresource{jobname.bib}
addbibresource{biblatex-examples.bib}
begin{document}
cite{gratzer,sigfridsson}
printbibliography
end{document}
For the second issue I suggest you ask a new question since that is not related to biblatex
at all. You could query https://mathscinet.ams.org/mrlookup with your .bib
entries and get the result. As long as your author
and title
fields are accurate (and coincide with the info on MathSciNet) that should give you the correct entry. The Python tool https://pypi.org/project/bibupdate/ seems to do just that.
add a comment |
Switching from amsrefs to biblatex already shows how you can make the mrnumber
show in the bibliography, so here we show mrclass
and mrreviewer
as well.
The idea is the same. First we define a new datamodel file (.dbx
) with the new fields and load that with the datamodel
option. Then we need formats for those fields and finally we need to print the fields in a bibmacro (mrinfo
) that is called in one of the standard macros (doi+eprint+url
).
documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage{filecontents}
begin{filecontents*}{mrnumber.dbx}
DeclareDatamodelFields[type=field,datatype=literal]{mrnumber,mrclass}
DeclareDatamodelFields[type=list, datatype=name]{mrreviewer}
DeclareDatamodelEntryfields{mrnumber,mrclass,mrreviewer}
end{filecontents*}
usepackage[style=numeric, backend=biber, sorting=nyt, datamodel=mrnumber]{biblatex}
usepackage{hyperref}
DeclareFieldFormat{mrnumber}{%
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{MR#1}}
{MR#1}}
DeclareFieldFormat{mrclass}{#1}
DeclareNameAlias{bymrreviewer}{byeditor}
newbibmacro*{mrinfo}{%
printfield{mrnumber}%
iffieldundef{mrclass}
{setunit*{addcommaspace}}
{setunit*{addspace}}%
printfield{mrclass}%
setunit*{addcommaspace}%
ifnameundef{mrreviewer}
{}
{bibstring{byreviewer}%
setunit{addspace}%
printnames[bymrreviewer]{mrreviewer}}}
newtoggle{bbx:mrinfo}
DeclareBibliographyOption[boolean]{mrinfo}[true]{settoggle{bbx:mrinfo}{#1}}
ExecuteBibliographyOptions{mrinfo}
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
iftoggle{bbx:mrinfo}
{usebibmacro{mrinfo}}
{}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
begin{filecontents*}{jobname.bib}
@article{gratzer,
author = {Grätzer, G.},
title = {The order of principal congruences of a bounded lattice},
journal = {Algebra Universalis},
volume = {70},
year = {2013},
number = {1},
pages = {95--105},
mrclass = {06B10 (06A06)},
mrnumber = {3073941},
mrreviewer = {S. Parameshwara Bhatta},
doi = {10.1007/s00012-013-0242-3},
}
end{filecontents*}
addbibresource{jobname.bib}
addbibresource{biblatex-examples.bib}
begin{document}
cite{gratzer,sigfridsson}
printbibliography
end{document}
For the second issue I suggest you ask a new question since that is not related to biblatex
at all. You could query https://mathscinet.ams.org/mrlookup with your .bib
entries and get the result. As long as your author
and title
fields are accurate (and coincide with the info on MathSciNet) that should give you the correct entry. The Python tool https://pypi.org/project/bibupdate/ seems to do just that.
add a comment |
Switching from amsrefs to biblatex already shows how you can make the mrnumber
show in the bibliography, so here we show mrclass
and mrreviewer
as well.
The idea is the same. First we define a new datamodel file (.dbx
) with the new fields and load that with the datamodel
option. Then we need formats for those fields and finally we need to print the fields in a bibmacro (mrinfo
) that is called in one of the standard macros (doi+eprint+url
).
documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage{filecontents}
begin{filecontents*}{mrnumber.dbx}
DeclareDatamodelFields[type=field,datatype=literal]{mrnumber,mrclass}
DeclareDatamodelFields[type=list, datatype=name]{mrreviewer}
DeclareDatamodelEntryfields{mrnumber,mrclass,mrreviewer}
end{filecontents*}
usepackage[style=numeric, backend=biber, sorting=nyt, datamodel=mrnumber]{biblatex}
usepackage{hyperref}
DeclareFieldFormat{mrnumber}{%
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{MR#1}}
{MR#1}}
DeclareFieldFormat{mrclass}{#1}
DeclareNameAlias{bymrreviewer}{byeditor}
newbibmacro*{mrinfo}{%
printfield{mrnumber}%
iffieldundef{mrclass}
{setunit*{addcommaspace}}
{setunit*{addspace}}%
printfield{mrclass}%
setunit*{addcommaspace}%
ifnameundef{mrreviewer}
{}
{bibstring{byreviewer}%
setunit{addspace}%
printnames[bymrreviewer]{mrreviewer}}}
newtoggle{bbx:mrinfo}
DeclareBibliographyOption[boolean]{mrinfo}[true]{settoggle{bbx:mrinfo}{#1}}
ExecuteBibliographyOptions{mrinfo}
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
iftoggle{bbx:mrinfo}
{usebibmacro{mrinfo}}
{}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
begin{filecontents*}{jobname.bib}
@article{gratzer,
author = {Grätzer, G.},
title = {The order of principal congruences of a bounded lattice},
journal = {Algebra Universalis},
volume = {70},
year = {2013},
number = {1},
pages = {95--105},
mrclass = {06B10 (06A06)},
mrnumber = {3073941},
mrreviewer = {S. Parameshwara Bhatta},
doi = {10.1007/s00012-013-0242-3},
}
end{filecontents*}
addbibresource{jobname.bib}
addbibresource{biblatex-examples.bib}
begin{document}
cite{gratzer,sigfridsson}
printbibliography
end{document}
For the second issue I suggest you ask a new question since that is not related to biblatex
at all. You could query https://mathscinet.ams.org/mrlookup with your .bib
entries and get the result. As long as your author
and title
fields are accurate (and coincide with the info on MathSciNet) that should give you the correct entry. The Python tool https://pypi.org/project/bibupdate/ seems to do just that.
Switching from amsrefs to biblatex already shows how you can make the mrnumber
show in the bibliography, so here we show mrclass
and mrreviewer
as well.
The idea is the same. First we define a new datamodel file (.dbx
) with the new fields and load that with the datamodel
option. Then we need formats for those fields and finally we need to print the fields in a bibmacro (mrinfo
) that is called in one of the standard macros (doi+eprint+url
).
documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage{filecontents}
begin{filecontents*}{mrnumber.dbx}
DeclareDatamodelFields[type=field,datatype=literal]{mrnumber,mrclass}
DeclareDatamodelFields[type=list, datatype=name]{mrreviewer}
DeclareDatamodelEntryfields{mrnumber,mrclass,mrreviewer}
end{filecontents*}
usepackage[style=numeric, backend=biber, sorting=nyt, datamodel=mrnumber]{biblatex}
usepackage{hyperref}
DeclareFieldFormat{mrnumber}{%
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{MR#1}}
{MR#1}}
DeclareFieldFormat{mrclass}{#1}
DeclareNameAlias{bymrreviewer}{byeditor}
newbibmacro*{mrinfo}{%
printfield{mrnumber}%
iffieldundef{mrclass}
{setunit*{addcommaspace}}
{setunit*{addspace}}%
printfield{mrclass}%
setunit*{addcommaspace}%
ifnameundef{mrreviewer}
{}
{bibstring{byreviewer}%
setunit{addspace}%
printnames[bymrreviewer]{mrreviewer}}}
newtoggle{bbx:mrinfo}
DeclareBibliographyOption[boolean]{mrinfo}[true]{settoggle{bbx:mrinfo}{#1}}
ExecuteBibliographyOptions{mrinfo}
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
iftoggle{bbx:mrinfo}
{usebibmacro{mrinfo}}
{}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
begin{filecontents*}{jobname.bib}
@article{gratzer,
author = {Grätzer, G.},
title = {The order of principal congruences of a bounded lattice},
journal = {Algebra Universalis},
volume = {70},
year = {2013},
number = {1},
pages = {95--105},
mrclass = {06B10 (06A06)},
mrnumber = {3073941},
mrreviewer = {S. Parameshwara Bhatta},
doi = {10.1007/s00012-013-0242-3},
}
end{filecontents*}
addbibresource{jobname.bib}
addbibresource{biblatex-examples.bib}
begin{document}
cite{gratzer,sigfridsson}
printbibliography
end{document}
For the second issue I suggest you ask a new question since that is not related to biblatex
at all. You could query https://mathscinet.ams.org/mrlookup with your .bib
entries and get the result. As long as your author
and title
fields are accurate (and coincide with the info on MathSciNet) that should give you the correct entry. The Python tool https://pypi.org/project/bibupdate/ seems to do just that.
edited 19 hours ago
answered 19 hours ago
moewemoewe
92.6k10115351
92.6k10115351
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477776%2fbiblatex-help%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
biblatex
does not knowmrnumber
and friends, but you can tell it to recognise those fields, see tex.stackexchange.com/q/306908/35864.– moewe
yesterday
1
2. Is not a
biblatex
question and I encourage you to ask it in a separate question. I suspect this might be possible if you somehow query MathSciNet with your old.bib
files and retrieve the relevant information. But there is a risk of false matches and incorrect information there, so I would go for a manual approach when needed so I can double check stuff.– moewe
yesterday
I doubt you really have the
{ ... }
around yourusepackage{biblatex}
andaddbibresource
statements in your document, but let me just warn future visitors that that would most likely not work. Loading packages in a group is quite likely to go wrong, because packages normally assume that all definitions they make are global in scope.– moewe
19 hours ago
In the author field, you can use the ä in Grätzer directly, without using Gr"{a}.
– Max R
18 hours ago