Mulitple reference citation with usepackage{cite}
up vote
0
down vote
favorite
since i want that multiple citations look like [1-5], instead of [1,2,3,4,5] i did the following thing as suggested here "http://texblog.org/2007/05/28/mulitple-reference-citation/"
I load the package usepackage{cite}, but now i get a lot of error messages:
Paragraph ended before @citex was complete.
for every empty line in the editor (I do this to get a better overview).
Example:
@misc{A01,
author = {Jones, A. and James, C., and Giannini, J.},
year = {2001},
title = {Title of journal article},
}
documentclass[preprint,12pt]{elsarticle}
usepackage{cite}
usepackage{amssymb}
usepackage{lineno}
usepackage{graphicx}
usepackage{amsmath}
usepackage{caption}
usepackage{subcaption}
journal{Energy}
begin{document}
lasjfsjlf
sjflsjdlfj cite{A01}
bibliographystyle{ieeetr}
end{document}
Hope someone can help me; thank you
citing
add a comment |
up vote
0
down vote
favorite
since i want that multiple citations look like [1-5], instead of [1,2,3,4,5] i did the following thing as suggested here "http://texblog.org/2007/05/28/mulitple-reference-citation/"
I load the package usepackage{cite}, but now i get a lot of error messages:
Paragraph ended before @citex was complete.
for every empty line in the editor (I do this to get a better overview).
Example:
@misc{A01,
author = {Jones, A. and James, C., and Giannini, J.},
year = {2001},
title = {Title of journal article},
}
documentclass[preprint,12pt]{elsarticle}
usepackage{cite}
usepackage{amssymb}
usepackage{lineno}
usepackage{graphicx}
usepackage{amsmath}
usepackage{caption}
usepackage{subcaption}
journal{Energy}
begin{document}
lasjfsjlf
sjflsjdlfj cite{A01}
bibliographystyle{ieeetr}
end{document}
Hope someone can help me; thank you
citing
1
Can you please include a minimal working example exhibiting this error?
– Emma
Oct 19 '16 at 16:08
Added an example --> perhaps citep works?
– Math_reald
Oct 19 '16 at 16:57
It seemselsarticleis not compatible with thecitepackage. Fortunately,elsarticleitself provides the functionality you want. In your examplecitepstill works because it is provided byelsarticleand notcite, whereasciteis provided byelsarticleand then incompatibly overwritten bycite.
– Emma
Oct 19 '16 at 18:57
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
since i want that multiple citations look like [1-5], instead of [1,2,3,4,5] i did the following thing as suggested here "http://texblog.org/2007/05/28/mulitple-reference-citation/"
I load the package usepackage{cite}, but now i get a lot of error messages:
Paragraph ended before @citex was complete.
for every empty line in the editor (I do this to get a better overview).
Example:
@misc{A01,
author = {Jones, A. and James, C., and Giannini, J.},
year = {2001},
title = {Title of journal article},
}
documentclass[preprint,12pt]{elsarticle}
usepackage{cite}
usepackage{amssymb}
usepackage{lineno}
usepackage{graphicx}
usepackage{amsmath}
usepackage{caption}
usepackage{subcaption}
journal{Energy}
begin{document}
lasjfsjlf
sjflsjdlfj cite{A01}
bibliographystyle{ieeetr}
end{document}
Hope someone can help me; thank you
citing
since i want that multiple citations look like [1-5], instead of [1,2,3,4,5] i did the following thing as suggested here "http://texblog.org/2007/05/28/mulitple-reference-citation/"
I load the package usepackage{cite}, but now i get a lot of error messages:
Paragraph ended before @citex was complete.
for every empty line in the editor (I do this to get a better overview).
Example:
@misc{A01,
author = {Jones, A. and James, C., and Giannini, J.},
year = {2001},
title = {Title of journal article},
}
documentclass[preprint,12pt]{elsarticle}
usepackage{cite}
usepackage{amssymb}
usepackage{lineno}
usepackage{graphicx}
usepackage{amsmath}
usepackage{caption}
usepackage{subcaption}
journal{Energy}
begin{document}
lasjfsjlf
sjflsjdlfj cite{A01}
bibliographystyle{ieeetr}
end{document}
Hope someone can help me; thank you
citing
citing
edited Oct 19 '16 at 16:56
asked Oct 19 '16 at 15:02
Math_reald
184
184
1
Can you please include a minimal working example exhibiting this error?
– Emma
Oct 19 '16 at 16:08
Added an example --> perhaps citep works?
– Math_reald
Oct 19 '16 at 16:57
It seemselsarticleis not compatible with thecitepackage. Fortunately,elsarticleitself provides the functionality you want. In your examplecitepstill works because it is provided byelsarticleand notcite, whereasciteis provided byelsarticleand then incompatibly overwritten bycite.
– Emma
Oct 19 '16 at 18:57
add a comment |
1
Can you please include a minimal working example exhibiting this error?
– Emma
Oct 19 '16 at 16:08
Added an example --> perhaps citep works?
– Math_reald
Oct 19 '16 at 16:57
It seemselsarticleis not compatible with thecitepackage. Fortunately,elsarticleitself provides the functionality you want. In your examplecitepstill works because it is provided byelsarticleand notcite, whereasciteis provided byelsarticleand then incompatibly overwritten bycite.
– Emma
Oct 19 '16 at 18:57
1
1
Can you please include a minimal working example exhibiting this error?
– Emma
Oct 19 '16 at 16:08
Can you please include a minimal working example exhibiting this error?
– Emma
Oct 19 '16 at 16:08
Added an example --> perhaps citep works?
– Math_reald
Oct 19 '16 at 16:57
Added an example --> perhaps citep works?
– Math_reald
Oct 19 '16 at 16:57
It seems
elsarticle is not compatible with the cite package. Fortunately, elsarticle itself provides the functionality you want. In your example citep still works because it is provided by elsarticle and not cite, whereas cite is provided by elsarticle and then incompatibly overwritten by cite.– Emma
Oct 19 '16 at 18:57
It seems
elsarticle is not compatible with the cite package. Fortunately, elsarticle itself provides the functionality you want. In your example citep still works because it is provided by elsarticle and not cite, whereas cite is provided by elsarticle and then incompatibly overwritten by cite.– Emma
Oct 19 '16 at 18:57
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f334823%2fmulitple-reference-citation-with-usepackagecite%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
Can you please include a minimal working example exhibiting this error?
– Emma
Oct 19 '16 at 16:08
Added an example --> perhaps citep works?
– Math_reald
Oct 19 '16 at 16:57
It seems
elsarticleis not compatible with thecitepackage. Fortunately,elsarticleitself provides the functionality you want. In your examplecitepstill works because it is provided byelsarticleand notcite, whereasciteis provided byelsarticleand then incompatibly overwritten bycite.– Emma
Oct 19 '16 at 18:57