1
\documentclass[a4paper,fleqn]{cas-sc}

\begin{document}
\begin{thebibliography}{1}
\bibitem{DLC_DR}
Stenner, Karen, Elisha R. Frederiks, Elizabeth V. Hobman, and Stephanie Cook. "Willingness to participate in direct load control: The role of consumer distrust." Applied energy 189 (2017): 76-88.
\bibitem{Price_DR}
Takano, Hirotaka, Asuka Kudo, Hisao Taoka, and Atsumi Ohara. "A basic study on incentive pricing for demand response programs based on social welfare maximization." Journal of International Council on Electrical Engineering 8, no. 1 (2018): 136-144.
\end{thebibliography}
\end{document} 
4
  • Probably related: tex.stackexchange.com/a/488481/134144
    – leandriis
    Commented Jun 8, 2019 at 9:55
  • 1
    Indeed the document compiles when you add \usepackage[numbers]{natbib} to the preamble. But the error should not appear, please report this error to the developers.
    – moewe
    Commented Jun 8, 2019 at 9:57
  • is this not answered by the comment on your previous question tex.stackexchange.com/questions/488234/… Commented Jun 8, 2019 at 10:16
  • Please don't just dump code on readers. It would be really helpful if you stated specifically which errors you encounter, rather than just state the outcome of these errors ("cannot print bibliography") in the title.
    – Mico
    Commented Jun 8, 2019 at 14:11

1 Answer 1

3

You need to load a citation management package with suitable options, e.g.,

\usepackage[numbers]{natbib}

A full MWE:

enter image description here

Note that I would use smart rather than dumb (") quotes around the titles. I would also use en-dashes rather than simple dashes to indicate numeric ranges (see the page ranges below).

\documentclass[a4paper,fleqn]{cas-sc}
\usepackage[numbers]{natbib} % <-- new
\begin{document}

\noindent
\cite{DLC_DR,Price_DR}

\begin{thebibliography}{1}

\bibitem{DLC_DR}
Stenner, Karen, Elisha R. Frederiks, Elizabeth V. Hobman, and 
Stephanie Cook. ``Willingness to participate in direct load control: 
The role of consumer distrust.'' Applied Energy 189 (2017): 76--88.

\bibitem{Price_DR}
Takano, Hirotaka, Asuka Kudo, Hisao Taoka, and Atsumi Ohara. ``A basic 
study on incentive pricing for demand response programs based on social 
welfare maximization.'' Journal of International Council on Electrical 
Engineering 8, no.~1 (2018): 136--144.

\end{thebibliography}
\end{document} 
0

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .