-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error when Doi field is present #2
Comments
Hi Thank you for reporting a problem. However, I cannot reproduce your problem. Will you tell me what kind of error you face? In addition, will you upload .blg file (BibTeX log file) and .log file (TeX log file)? |
Here, I was finally able to reproduce it again |
Hi I am sorry for the late reply. In action_plan.log you sent to me, the following error occurs: (./action_plan.bbl ? This means that you use \href command which is undefined. In the default setting, econ.bst use \href command for showing DOI field. So you need to load hyperref package in the preample as follows \usepackage{hyperref} In addition, your bib file has one problem. In your bib file, you set DOI field as follows DOI = {https://doi.org/10.1016/j.annepidem.2012.07.0} However, econ.bst requires us to use the following format. DOI = {10.1016/j.annepidem.2012.07.0} If you use econ.bst, please use the latter format for DOI field. |
got it. THe DOI field is as it comes out of google scholar
…On Thu, Jan 17, 2019 at 7:48 AM ShiroTakeda ***@***.***> wrote:
Hi
I am sorry for the late reply.
In action_plan.log you sent to me, the following error occurs:
(./action_plan.bbl
./action_plan.bbl:13: Undefined control sequence.
l.13 \href
{http://dx.doi.org/https://doi.org/10.1016/j.annepidem.2012.07.0...
?
This means that you use \href command which is undefined.
In the default setting, econ.bst use \href command for showing DOI field.
So you need to load hyperref package in the preample as follows
\usepackage{hyperref}
In addition, your bib file has one problem. In your bib file, you set DOI
field as follows
DOI = {https://doi.org/10.1016/j.annepidem.2012.07.0}
However, econ.bst requires us to use the following format.
DOI = {10.1016/j.annepidem.2012.07.0}
If you use econ.bst, please use the latter format for DOI field.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhU3YjT7oGOuqL4CRwQgbozyOG1N_srIks5vEBzLgaJpZM4Zlffw>
.
|
… only DOI is displayed if both DOI and URL fields have the values).
Hi Shiro,
when some fields are present your style produces an error, for example, using econ-aer.bst, this entry (downloaded directly from google scholar with bibdesk) gives me an error:
The text was updated successfully, but these errors were encountered: