When using bibliographystyle plainnat, how do I suppress automatic lettering of misc elements with the same...
When using the following TeX:
documentclass[12pt]{article}
usepackage{natbib}
usepackage{lipsum}
usepackage{hyperref}
bibliographystyle{plainnat}
begin{filecontents}{test.bib}
@misc{centers2017underlying,
title = {textit{Underlying Cause of Death 1999-2017 on CDC WONDER Online Database, released December, 2018. Data are from the Multiple Cause of Death Files, 1999-2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://wonder.cdc.gov/ucd-icd10.html}},
note = {Accessed: 2019-03-01},
}
@misc{icdcomparabilityratios,
title = {{A Guide to State Implementation of ICD-10 for Mortality; Part II: Applying Comparability Ratios}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://www.cdc.gov/nchs/data/statab/document-for-the-states.pdf}},
note = {Accessed: 2019-03-01},
}
end{filecontents}
begin{document}
lipsum[1]
nocite{*}
bibliography{test}
end{document}
% Create PDF on Linux: FILE=test; pkill -9 -f ${FILE} &>/dev/null; rm -f ${FILE}*aux ${FILE}*bbl ${FILE}*bib ${FILE}*blg ${FILE}*log ${FILE}*out ${FILE}*pdf &>/dev/null; pdflatex -halt-on-error ${FILE}; bibtex ${FILE} && pdflatex ${FILE} && pdflatex ${FILE} && (xdg-open ${FILE}.pdf &)
Automatic lettering is added after each URL because the authors are the same (highlighted in red):

The automatic lettering may be overridden by specifying year, but I have nothing additional to put there.
Changing to bibliographystyle{plain} solves the problem, but I need plainnat.
How do I get rid of this automatic lettering?
Edit: As suggested by one answer, adding year with a command that prints nothing still leaves a dangling comma (also used usepackage[hidelinks]{hyperref} to make it easily visible):

bibtex natbib
add a comment |
When using the following TeX:
documentclass[12pt]{article}
usepackage{natbib}
usepackage{lipsum}
usepackage{hyperref}
bibliographystyle{plainnat}
begin{filecontents}{test.bib}
@misc{centers2017underlying,
title = {textit{Underlying Cause of Death 1999-2017 on CDC WONDER Online Database, released December, 2018. Data are from the Multiple Cause of Death Files, 1999-2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://wonder.cdc.gov/ucd-icd10.html}},
note = {Accessed: 2019-03-01},
}
@misc{icdcomparabilityratios,
title = {{A Guide to State Implementation of ICD-10 for Mortality; Part II: Applying Comparability Ratios}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://www.cdc.gov/nchs/data/statab/document-for-the-states.pdf}},
note = {Accessed: 2019-03-01},
}
end{filecontents}
begin{document}
lipsum[1]
nocite{*}
bibliography{test}
end{document}
% Create PDF on Linux: FILE=test; pkill -9 -f ${FILE} &>/dev/null; rm -f ${FILE}*aux ${FILE}*bbl ${FILE}*bib ${FILE}*blg ${FILE}*log ${FILE}*out ${FILE}*pdf &>/dev/null; pdflatex -halt-on-error ${FILE}; bibtex ${FILE} && pdflatex ${FILE} && pdflatex ${FILE} && (xdg-open ${FILE}.pdf &)
Automatic lettering is added after each URL because the authors are the same (highlighted in red):

The automatic lettering may be overridden by specifying year, but I have nothing additional to put there.
Changing to bibliographystyle{plain} solves the problem, but I need plainnat.
How do I get rid of this automatic lettering?
Edit: As suggested by one answer, adding year with a command that prints nothing still leaves a dangling comma (also used usepackage[hidelinks]{hyperref} to make it easily visible):

bibtex natbib
1
Note that according to its title pageicdcomparabilityratiosactually has a year, namelyyear = {2000},. In this example there is no "a"/"b" any more once you add that year. (Of course the general question remains.) Note that it is in general not best practice to include formatting in the.bibentry: Thetextit{...}spanning the entire title ofcenters2017underlyingis something the style should take care of, not you.plainnatknows theurlfield, so you could sayurl = {http://....},instead ofhowpublished = {url{http://...}},.
– moewe
Mar 22 at 6:22
@moewe Thanks, I do have other cases without years, so as you mention, the general problem remains, but that's a valid point. I need an extra{}to maintain acronym capitalization, but you're right the italics aren't needed. I tried changinghowpublishedtourlbut it prefixes the URL withURLwhich is a bit odd, but I'll consider it. Cheers.
– freeradical
Mar 22 at 6:33
I do not recommend to enclose the entire title in curly braces to maintain the capitalisation of acronyms (or proper names) instead you should protect only those words that need protection:title = {Underlying Cause of Death 1999--2017 on {CDC} {WONDER} Online Database, released {December}, 2018. {Data} are from the Multiple Cause of Death Files, 1999--2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program},(maybe you see some of the program names as proper names and want to protect those as well)
– moewe
Mar 22 at 6:44
Now that I read the title, that gives a strong case to make the year ofcenters2017underlyingreadyear = {2018},
– moewe
Mar 22 at 6:44
@moewe Good points, thanks!
– freeradical
Mar 22 at 6:50
add a comment |
When using the following TeX:
documentclass[12pt]{article}
usepackage{natbib}
usepackage{lipsum}
usepackage{hyperref}
bibliographystyle{plainnat}
begin{filecontents}{test.bib}
@misc{centers2017underlying,
title = {textit{Underlying Cause of Death 1999-2017 on CDC WONDER Online Database, released December, 2018. Data are from the Multiple Cause of Death Files, 1999-2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://wonder.cdc.gov/ucd-icd10.html}},
note = {Accessed: 2019-03-01},
}
@misc{icdcomparabilityratios,
title = {{A Guide to State Implementation of ICD-10 for Mortality; Part II: Applying Comparability Ratios}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://www.cdc.gov/nchs/data/statab/document-for-the-states.pdf}},
note = {Accessed: 2019-03-01},
}
end{filecontents}
begin{document}
lipsum[1]
nocite{*}
bibliography{test}
end{document}
% Create PDF on Linux: FILE=test; pkill -9 -f ${FILE} &>/dev/null; rm -f ${FILE}*aux ${FILE}*bbl ${FILE}*bib ${FILE}*blg ${FILE}*log ${FILE}*out ${FILE}*pdf &>/dev/null; pdflatex -halt-on-error ${FILE}; bibtex ${FILE} && pdflatex ${FILE} && pdflatex ${FILE} && (xdg-open ${FILE}.pdf &)
Automatic lettering is added after each URL because the authors are the same (highlighted in red):

The automatic lettering may be overridden by specifying year, but I have nothing additional to put there.
Changing to bibliographystyle{plain} solves the problem, but I need plainnat.
How do I get rid of this automatic lettering?
Edit: As suggested by one answer, adding year with a command that prints nothing still leaves a dangling comma (also used usepackage[hidelinks]{hyperref} to make it easily visible):

bibtex natbib
When using the following TeX:
documentclass[12pt]{article}
usepackage{natbib}
usepackage{lipsum}
usepackage{hyperref}
bibliographystyle{plainnat}
begin{filecontents}{test.bib}
@misc{centers2017underlying,
title = {textit{Underlying Cause of Death 1999-2017 on CDC WONDER Online Database, released December, 2018. Data are from the Multiple Cause of Death Files, 1999-2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://wonder.cdc.gov/ucd-icd10.html}},
note = {Accessed: 2019-03-01},
}
@misc{icdcomparabilityratios,
title = {{A Guide to State Implementation of ICD-10 for Mortality; Part II: Applying Comparability Ratios}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://www.cdc.gov/nchs/data/statab/document-for-the-states.pdf}},
note = {Accessed: 2019-03-01},
}
end{filecontents}
begin{document}
lipsum[1]
nocite{*}
bibliography{test}
end{document}
% Create PDF on Linux: FILE=test; pkill -9 -f ${FILE} &>/dev/null; rm -f ${FILE}*aux ${FILE}*bbl ${FILE}*bib ${FILE}*blg ${FILE}*log ${FILE}*out ${FILE}*pdf &>/dev/null; pdflatex -halt-on-error ${FILE}; bibtex ${FILE} && pdflatex ${FILE} && pdflatex ${FILE} && (xdg-open ${FILE}.pdf &)
Automatic lettering is added after each URL because the authors are the same (highlighted in red):

The automatic lettering may be overridden by specifying year, but I have nothing additional to put there.
Changing to bibliographystyle{plain} solves the problem, but I need plainnat.
How do I get rid of this automatic lettering?
Edit: As suggested by one answer, adding year with a command that prints nothing still leaves a dangling comma (also used usepackage[hidelinks]{hyperref} to make it easily visible):

bibtex natbib
bibtex natbib
edited Mar 21 at 20:47
freeradical
asked Mar 21 at 20:13
freeradicalfreeradical
756
756
1
Note that according to its title pageicdcomparabilityratiosactually has a year, namelyyear = {2000},. In this example there is no "a"/"b" any more once you add that year. (Of course the general question remains.) Note that it is in general not best practice to include formatting in the.bibentry: Thetextit{...}spanning the entire title ofcenters2017underlyingis something the style should take care of, not you.plainnatknows theurlfield, so you could sayurl = {http://....},instead ofhowpublished = {url{http://...}},.
– moewe
Mar 22 at 6:22
@moewe Thanks, I do have other cases without years, so as you mention, the general problem remains, but that's a valid point. I need an extra{}to maintain acronym capitalization, but you're right the italics aren't needed. I tried changinghowpublishedtourlbut it prefixes the URL withURLwhich is a bit odd, but I'll consider it. Cheers.
– freeradical
Mar 22 at 6:33
I do not recommend to enclose the entire title in curly braces to maintain the capitalisation of acronyms (or proper names) instead you should protect only those words that need protection:title = {Underlying Cause of Death 1999--2017 on {CDC} {WONDER} Online Database, released {December}, 2018. {Data} are from the Multiple Cause of Death Files, 1999--2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program},(maybe you see some of the program names as proper names and want to protect those as well)
– moewe
Mar 22 at 6:44
Now that I read the title, that gives a strong case to make the year ofcenters2017underlyingreadyear = {2018},
– moewe
Mar 22 at 6:44
@moewe Good points, thanks!
– freeradical
Mar 22 at 6:50
add a comment |
1
Note that according to its title pageicdcomparabilityratiosactually has a year, namelyyear = {2000},. In this example there is no "a"/"b" any more once you add that year. (Of course the general question remains.) Note that it is in general not best practice to include formatting in the.bibentry: Thetextit{...}spanning the entire title ofcenters2017underlyingis something the style should take care of, not you.plainnatknows theurlfield, so you could sayurl = {http://....},instead ofhowpublished = {url{http://...}},.
– moewe
Mar 22 at 6:22
@moewe Thanks, I do have other cases without years, so as you mention, the general problem remains, but that's a valid point. I need an extra{}to maintain acronym capitalization, but you're right the italics aren't needed. I tried changinghowpublishedtourlbut it prefixes the URL withURLwhich is a bit odd, but I'll consider it. Cheers.
– freeradical
Mar 22 at 6:33
I do not recommend to enclose the entire title in curly braces to maintain the capitalisation of acronyms (or proper names) instead you should protect only those words that need protection:title = {Underlying Cause of Death 1999--2017 on {CDC} {WONDER} Online Database, released {December}, 2018. {Data} are from the Multiple Cause of Death Files, 1999--2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program},(maybe you see some of the program names as proper names and want to protect those as well)
– moewe
Mar 22 at 6:44
Now that I read the title, that gives a strong case to make the year ofcenters2017underlyingreadyear = {2018},
– moewe
Mar 22 at 6:44
@moewe Good points, thanks!
– freeradical
Mar 22 at 6:50
1
1
Note that according to its title page
icdcomparabilityratios actually has a year, namely year = {2000},. In this example there is no "a"/"b" any more once you add that year. (Of course the general question remains.) Note that it is in general not best practice to include formatting in the .bib entry: The textit{...} spanning the entire title of centers2017underlying is something the style should take care of, not you. plainnat knows the url field, so you could say url = {http://....}, instead of howpublished = {url{http://...}},.– moewe
Mar 22 at 6:22
Note that according to its title page
icdcomparabilityratios actually has a year, namely year = {2000},. In this example there is no "a"/"b" any more once you add that year. (Of course the general question remains.) Note that it is in general not best practice to include formatting in the .bib entry: The textit{...} spanning the entire title of centers2017underlying is something the style should take care of, not you. plainnat knows the url field, so you could say url = {http://....}, instead of howpublished = {url{http://...}},.– moewe
Mar 22 at 6:22
@moewe Thanks, I do have other cases without years, so as you mention, the general problem remains, but that's a valid point. I need an extra
{} to maintain acronym capitalization, but you're right the italics aren't needed. I tried changing howpublished to url but it prefixes the URL with URL which is a bit odd, but I'll consider it. Cheers.– freeradical
Mar 22 at 6:33
@moewe Thanks, I do have other cases without years, so as you mention, the general problem remains, but that's a valid point. I need an extra
{} to maintain acronym capitalization, but you're right the italics aren't needed. I tried changing howpublished to url but it prefixes the URL with URL which is a bit odd, but I'll consider it. Cheers.– freeradical
Mar 22 at 6:33
I do not recommend to enclose the entire title in curly braces to maintain the capitalisation of acronyms (or proper names) instead you should protect only those words that need protection:
title = {Underlying Cause of Death 1999--2017 on {CDC} {WONDER} Online Database, released {December}, 2018. {Data} are from the Multiple Cause of Death Files, 1999--2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}, (maybe you see some of the program names as proper names and want to protect those as well)– moewe
Mar 22 at 6:44
I do not recommend to enclose the entire title in curly braces to maintain the capitalisation of acronyms (or proper names) instead you should protect only those words that need protection:
title = {Underlying Cause of Death 1999--2017 on {CDC} {WONDER} Online Database, released {December}, 2018. {Data} are from the Multiple Cause of Death Files, 1999--2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}, (maybe you see some of the program names as proper names and want to protect those as well)– moewe
Mar 22 at 6:44
Now that I read the title, that gives a strong case to make the year of
centers2017underlying read year = {2018},– moewe
Mar 22 at 6:44
Now that I read the title, that gives a strong case to make the year of
centers2017underlying read year = {2018},– moewe
Mar 22 at 6:44
@moewe Good points, thanks!
– freeradical
Mar 22 at 6:50
@moewe Good points, thanks!
– freeradical
Mar 22 at 6:50
add a comment |
2 Answers
2
active
oldest
votes
One workaround is to add some number of nothing commands to the end of each otherwise-duplicated author. For example:
newcommandnothing{}
@misc{centers2017underlying,
title = {textit{Underlying Cause of Death 1999-2017 on CDC WONDER Online Database, released December, 2018. Data are from the Multiple Cause of Death Files, 1999-2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://wonder.cdc.gov/ucd-icd10.html}},
note = {Accessed: 2019-03-01},
}
@misc{icdcomparabilityratios,
title = {textit{A Guide to State Implementation of ICD-10 for Mortality; Part II: Applying Comparability Ratios}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statisticsnothing}},
howpublished = {url{https://www.cdc.gov/nchs/data/statab/document-for-the-states.pdf}},
note = {Accessed: 2019-03-01},
}
1
Could you add an example of this workaround to your answer, to clarify how this can be applied?
– Marijn
Mar 21 at 22:08
Yes, sorry about that; added.
– freeradical
Mar 22 at 0:31
add a comment |
Add something that doesn't show up:
begin{filecontents}{test.bib}
@misc{centers2017underlying,
title = {textit{Underlying Cause of Death 1999-2017 on CDC WONDER Online Database, released December, 2018. Data are from the Multiple Cause of Death Files, 1999-2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://wonder.cdc.gov/ucd-icd10.html}},
note = {Accessed: 2019-03-01noShow{a}},
}
@misc{icdcomparabilityratios,
title = {{A Guide to State Implementation of ICD-10 for Mortality; Part II: Applying Comparability Ratios}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://www.cdc.gov/nchs/data/statab/document-for-the-states.pdf}},
note = {Accessed: 2019-03-01noShow{b}},
}
end{filecontents}
documentclass[12pt]{article}
usepackage{lipsum}
usepackage{hyperref}
usepackage{natbib}
bibliographystyle{plainnat}
providecommand{noShow}[1]{}
begin{document}
lipsum[1]
nocite{*}
bibliography{test}
end{document}
I converted your example from@articleto@misc, removed the year following thenoShowcommand (since I don't have a year to specify), and made the authors the same, and I see the same problem with a dangling comma.
– freeradical
Mar 21 at 20:25
Did you deleted the generated.biband.bblfiles before recompiling?
– Vinccool96
Mar 21 at 20:39
Yes, I removed those files. There is still a dangling comma after the URL. I edited my question to show a screenshot.
– freeradical
Mar 21 at 20:47
Put thenoShowin thenote. Also, thenoShowparameter souldn't be the same in both.
– Vinccool96
Mar 21 at 20:59
Puttingnoshowin thenoteand removingyeardid not work - automatic lettering is still added.
– freeradical
Mar 21 at 21:02
add a comment |
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%2f480765%2fwhen-using-bibliographystyle-plainnat-how-do-i-suppress-automatic-lettering-of%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
One workaround is to add some number of nothing commands to the end of each otherwise-duplicated author. For example:
newcommandnothing{}
@misc{centers2017underlying,
title = {textit{Underlying Cause of Death 1999-2017 on CDC WONDER Online Database, released December, 2018. Data are from the Multiple Cause of Death Files, 1999-2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://wonder.cdc.gov/ucd-icd10.html}},
note = {Accessed: 2019-03-01},
}
@misc{icdcomparabilityratios,
title = {textit{A Guide to State Implementation of ICD-10 for Mortality; Part II: Applying Comparability Ratios}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statisticsnothing}},
howpublished = {url{https://www.cdc.gov/nchs/data/statab/document-for-the-states.pdf}},
note = {Accessed: 2019-03-01},
}
1
Could you add an example of this workaround to your answer, to clarify how this can be applied?
– Marijn
Mar 21 at 22:08
Yes, sorry about that; added.
– freeradical
Mar 22 at 0:31
add a comment |
One workaround is to add some number of nothing commands to the end of each otherwise-duplicated author. For example:
newcommandnothing{}
@misc{centers2017underlying,
title = {textit{Underlying Cause of Death 1999-2017 on CDC WONDER Online Database, released December, 2018. Data are from the Multiple Cause of Death Files, 1999-2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://wonder.cdc.gov/ucd-icd10.html}},
note = {Accessed: 2019-03-01},
}
@misc{icdcomparabilityratios,
title = {textit{A Guide to State Implementation of ICD-10 for Mortality; Part II: Applying Comparability Ratios}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statisticsnothing}},
howpublished = {url{https://www.cdc.gov/nchs/data/statab/document-for-the-states.pdf}},
note = {Accessed: 2019-03-01},
}
1
Could you add an example of this workaround to your answer, to clarify how this can be applied?
– Marijn
Mar 21 at 22:08
Yes, sorry about that; added.
– freeradical
Mar 22 at 0:31
add a comment |
One workaround is to add some number of nothing commands to the end of each otherwise-duplicated author. For example:
newcommandnothing{}
@misc{centers2017underlying,
title = {textit{Underlying Cause of Death 1999-2017 on CDC WONDER Online Database, released December, 2018. Data are from the Multiple Cause of Death Files, 1999-2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://wonder.cdc.gov/ucd-icd10.html}},
note = {Accessed: 2019-03-01},
}
@misc{icdcomparabilityratios,
title = {textit{A Guide to State Implementation of ICD-10 for Mortality; Part II: Applying Comparability Ratios}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statisticsnothing}},
howpublished = {url{https://www.cdc.gov/nchs/data/statab/document-for-the-states.pdf}},
note = {Accessed: 2019-03-01},
}
One workaround is to add some number of nothing commands to the end of each otherwise-duplicated author. For example:
newcommandnothing{}
@misc{centers2017underlying,
title = {textit{Underlying Cause of Death 1999-2017 on CDC WONDER Online Database, released December, 2018. Data are from the Multiple Cause of Death Files, 1999-2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://wonder.cdc.gov/ucd-icd10.html}},
note = {Accessed: 2019-03-01},
}
@misc{icdcomparabilityratios,
title = {textit{A Guide to State Implementation of ICD-10 for Mortality; Part II: Applying Comparability Ratios}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statisticsnothing}},
howpublished = {url{https://www.cdc.gov/nchs/data/statab/document-for-the-states.pdf}},
note = {Accessed: 2019-03-01},
}
edited Mar 22 at 6:38
answered Mar 21 at 21:35
freeradicalfreeradical
756
756
1
Could you add an example of this workaround to your answer, to clarify how this can be applied?
– Marijn
Mar 21 at 22:08
Yes, sorry about that; added.
– freeradical
Mar 22 at 0:31
add a comment |
1
Could you add an example of this workaround to your answer, to clarify how this can be applied?
– Marijn
Mar 21 at 22:08
Yes, sorry about that; added.
– freeradical
Mar 22 at 0:31
1
1
Could you add an example of this workaround to your answer, to clarify how this can be applied?
– Marijn
Mar 21 at 22:08
Could you add an example of this workaround to your answer, to clarify how this can be applied?
– Marijn
Mar 21 at 22:08
Yes, sorry about that; added.
– freeradical
Mar 22 at 0:31
Yes, sorry about that; added.
– freeradical
Mar 22 at 0:31
add a comment |
Add something that doesn't show up:
begin{filecontents}{test.bib}
@misc{centers2017underlying,
title = {textit{Underlying Cause of Death 1999-2017 on CDC WONDER Online Database, released December, 2018. Data are from the Multiple Cause of Death Files, 1999-2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://wonder.cdc.gov/ucd-icd10.html}},
note = {Accessed: 2019-03-01noShow{a}},
}
@misc{icdcomparabilityratios,
title = {{A Guide to State Implementation of ICD-10 for Mortality; Part II: Applying Comparability Ratios}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://www.cdc.gov/nchs/data/statab/document-for-the-states.pdf}},
note = {Accessed: 2019-03-01noShow{b}},
}
end{filecontents}
documentclass[12pt]{article}
usepackage{lipsum}
usepackage{hyperref}
usepackage{natbib}
bibliographystyle{plainnat}
providecommand{noShow}[1]{}
begin{document}
lipsum[1]
nocite{*}
bibliography{test}
end{document}
I converted your example from@articleto@misc, removed the year following thenoShowcommand (since I don't have a year to specify), and made the authors the same, and I see the same problem with a dangling comma.
– freeradical
Mar 21 at 20:25
Did you deleted the generated.biband.bblfiles before recompiling?
– Vinccool96
Mar 21 at 20:39
Yes, I removed those files. There is still a dangling comma after the URL. I edited my question to show a screenshot.
– freeradical
Mar 21 at 20:47
Put thenoShowin thenote. Also, thenoShowparameter souldn't be the same in both.
– Vinccool96
Mar 21 at 20:59
Puttingnoshowin thenoteand removingyeardid not work - automatic lettering is still added.
– freeradical
Mar 21 at 21:02
add a comment |
Add something that doesn't show up:
begin{filecontents}{test.bib}
@misc{centers2017underlying,
title = {textit{Underlying Cause of Death 1999-2017 on CDC WONDER Online Database, released December, 2018. Data are from the Multiple Cause of Death Files, 1999-2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://wonder.cdc.gov/ucd-icd10.html}},
note = {Accessed: 2019-03-01noShow{a}},
}
@misc{icdcomparabilityratios,
title = {{A Guide to State Implementation of ICD-10 for Mortality; Part II: Applying Comparability Ratios}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://www.cdc.gov/nchs/data/statab/document-for-the-states.pdf}},
note = {Accessed: 2019-03-01noShow{b}},
}
end{filecontents}
documentclass[12pt]{article}
usepackage{lipsum}
usepackage{hyperref}
usepackage{natbib}
bibliographystyle{plainnat}
providecommand{noShow}[1]{}
begin{document}
lipsum[1]
nocite{*}
bibliography{test}
end{document}
I converted your example from@articleto@misc, removed the year following thenoShowcommand (since I don't have a year to specify), and made the authors the same, and I see the same problem with a dangling comma.
– freeradical
Mar 21 at 20:25
Did you deleted the generated.biband.bblfiles before recompiling?
– Vinccool96
Mar 21 at 20:39
Yes, I removed those files. There is still a dangling comma after the URL. I edited my question to show a screenshot.
– freeradical
Mar 21 at 20:47
Put thenoShowin thenote. Also, thenoShowparameter souldn't be the same in both.
– Vinccool96
Mar 21 at 20:59
Puttingnoshowin thenoteand removingyeardid not work - automatic lettering is still added.
– freeradical
Mar 21 at 21:02
add a comment |
Add something that doesn't show up:
begin{filecontents}{test.bib}
@misc{centers2017underlying,
title = {textit{Underlying Cause of Death 1999-2017 on CDC WONDER Online Database, released December, 2018. Data are from the Multiple Cause of Death Files, 1999-2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://wonder.cdc.gov/ucd-icd10.html}},
note = {Accessed: 2019-03-01noShow{a}},
}
@misc{icdcomparabilityratios,
title = {{A Guide to State Implementation of ICD-10 for Mortality; Part II: Applying Comparability Ratios}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://www.cdc.gov/nchs/data/statab/document-for-the-states.pdf}},
note = {Accessed: 2019-03-01noShow{b}},
}
end{filecontents}
documentclass[12pt]{article}
usepackage{lipsum}
usepackage{hyperref}
usepackage{natbib}
bibliographystyle{plainnat}
providecommand{noShow}[1]{}
begin{document}
lipsum[1]
nocite{*}
bibliography{test}
end{document}
Add something that doesn't show up:
begin{filecontents}{test.bib}
@misc{centers2017underlying,
title = {textit{Underlying Cause of Death 1999-2017 on CDC WONDER Online Database, released December, 2018. Data are from the Multiple Cause of Death Files, 1999-2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://wonder.cdc.gov/ucd-icd10.html}},
note = {Accessed: 2019-03-01noShow{a}},
}
@misc{icdcomparabilityratios,
title = {{A Guide to State Implementation of ICD-10 for Mortality; Part II: Applying Comparability Ratios}},
author = {{Centers for Disease Control and Prevention and National Center for Health Statistics}},
howpublished = {url{https://www.cdc.gov/nchs/data/statab/document-for-the-states.pdf}},
note = {Accessed: 2019-03-01noShow{b}},
}
end{filecontents}
documentclass[12pt]{article}
usepackage{lipsum}
usepackage{hyperref}
usepackage{natbib}
bibliographystyle{plainnat}
providecommand{noShow}[1]{}
begin{document}
lipsum[1]
nocite{*}
bibliography{test}
end{document}
edited Mar 21 at 20:59
answered Mar 21 at 20:17
Vinccool96Vinccool96
50211
50211
I converted your example from@articleto@misc, removed the year following thenoShowcommand (since I don't have a year to specify), and made the authors the same, and I see the same problem with a dangling comma.
– freeradical
Mar 21 at 20:25
Did you deleted the generated.biband.bblfiles before recompiling?
– Vinccool96
Mar 21 at 20:39
Yes, I removed those files. There is still a dangling comma after the URL. I edited my question to show a screenshot.
– freeradical
Mar 21 at 20:47
Put thenoShowin thenote. Also, thenoShowparameter souldn't be the same in both.
– Vinccool96
Mar 21 at 20:59
Puttingnoshowin thenoteand removingyeardid not work - automatic lettering is still added.
– freeradical
Mar 21 at 21:02
add a comment |
I converted your example from@articleto@misc, removed the year following thenoShowcommand (since I don't have a year to specify), and made the authors the same, and I see the same problem with a dangling comma.
– freeradical
Mar 21 at 20:25
Did you deleted the generated.biband.bblfiles before recompiling?
– Vinccool96
Mar 21 at 20:39
Yes, I removed those files. There is still a dangling comma after the URL. I edited my question to show a screenshot.
– freeradical
Mar 21 at 20:47
Put thenoShowin thenote. Also, thenoShowparameter souldn't be the same in both.
– Vinccool96
Mar 21 at 20:59
Puttingnoshowin thenoteand removingyeardid not work - automatic lettering is still added.
– freeradical
Mar 21 at 21:02
I converted your example from
@article to @misc, removed the year following the noShow command (since I don't have a year to specify), and made the authors the same, and I see the same problem with a dangling comma.– freeradical
Mar 21 at 20:25
I converted your example from
@article to @misc, removed the year following the noShow command (since I don't have a year to specify), and made the authors the same, and I see the same problem with a dangling comma.– freeradical
Mar 21 at 20:25
Did you deleted the generated
.bib and .bbl files before recompiling?– Vinccool96
Mar 21 at 20:39
Did you deleted the generated
.bib and .bbl files before recompiling?– Vinccool96
Mar 21 at 20:39
Yes, I removed those files. There is still a dangling comma after the URL. I edited my question to show a screenshot.
– freeradical
Mar 21 at 20:47
Yes, I removed those files. There is still a dangling comma after the URL. I edited my question to show a screenshot.
– freeradical
Mar 21 at 20:47
Put the
noShow in the note. Also, the noShow parameter souldn't be the same in both.– Vinccool96
Mar 21 at 20:59
Put the
noShow in the note. Also, the noShow parameter souldn't be the same in both.– Vinccool96
Mar 21 at 20:59
Putting
noshow in the note and removing year did not work - automatic lettering is still added.– freeradical
Mar 21 at 21:02
Putting
noshow in the note and removing year did not work - automatic lettering is still added.– freeradical
Mar 21 at 21:02
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%2f480765%2fwhen-using-bibliographystyle-plainnat-how-do-i-suppress-automatic-lettering-of%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
Note that according to its title page
icdcomparabilityratiosactually has a year, namelyyear = {2000},. In this example there is no "a"/"b" any more once you add that year. (Of course the general question remains.) Note that it is in general not best practice to include formatting in the.bibentry: Thetextit{...}spanning the entire title ofcenters2017underlyingis something the style should take care of, not you.plainnatknows theurlfield, so you could sayurl = {http://....},instead ofhowpublished = {url{http://...}},.– moewe
Mar 22 at 6:22
@moewe Thanks, I do have other cases without years, so as you mention, the general problem remains, but that's a valid point. I need an extra
{}to maintain acronym capitalization, but you're right the italics aren't needed. I tried changinghowpublishedtourlbut it prefixes the URL withURLwhich is a bit odd, but I'll consider it. Cheers.– freeradical
Mar 22 at 6:33
I do not recommend to enclose the entire title in curly braces to maintain the capitalisation of acronyms (or proper names) instead you should protect only those words that need protection:
title = {Underlying Cause of Death 1999--2017 on {CDC} {WONDER} Online Database, released {December}, 2018. {Data} are from the Multiple Cause of Death Files, 1999--2017, as compiled from data provided by the 57 vital statistics jurisdictions through the Vital Statistics Cooperative Program},(maybe you see some of the program names as proper names and want to protect those as well)– moewe
Mar 22 at 6:44
Now that I read the title, that gives a strong case to make the year of
centers2017underlyingreadyear = {2018},– moewe
Mar 22 at 6:44
@moewe Good points, thanks!
– freeradical
Mar 22 at 6:50