I need to put the DOI in the references but Texmaker doesn't recognize or work the "\href" command. I've already installed the "hyperref" package. I don't know what to do. Could someone help me, please? Here is a PrintScreen of a reference as an example.
1 Answer
There are two errors in the file you showed.
- The publisher field is terminated with
]
instead of}
- The inclusion of the URL should not be via
\href{...}{...}
, instead, depending on the precise bibTeX style you are using, you should either do
doi = {10.1021/acsenergylett.7b00137}
or
url = {https://doi.org/10.1021/acsenergylett.7b00137}
]
after ACS Publications ?.blg
file for bibtex log)