Switching from amsrefs to biblatexWhen should I use amsrefs instead of regular bibtex ?Changing “and” to...
Is the withholding of funding notice allowed?
Is there a frame of reference in which I was born before I was conceived?
Real life puzzle: Unknown alphabet or shorthand
Should we avoid writing fiction about historical events without extensive research?
Plagiarism of code by other PhD student
Difference between 'stomach' and 'uterus'
What am I? I am in theaters and computer programs
When was drinking water recognized as crucial in marathon running?
I can't die. Who am I?
At what level can a party fight a mimic?
Wrap all numerics in JSON with quotes
Don't know what I’m looking for regarding removable HDDs?
Why is it "take a leak?"
Did Amazon pay $0 in taxes last year?
How to mitigate "bandwagon attacking" from players?
Dystopian novel where telepathic humans live under a dome
What is a term for a function that when called repeatedly, has the same effect as calling once?
Misplaced tyre lever - alternatives?
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?
Inverse of the covariance matrix of a multivariate normal distribution
Can throughput exceed the bandwidth of a network
How can atoms be electrically neutral when there is a difference in the positions of the charges?
What are the issues with an additional (limited) concentration slot instead of Bladesong?
Switching from amsrefs to biblatex
When should I use amsrefs instead of regular bibtex ?Changing “and” to “&” and removing Oxford comma in bibliographyBiblatex and Pubmed/Pubmed Central IDsHow popular is amsrefs in comparison with Bibtex?Bold book names in amsrefsBib(la)tex helpFixing errors in citations using biblatexCannot use biblatexMultiple doi, url, and eprint entries in biblatexHyperlinked citation aliases for biblatexHow to not print the day/month of a BibLaTeX reference?Biblatex and Pubmed/Pubmed Central IDsBiblatex error can't use file + pdfLeft/right adjusment of labels in amsrefsIssues switching from natbib to biblatex; %-symbol in howpublished field and style from .bst fileCustomizing bibliography format with amsrefs
I always used amsrefs
as my references package. However, it seems like biblatex
is better supported, and more widely used (at least in this community). Compare 37 posts with the amsrefs tag to 3.6k posts with the biblatex tag. The trigger for me to switch was the so-called Oxford comma, which seems to be easy enough to remove using biblatex
, and I have no idea how to do it with amsrefs
.
However, I like some of the features of amsrefs
, and I was wondering whether they can be emulated using biblatex
. Examples:
msc-links
allow one adding links to MathSciNet using theMRNUMBER
entry in the bib entry.- With the help of @egreg, I can make book names appear in bold with
amsrefs
.
Can I somehow emulate these, and more, with biblatex
? Can I let biblatex
adopt amsrefs
's defaults?
Do you agree it's a reasonable decision to switch?
biblatex amsrefs
add a comment |
I always used amsrefs
as my references package. However, it seems like biblatex
is better supported, and more widely used (at least in this community). Compare 37 posts with the amsrefs tag to 3.6k posts with the biblatex tag. The trigger for me to switch was the so-called Oxford comma, which seems to be easy enough to remove using biblatex
, and I have no idea how to do it with amsrefs
.
However, I like some of the features of amsrefs
, and I was wondering whether they can be emulated using biblatex
. Examples:
msc-links
allow one adding links to MathSciNet using theMRNUMBER
entry in the bib entry.- With the help of @egreg, I can make book names appear in bold with
amsrefs
.
Can I somehow emulate these, and more, with biblatex
? Can I let biblatex
adopt amsrefs
's defaults?
Do you agree it's a reasonable decision to switch?
biblatex amsrefs
1
Look at it this way:amsrefs
had a big potential, in my opinion, but it's not developed nor maintained;biblatex
has several styles and is actively developed.
– egreg
Apr 28 '16 at 20:16
1
(1) Yes. (2) Yes. (Anything is possible with @egreg's help, but in Biblatex you might not even need it.) (3) Yes. (4) I don't think so. Not if you mean 'can I pass an option to the package likeamsstyle
and get the defaults?' But if you mean 'can I configure it to use those defaults?' then probably.
– cfr
Apr 28 '16 at 20:46
1
Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers.
– samcarter
Jul 26 '17 at 15:06
add a comment |
I always used amsrefs
as my references package. However, it seems like biblatex
is better supported, and more widely used (at least in this community). Compare 37 posts with the amsrefs tag to 3.6k posts with the biblatex tag. The trigger for me to switch was the so-called Oxford comma, which seems to be easy enough to remove using biblatex
, and I have no idea how to do it with amsrefs
.
However, I like some of the features of amsrefs
, and I was wondering whether they can be emulated using biblatex
. Examples:
msc-links
allow one adding links to MathSciNet using theMRNUMBER
entry in the bib entry.- With the help of @egreg, I can make book names appear in bold with
amsrefs
.
Can I somehow emulate these, and more, with biblatex
? Can I let biblatex
adopt amsrefs
's defaults?
Do you agree it's a reasonable decision to switch?
biblatex amsrefs
I always used amsrefs
as my references package. However, it seems like biblatex
is better supported, and more widely used (at least in this community). Compare 37 posts with the amsrefs tag to 3.6k posts with the biblatex tag. The trigger for me to switch was the so-called Oxford comma, which seems to be easy enough to remove using biblatex
, and I have no idea how to do it with amsrefs
.
However, I like some of the features of amsrefs
, and I was wondering whether they can be emulated using biblatex
. Examples:
msc-links
allow one adding links to MathSciNet using theMRNUMBER
entry in the bib entry.- With the help of @egreg, I can make book names appear in bold with
amsrefs
.
Can I somehow emulate these, and more, with biblatex
? Can I let biblatex
adopt amsrefs
's defaults?
Do you agree it's a reasonable decision to switch?
biblatex amsrefs
biblatex amsrefs
edited Apr 13 '17 at 12:35
Community♦
1
1
asked Apr 28 '16 at 19:13
BachBach
598414
598414
1
Look at it this way:amsrefs
had a big potential, in my opinion, but it's not developed nor maintained;biblatex
has several styles and is actively developed.
– egreg
Apr 28 '16 at 20:16
1
(1) Yes. (2) Yes. (Anything is possible with @egreg's help, but in Biblatex you might not even need it.) (3) Yes. (4) I don't think so. Not if you mean 'can I pass an option to the package likeamsstyle
and get the defaults?' But if you mean 'can I configure it to use those defaults?' then probably.
– cfr
Apr 28 '16 at 20:46
1
Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers.
– samcarter
Jul 26 '17 at 15:06
add a comment |
1
Look at it this way:amsrefs
had a big potential, in my opinion, but it's not developed nor maintained;biblatex
has several styles and is actively developed.
– egreg
Apr 28 '16 at 20:16
1
(1) Yes. (2) Yes. (Anything is possible with @egreg's help, but in Biblatex you might not even need it.) (3) Yes. (4) I don't think so. Not if you mean 'can I pass an option to the package likeamsstyle
and get the defaults?' But if you mean 'can I configure it to use those defaults?' then probably.
– cfr
Apr 28 '16 at 20:46
1
Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers.
– samcarter
Jul 26 '17 at 15:06
1
1
Look at it this way:
amsrefs
had a big potential, in my opinion, but it's not developed nor maintained; biblatex
has several styles and is actively developed.– egreg
Apr 28 '16 at 20:16
Look at it this way:
amsrefs
had a big potential, in my opinion, but it's not developed nor maintained; biblatex
has several styles and is actively developed.– egreg
Apr 28 '16 at 20:16
1
1
(1) Yes. (2) Yes. (Anything is possible with @egreg's help, but in Biblatex you might not even need it.) (3) Yes. (4) I don't think so. Not if you mean 'can I pass an option to the package like
amsstyle
and get the defaults?' But if you mean 'can I configure it to use those defaults?' then probably.– cfr
Apr 28 '16 at 20:46
(1) Yes. (2) Yes. (Anything is possible with @egreg's help, but in Biblatex you might not even need it.) (3) Yes. (4) I don't think so. Not if you mean 'can I pass an option to the package like
amsstyle
and get the defaults?' But if you mean 'can I configure it to use those defaults?' then probably.– cfr
Apr 28 '16 at 20:46
1
1
Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers.
– samcarter
Jul 26 '17 at 15:06
Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers.
– samcarter
Jul 26 '17 at 15:06
add a comment |
1 Answer
1
active
oldest
votes
Yes, it is possible to link to MathSciNet. This can be done as in Biblatex and Pubmed/Pubmed Central IDs. Either as a manifestation of the eprint
feature via
DeclareFieldFormat{eprint:mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
and then
eprint = {1678525},
eprinttype = {mrnumber},
in the .bib
file.
Or as a separate field with a new datamodel. Call it mrnumber.dbx
DeclareDatamodelFields[type=field,datatype=verbatim]{mrnumber}
DeclareDatamodelEntryfields{mrnumber}
then load that datamodel with the option datamodel=mrnumber
, specify the formatting
DeclareFieldFormat{mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
and print it
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
printfield{mrnumber}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
You can see this in action in the example at the end.
It is very easily possible to make book titles bold
DeclareFieldFormat[book]{title}{mkbibbold{#1}}
I don't know of an option to make the output look like amsrefs
with only a few strokes on your keyboard. But I believe that many changes needed to the standard biblatex
styles can be facilitated easily. Of course there might be the odd detail that is harder to implement.
If you need features that are only present in biblatex
or significantly harder to get to work in amsrefs
, a switch seems reasonable. But if you don't miss anything or can work around the deficiencies reasonably easy, you don't need to go through the ordeals of switching.
See also When should I use amsrefs instead of regular bibtex? and How popular is amsrefs in comparison with Bibtex?
Example
documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage{filecontents}
begin{filecontents*}{mrnumber.dbx}
DeclareDatamodelFields[type=field,datatype=verbatim]{mrnumber}
DeclareDatamodelEntryfields{mrnumber}
end{filecontents*}
usepackage[backend=biber, style=numeric, datamodel=mrnumber]{biblatex}
usepackage{hyperref}
begin{filecontents*}{jobname.bib}
@article{grabiner,
author = {David J. Grabiner},
title = {Brownian motion in a Weyl chamber, non-colliding particles, and random matrices},
journal = {Annales de l'Institut Henri Poincare (B) Probability and Statistics},
volume = {35},
number = {2},
pages = {177-204},
year = {1999},
doi = {10.1016/S0246-0203(99)80010-7},
mrnumber = {1678525},
}
end{filecontents*}
DeclareFieldFormat{mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
printfield{mrnumber}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
DeclareFieldFormat[book]{title}{mkbibbold{#1}}
addbibresource{jobname.bib}
addbibresource{biblatex-examples.bib}
begin{document}
cite{cicero,grabiner,sigfridsson}
printbibliography
end{document}
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%2f306908%2fswitching-from-amsrefs-to-biblatex%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
Yes, it is possible to link to MathSciNet. This can be done as in Biblatex and Pubmed/Pubmed Central IDs. Either as a manifestation of the eprint
feature via
DeclareFieldFormat{eprint:mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
and then
eprint = {1678525},
eprinttype = {mrnumber},
in the .bib
file.
Or as a separate field with a new datamodel. Call it mrnumber.dbx
DeclareDatamodelFields[type=field,datatype=verbatim]{mrnumber}
DeclareDatamodelEntryfields{mrnumber}
then load that datamodel with the option datamodel=mrnumber
, specify the formatting
DeclareFieldFormat{mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
and print it
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
printfield{mrnumber}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
You can see this in action in the example at the end.
It is very easily possible to make book titles bold
DeclareFieldFormat[book]{title}{mkbibbold{#1}}
I don't know of an option to make the output look like amsrefs
with only a few strokes on your keyboard. But I believe that many changes needed to the standard biblatex
styles can be facilitated easily. Of course there might be the odd detail that is harder to implement.
If you need features that are only present in biblatex
or significantly harder to get to work in amsrefs
, a switch seems reasonable. But if you don't miss anything or can work around the deficiencies reasonably easy, you don't need to go through the ordeals of switching.
See also When should I use amsrefs instead of regular bibtex? and How popular is amsrefs in comparison with Bibtex?
Example
documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage{filecontents}
begin{filecontents*}{mrnumber.dbx}
DeclareDatamodelFields[type=field,datatype=verbatim]{mrnumber}
DeclareDatamodelEntryfields{mrnumber}
end{filecontents*}
usepackage[backend=biber, style=numeric, datamodel=mrnumber]{biblatex}
usepackage{hyperref}
begin{filecontents*}{jobname.bib}
@article{grabiner,
author = {David J. Grabiner},
title = {Brownian motion in a Weyl chamber, non-colliding particles, and random matrices},
journal = {Annales de l'Institut Henri Poincare (B) Probability and Statistics},
volume = {35},
number = {2},
pages = {177-204},
year = {1999},
doi = {10.1016/S0246-0203(99)80010-7},
mrnumber = {1678525},
}
end{filecontents*}
DeclareFieldFormat{mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
printfield{mrnumber}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
DeclareFieldFormat[book]{title}{mkbibbold{#1}}
addbibresource{jobname.bib}
addbibresource{biblatex-examples.bib}
begin{document}
cite{cicero,grabiner,sigfridsson}
printbibliography
end{document}
add a comment |
Yes, it is possible to link to MathSciNet. This can be done as in Biblatex and Pubmed/Pubmed Central IDs. Either as a manifestation of the eprint
feature via
DeclareFieldFormat{eprint:mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
and then
eprint = {1678525},
eprinttype = {mrnumber},
in the .bib
file.
Or as a separate field with a new datamodel. Call it mrnumber.dbx
DeclareDatamodelFields[type=field,datatype=verbatim]{mrnumber}
DeclareDatamodelEntryfields{mrnumber}
then load that datamodel with the option datamodel=mrnumber
, specify the formatting
DeclareFieldFormat{mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
and print it
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
printfield{mrnumber}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
You can see this in action in the example at the end.
It is very easily possible to make book titles bold
DeclareFieldFormat[book]{title}{mkbibbold{#1}}
I don't know of an option to make the output look like amsrefs
with only a few strokes on your keyboard. But I believe that many changes needed to the standard biblatex
styles can be facilitated easily. Of course there might be the odd detail that is harder to implement.
If you need features that are only present in biblatex
or significantly harder to get to work in amsrefs
, a switch seems reasonable. But if you don't miss anything or can work around the deficiencies reasonably easy, you don't need to go through the ordeals of switching.
See also When should I use amsrefs instead of regular bibtex? and How popular is amsrefs in comparison with Bibtex?
Example
documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage{filecontents}
begin{filecontents*}{mrnumber.dbx}
DeclareDatamodelFields[type=field,datatype=verbatim]{mrnumber}
DeclareDatamodelEntryfields{mrnumber}
end{filecontents*}
usepackage[backend=biber, style=numeric, datamodel=mrnumber]{biblatex}
usepackage{hyperref}
begin{filecontents*}{jobname.bib}
@article{grabiner,
author = {David J. Grabiner},
title = {Brownian motion in a Weyl chamber, non-colliding particles, and random matrices},
journal = {Annales de l'Institut Henri Poincare (B) Probability and Statistics},
volume = {35},
number = {2},
pages = {177-204},
year = {1999},
doi = {10.1016/S0246-0203(99)80010-7},
mrnumber = {1678525},
}
end{filecontents*}
DeclareFieldFormat{mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
printfield{mrnumber}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
DeclareFieldFormat[book]{title}{mkbibbold{#1}}
addbibresource{jobname.bib}
addbibresource{biblatex-examples.bib}
begin{document}
cite{cicero,grabiner,sigfridsson}
printbibliography
end{document}
add a comment |
Yes, it is possible to link to MathSciNet. This can be done as in Biblatex and Pubmed/Pubmed Central IDs. Either as a manifestation of the eprint
feature via
DeclareFieldFormat{eprint:mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
and then
eprint = {1678525},
eprinttype = {mrnumber},
in the .bib
file.
Or as a separate field with a new datamodel. Call it mrnumber.dbx
DeclareDatamodelFields[type=field,datatype=verbatim]{mrnumber}
DeclareDatamodelEntryfields{mrnumber}
then load that datamodel with the option datamodel=mrnumber
, specify the formatting
DeclareFieldFormat{mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
and print it
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
printfield{mrnumber}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
You can see this in action in the example at the end.
It is very easily possible to make book titles bold
DeclareFieldFormat[book]{title}{mkbibbold{#1}}
I don't know of an option to make the output look like amsrefs
with only a few strokes on your keyboard. But I believe that many changes needed to the standard biblatex
styles can be facilitated easily. Of course there might be the odd detail that is harder to implement.
If you need features that are only present in biblatex
or significantly harder to get to work in amsrefs
, a switch seems reasonable. But if you don't miss anything or can work around the deficiencies reasonably easy, you don't need to go through the ordeals of switching.
See also When should I use amsrefs instead of regular bibtex? and How popular is amsrefs in comparison with Bibtex?
Example
documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage{filecontents}
begin{filecontents*}{mrnumber.dbx}
DeclareDatamodelFields[type=field,datatype=verbatim]{mrnumber}
DeclareDatamodelEntryfields{mrnumber}
end{filecontents*}
usepackage[backend=biber, style=numeric, datamodel=mrnumber]{biblatex}
usepackage{hyperref}
begin{filecontents*}{jobname.bib}
@article{grabiner,
author = {David J. Grabiner},
title = {Brownian motion in a Weyl chamber, non-colliding particles, and random matrices},
journal = {Annales de l'Institut Henri Poincare (B) Probability and Statistics},
volume = {35},
number = {2},
pages = {177-204},
year = {1999},
doi = {10.1016/S0246-0203(99)80010-7},
mrnumber = {1678525},
}
end{filecontents*}
DeclareFieldFormat{mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
printfield{mrnumber}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
DeclareFieldFormat[book]{title}{mkbibbold{#1}}
addbibresource{jobname.bib}
addbibresource{biblatex-examples.bib}
begin{document}
cite{cicero,grabiner,sigfridsson}
printbibliography
end{document}
Yes, it is possible to link to MathSciNet. This can be done as in Biblatex and Pubmed/Pubmed Central IDs. Either as a manifestation of the eprint
feature via
DeclareFieldFormat{eprint:mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
and then
eprint = {1678525},
eprinttype = {mrnumber},
in the .bib
file.
Or as a separate field with a new datamodel. Call it mrnumber.dbx
DeclareDatamodelFields[type=field,datatype=verbatim]{mrnumber}
DeclareDatamodelEntryfields{mrnumber}
then load that datamodel with the option datamodel=mrnumber
, specify the formatting
DeclareFieldFormat{mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
and print it
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
printfield{mrnumber}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
You can see this in action in the example at the end.
It is very easily possible to make book titles bold
DeclareFieldFormat[book]{title}{mkbibbold{#1}}
I don't know of an option to make the output look like amsrefs
with only a few strokes on your keyboard. But I believe that many changes needed to the standard biblatex
styles can be facilitated easily. Of course there might be the odd detail that is harder to implement.
If you need features that are only present in biblatex
or significantly harder to get to work in amsrefs
, a switch seems reasonable. But if you don't miss anything or can work around the deficiencies reasonably easy, you don't need to go through the ordeals of switching.
See also When should I use amsrefs instead of regular bibtex? and How popular is amsrefs in comparison with Bibtex?
Example
documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage{filecontents}
begin{filecontents*}{mrnumber.dbx}
DeclareDatamodelFields[type=field,datatype=verbatim]{mrnumber}
DeclareDatamodelEntryfields{mrnumber}
end{filecontents*}
usepackage[backend=biber, style=numeric, datamodel=mrnumber]{biblatex}
usepackage{hyperref}
begin{filecontents*}{jobname.bib}
@article{grabiner,
author = {David J. Grabiner},
title = {Brownian motion in a Weyl chamber, non-colliding particles, and random matrices},
journal = {Annales de l'Institut Henri Poincare (B) Probability and Statistics},
volume = {35},
number = {2},
pages = {177-204},
year = {1999},
doi = {10.1016/S0246-0203(99)80010-7},
mrnumber = {1678525},
}
end{filecontents*}
DeclareFieldFormat{mrnumber}{%
MRaddcolonspace
ifhyperref
{href{http://www.ams.org/mathscinet-getitem?mr=1#1}{nolinkurl{#1}}}
{nolinkurl{#1}}}
renewbibmacro*{doi+eprint+url}{%
iftoggle{bbx:doi}
{printfield{doi}}
{}%
newunitnewblock
printfield{mrnumber}%
newunitnewblock
iftoggle{bbx:eprint}
{usebibmacro{eprint}}
{}%
newunitnewblock
iftoggle{bbx:url}
{usebibmacro{url+urldate}}
{}}
DeclareFieldFormat[book]{title}{mkbibbold{#1}}
addbibresource{jobname.bib}
addbibresource{biblatex-examples.bib}
begin{document}
cite{cicero,grabiner,sigfridsson}
printbibliography
end{document}
edited 21 hours ago
answered May 1 '16 at 14:44
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%2f306908%2fswitching-from-amsrefs-to-biblatex%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
1
Look at it this way:
amsrefs
had a big potential, in my opinion, but it's not developed nor maintained;biblatex
has several styles and is actively developed.– egreg
Apr 28 '16 at 20:16
1
(1) Yes. (2) Yes. (Anything is possible with @egreg's help, but in Biblatex you might not even need it.) (3) Yes. (4) I don't think so. Not if you mean 'can I pass an option to the package like
amsstyle
and get the defaults?' But if you mean 'can I configure it to use those defaults?' then probably.– cfr
Apr 28 '16 at 20:46
1
Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers.
– samcarter
Jul 26 '17 at 15:06