Hyperref package problem
I am compiling my CV. My MWE is:
documentclass[12pt]{article}
usepackage{array, xcolor, bibentry, longtable}
usepackage[margin=3cm]{geometry}
usepackage[english]{babel}
title{bfseriesHuge My name}
author{large{textbf{textit{February 2019}}}}
date{}
definecolor{lightgray}{gray}{0.8}
newcolumntype{L}{>{raggedleft}p{0.14textwidth}}
newcolumntype{R}{p{0.85textwidth}}
newcommandVRule{color{lightgray}vrule width 0.5pt}
begin{filecontents}{my2.bib}
@book{bnm,
title={Title},
author={Author, 1 and Author, 2},
publisher={Cambridge University Press},
address={Cambridge}
}
end{filecontents}
begin{document}
maketitle
vspace{20pt}
section*{Personal Information}
Date of Birth: XXXX\[7pt]
Citizenship: XXXX\[7pt]
begin{minipage}{textwidth}
Address:
begin{tabular}[t]{@{}l@{}}
Mine in my city,\
in my place
end{tabular}
end{minipage}\[7pt]
Phone: +39 123 45678\[7pt]
begin{minipage}{textwidth}
Email:
begin{tabular}[t]{@{}l@{}}medskip smallskip
email1@email.com\
email2@email.com
end{tabular}
end{minipage}\[7pt]
Personal website: www.mysite.com
section*{Education}
begin{longtable}{L!{VRule}R}
2008&{Ph.D. in Economics}\
&Supervisor: My friend \
& Thesis: My title\
& Thesis committee: ABC; DEF\[5pt]
end{longtable}
bibliographystyle{plain}
nobibliography{my2}
section*{Research}
subsection*{it Main publications}
subsection*{it Books}
begin{longtable}{L!{VRule}R}
2014&bibentry{bnm}\
end{longtable}
section*{References}
Upon request.
end{document}
Everything works fine. I would like to make the address of my website and my emails clickable. Hence I load the package hyperref. However when I do so, I got the following error message when compiling:
! LaTeX Error: Lonely item--perhaps a missing list environment.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.3 bibitem{bnm}
Apparently, there is a conflict between the list of references and the additional package. Is there any way I can overcome this? Maybe, another package? Thanks in advance.
hyperref
add a comment |
I am compiling my CV. My MWE is:
documentclass[12pt]{article}
usepackage{array, xcolor, bibentry, longtable}
usepackage[margin=3cm]{geometry}
usepackage[english]{babel}
title{bfseriesHuge My name}
author{large{textbf{textit{February 2019}}}}
date{}
definecolor{lightgray}{gray}{0.8}
newcolumntype{L}{>{raggedleft}p{0.14textwidth}}
newcolumntype{R}{p{0.85textwidth}}
newcommandVRule{color{lightgray}vrule width 0.5pt}
begin{filecontents}{my2.bib}
@book{bnm,
title={Title},
author={Author, 1 and Author, 2},
publisher={Cambridge University Press},
address={Cambridge}
}
end{filecontents}
begin{document}
maketitle
vspace{20pt}
section*{Personal Information}
Date of Birth: XXXX\[7pt]
Citizenship: XXXX\[7pt]
begin{minipage}{textwidth}
Address:
begin{tabular}[t]{@{}l@{}}
Mine in my city,\
in my place
end{tabular}
end{minipage}\[7pt]
Phone: +39 123 45678\[7pt]
begin{minipage}{textwidth}
Email:
begin{tabular}[t]{@{}l@{}}medskip smallskip
email1@email.com\
email2@email.com
end{tabular}
end{minipage}\[7pt]
Personal website: www.mysite.com
section*{Education}
begin{longtable}{L!{VRule}R}
2008&{Ph.D. in Economics}\
&Supervisor: My friend \
& Thesis: My title\
& Thesis committee: ABC; DEF\[5pt]
end{longtable}
bibliographystyle{plain}
nobibliography{my2}
section*{Research}
subsection*{it Main publications}
subsection*{it Books}
begin{longtable}{L!{VRule}R}
2014&bibentry{bnm}\
end{longtable}
section*{References}
Upon request.
end{document}
Everything works fine. I would like to make the address of my website and my emails clickable. Hence I load the package hyperref. However when I do so, I got the following error message when compiling:
! LaTeX Error: Lonely item--perhaps a missing list environment.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.3 bibitem{bnm}
Apparently, there is a conflict between the list of references and the additional package. Is there any way I can overcome this? Maybe, another package? Thanks in advance.
hyperref
add a comment |
I am compiling my CV. My MWE is:
documentclass[12pt]{article}
usepackage{array, xcolor, bibentry, longtable}
usepackage[margin=3cm]{geometry}
usepackage[english]{babel}
title{bfseriesHuge My name}
author{large{textbf{textit{February 2019}}}}
date{}
definecolor{lightgray}{gray}{0.8}
newcolumntype{L}{>{raggedleft}p{0.14textwidth}}
newcolumntype{R}{p{0.85textwidth}}
newcommandVRule{color{lightgray}vrule width 0.5pt}
begin{filecontents}{my2.bib}
@book{bnm,
title={Title},
author={Author, 1 and Author, 2},
publisher={Cambridge University Press},
address={Cambridge}
}
end{filecontents}
begin{document}
maketitle
vspace{20pt}
section*{Personal Information}
Date of Birth: XXXX\[7pt]
Citizenship: XXXX\[7pt]
begin{minipage}{textwidth}
Address:
begin{tabular}[t]{@{}l@{}}
Mine in my city,\
in my place
end{tabular}
end{minipage}\[7pt]
Phone: +39 123 45678\[7pt]
begin{minipage}{textwidth}
Email:
begin{tabular}[t]{@{}l@{}}medskip smallskip
email1@email.com\
email2@email.com
end{tabular}
end{minipage}\[7pt]
Personal website: www.mysite.com
section*{Education}
begin{longtable}{L!{VRule}R}
2008&{Ph.D. in Economics}\
&Supervisor: My friend \
& Thesis: My title\
& Thesis committee: ABC; DEF\[5pt]
end{longtable}
bibliographystyle{plain}
nobibliography{my2}
section*{Research}
subsection*{it Main publications}
subsection*{it Books}
begin{longtable}{L!{VRule}R}
2014&bibentry{bnm}\
end{longtable}
section*{References}
Upon request.
end{document}
Everything works fine. I would like to make the address of my website and my emails clickable. Hence I load the package hyperref. However when I do so, I got the following error message when compiling:
! LaTeX Error: Lonely item--perhaps a missing list environment.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.3 bibitem{bnm}
Apparently, there is a conflict between the list of references and the additional package. Is there any way I can overcome this? Maybe, another package? Thanks in advance.
hyperref
I am compiling my CV. My MWE is:
documentclass[12pt]{article}
usepackage{array, xcolor, bibentry, longtable}
usepackage[margin=3cm]{geometry}
usepackage[english]{babel}
title{bfseriesHuge My name}
author{large{textbf{textit{February 2019}}}}
date{}
definecolor{lightgray}{gray}{0.8}
newcolumntype{L}{>{raggedleft}p{0.14textwidth}}
newcolumntype{R}{p{0.85textwidth}}
newcommandVRule{color{lightgray}vrule width 0.5pt}
begin{filecontents}{my2.bib}
@book{bnm,
title={Title},
author={Author, 1 and Author, 2},
publisher={Cambridge University Press},
address={Cambridge}
}
end{filecontents}
begin{document}
maketitle
vspace{20pt}
section*{Personal Information}
Date of Birth: XXXX\[7pt]
Citizenship: XXXX\[7pt]
begin{minipage}{textwidth}
Address:
begin{tabular}[t]{@{}l@{}}
Mine in my city,\
in my place
end{tabular}
end{minipage}\[7pt]
Phone: +39 123 45678\[7pt]
begin{minipage}{textwidth}
Email:
begin{tabular}[t]{@{}l@{}}medskip smallskip
email1@email.com\
email2@email.com
end{tabular}
end{minipage}\[7pt]
Personal website: www.mysite.com
section*{Education}
begin{longtable}{L!{VRule}R}
2008&{Ph.D. in Economics}\
&Supervisor: My friend \
& Thesis: My title\
& Thesis committee: ABC; DEF\[5pt]
end{longtable}
bibliographystyle{plain}
nobibliography{my2}
section*{Research}
subsection*{it Main publications}
subsection*{it Books}
begin{longtable}{L!{VRule}R}
2014&bibentry{bnm}\
end{longtable}
section*{References}
Upon request.
end{document}
Everything works fine. I would like to make the address of my website and my emails clickable. Hence I load the package hyperref. However when I do so, I got the following error message when compiling:
! LaTeX Error: Lonely item--perhaps a missing list environment.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.3 bibitem{bnm}
Apparently, there is a conflict between the list of references and the additional package. Is there any way I can overcome this? Maybe, another package? Thanks in advance.
hyperref
hyperref
asked 5 hours ago
DarioDario
598313
598313
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
It works for me. Make sure you remove all temp files before compiling again
documentclass[12pt]{article}
usepackage{array, xcolor, bibentry, longtable}
usepackage[margin=3cm]{geometry}
usepackage[english]{babel}
%%
usepackage[
colorlinks,
linkcolor={red!50!black},
citecolor={blue!50!black},
urlcolor={blue!80!black}
]{hyperref}
%%
title{bfseriesHuge My name}
author{large{textbf{textit{February 2019}}}}
date{}
definecolor{lightgray}{gray}{0.8}
newcolumntype{L}{>{raggedleft}p{0.14textwidth}}
newcolumntype{R}{p{0.85textwidth}}
newcommandVRule{color{lightgray}vrule width 0.5pt}
begin{filecontents}{my2.bib}
@book{bnm,
title={Title},
author={Author, 1 and Author, 2},
publisher={Cambridge University Press},
address={Cambridge}
}
end{filecontents}
begin{document}
maketitle
vspace{20pt}
section*{Personal Information}
Date of Birth: XXXX\[7pt]
Citizenship: XXXX\[7pt]
begin{minipage}{textwidth}
Address:
begin{tabular}[t]{@{}l@{}}
Mine in my city,\
in my place
end{tabular}
end{minipage}\[7pt]
Phone: +39 123 45678\[7pt]
begin{minipage}{textwidth}
Email:
begin{tabular}[t]{@{}l@{}}medskip smallskip
href{mailto:email1@email.com}{email1@email.com}\
href{mailto:email2@email.com}{email2@email.com}
end{tabular}
end{minipage}\[7pt]
Personal website: href{www.mysite.com}{www.mysite.com}
section*{Education}
begin{longtable}{L!{VRule}R}
2008&{Ph.D. in Economics}\
&Supervisor: My friend \
& Thesis: My title\
& Thesis committee: ABC; DEF\[5pt]
end{longtable}
bibliographystyle{plain}
nobibliography{my2}
section*{Research}
subsection*{it Main publications}
subsection*{it Books}
begin{longtable}{L!{VRule}R}
2014&bibentry{bnm}\
end{longtable}
section*{References}
Upon request.
end{document}
actually I did. I removed every temporary file. I also put the file in another empty folder. Might it be something related to updating the package?
– Dario
4 hours ago
add a comment |
Your Answer
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%2f469268%2fhyperref-package-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It works for me. Make sure you remove all temp files before compiling again
documentclass[12pt]{article}
usepackage{array, xcolor, bibentry, longtable}
usepackage[margin=3cm]{geometry}
usepackage[english]{babel}
%%
usepackage[
colorlinks,
linkcolor={red!50!black},
citecolor={blue!50!black},
urlcolor={blue!80!black}
]{hyperref}
%%
title{bfseriesHuge My name}
author{large{textbf{textit{February 2019}}}}
date{}
definecolor{lightgray}{gray}{0.8}
newcolumntype{L}{>{raggedleft}p{0.14textwidth}}
newcolumntype{R}{p{0.85textwidth}}
newcommandVRule{color{lightgray}vrule width 0.5pt}
begin{filecontents}{my2.bib}
@book{bnm,
title={Title},
author={Author, 1 and Author, 2},
publisher={Cambridge University Press},
address={Cambridge}
}
end{filecontents}
begin{document}
maketitle
vspace{20pt}
section*{Personal Information}
Date of Birth: XXXX\[7pt]
Citizenship: XXXX\[7pt]
begin{minipage}{textwidth}
Address:
begin{tabular}[t]{@{}l@{}}
Mine in my city,\
in my place
end{tabular}
end{minipage}\[7pt]
Phone: +39 123 45678\[7pt]
begin{minipage}{textwidth}
Email:
begin{tabular}[t]{@{}l@{}}medskip smallskip
href{mailto:email1@email.com}{email1@email.com}\
href{mailto:email2@email.com}{email2@email.com}
end{tabular}
end{minipage}\[7pt]
Personal website: href{www.mysite.com}{www.mysite.com}
section*{Education}
begin{longtable}{L!{VRule}R}
2008&{Ph.D. in Economics}\
&Supervisor: My friend \
& Thesis: My title\
& Thesis committee: ABC; DEF\[5pt]
end{longtable}
bibliographystyle{plain}
nobibliography{my2}
section*{Research}
subsection*{it Main publications}
subsection*{it Books}
begin{longtable}{L!{VRule}R}
2014&bibentry{bnm}\
end{longtable}
section*{References}
Upon request.
end{document}
actually I did. I removed every temporary file. I also put the file in another empty folder. Might it be something related to updating the package?
– Dario
4 hours ago
add a comment |
It works for me. Make sure you remove all temp files before compiling again
documentclass[12pt]{article}
usepackage{array, xcolor, bibentry, longtable}
usepackage[margin=3cm]{geometry}
usepackage[english]{babel}
%%
usepackage[
colorlinks,
linkcolor={red!50!black},
citecolor={blue!50!black},
urlcolor={blue!80!black}
]{hyperref}
%%
title{bfseriesHuge My name}
author{large{textbf{textit{February 2019}}}}
date{}
definecolor{lightgray}{gray}{0.8}
newcolumntype{L}{>{raggedleft}p{0.14textwidth}}
newcolumntype{R}{p{0.85textwidth}}
newcommandVRule{color{lightgray}vrule width 0.5pt}
begin{filecontents}{my2.bib}
@book{bnm,
title={Title},
author={Author, 1 and Author, 2},
publisher={Cambridge University Press},
address={Cambridge}
}
end{filecontents}
begin{document}
maketitle
vspace{20pt}
section*{Personal Information}
Date of Birth: XXXX\[7pt]
Citizenship: XXXX\[7pt]
begin{minipage}{textwidth}
Address:
begin{tabular}[t]{@{}l@{}}
Mine in my city,\
in my place
end{tabular}
end{minipage}\[7pt]
Phone: +39 123 45678\[7pt]
begin{minipage}{textwidth}
Email:
begin{tabular}[t]{@{}l@{}}medskip smallskip
href{mailto:email1@email.com}{email1@email.com}\
href{mailto:email2@email.com}{email2@email.com}
end{tabular}
end{minipage}\[7pt]
Personal website: href{www.mysite.com}{www.mysite.com}
section*{Education}
begin{longtable}{L!{VRule}R}
2008&{Ph.D. in Economics}\
&Supervisor: My friend \
& Thesis: My title\
& Thesis committee: ABC; DEF\[5pt]
end{longtable}
bibliographystyle{plain}
nobibliography{my2}
section*{Research}
subsection*{it Main publications}
subsection*{it Books}
begin{longtable}{L!{VRule}R}
2014&bibentry{bnm}\
end{longtable}
section*{References}
Upon request.
end{document}
actually I did. I removed every temporary file. I also put the file in another empty folder. Might it be something related to updating the package?
– Dario
4 hours ago
add a comment |
It works for me. Make sure you remove all temp files before compiling again
documentclass[12pt]{article}
usepackage{array, xcolor, bibentry, longtable}
usepackage[margin=3cm]{geometry}
usepackage[english]{babel}
%%
usepackage[
colorlinks,
linkcolor={red!50!black},
citecolor={blue!50!black},
urlcolor={blue!80!black}
]{hyperref}
%%
title{bfseriesHuge My name}
author{large{textbf{textit{February 2019}}}}
date{}
definecolor{lightgray}{gray}{0.8}
newcolumntype{L}{>{raggedleft}p{0.14textwidth}}
newcolumntype{R}{p{0.85textwidth}}
newcommandVRule{color{lightgray}vrule width 0.5pt}
begin{filecontents}{my2.bib}
@book{bnm,
title={Title},
author={Author, 1 and Author, 2},
publisher={Cambridge University Press},
address={Cambridge}
}
end{filecontents}
begin{document}
maketitle
vspace{20pt}
section*{Personal Information}
Date of Birth: XXXX\[7pt]
Citizenship: XXXX\[7pt]
begin{minipage}{textwidth}
Address:
begin{tabular}[t]{@{}l@{}}
Mine in my city,\
in my place
end{tabular}
end{minipage}\[7pt]
Phone: +39 123 45678\[7pt]
begin{minipage}{textwidth}
Email:
begin{tabular}[t]{@{}l@{}}medskip smallskip
href{mailto:email1@email.com}{email1@email.com}\
href{mailto:email2@email.com}{email2@email.com}
end{tabular}
end{minipage}\[7pt]
Personal website: href{www.mysite.com}{www.mysite.com}
section*{Education}
begin{longtable}{L!{VRule}R}
2008&{Ph.D. in Economics}\
&Supervisor: My friend \
& Thesis: My title\
& Thesis committee: ABC; DEF\[5pt]
end{longtable}
bibliographystyle{plain}
nobibliography{my2}
section*{Research}
subsection*{it Main publications}
subsection*{it Books}
begin{longtable}{L!{VRule}R}
2014&bibentry{bnm}\
end{longtable}
section*{References}
Upon request.
end{document}
It works for me. Make sure you remove all temp files before compiling again
documentclass[12pt]{article}
usepackage{array, xcolor, bibentry, longtable}
usepackage[margin=3cm]{geometry}
usepackage[english]{babel}
%%
usepackage[
colorlinks,
linkcolor={red!50!black},
citecolor={blue!50!black},
urlcolor={blue!80!black}
]{hyperref}
%%
title{bfseriesHuge My name}
author{large{textbf{textit{February 2019}}}}
date{}
definecolor{lightgray}{gray}{0.8}
newcolumntype{L}{>{raggedleft}p{0.14textwidth}}
newcolumntype{R}{p{0.85textwidth}}
newcommandVRule{color{lightgray}vrule width 0.5pt}
begin{filecontents}{my2.bib}
@book{bnm,
title={Title},
author={Author, 1 and Author, 2},
publisher={Cambridge University Press},
address={Cambridge}
}
end{filecontents}
begin{document}
maketitle
vspace{20pt}
section*{Personal Information}
Date of Birth: XXXX\[7pt]
Citizenship: XXXX\[7pt]
begin{minipage}{textwidth}
Address:
begin{tabular}[t]{@{}l@{}}
Mine in my city,\
in my place
end{tabular}
end{minipage}\[7pt]
Phone: +39 123 45678\[7pt]
begin{minipage}{textwidth}
Email:
begin{tabular}[t]{@{}l@{}}medskip smallskip
href{mailto:email1@email.com}{email1@email.com}\
href{mailto:email2@email.com}{email2@email.com}
end{tabular}
end{minipage}\[7pt]
Personal website: href{www.mysite.com}{www.mysite.com}
section*{Education}
begin{longtable}{L!{VRule}R}
2008&{Ph.D. in Economics}\
&Supervisor: My friend \
& Thesis: My title\
& Thesis committee: ABC; DEF\[5pt]
end{longtable}
bibliographystyle{plain}
nobibliography{my2}
section*{Research}
subsection*{it Main publications}
subsection*{it Books}
begin{longtable}{L!{VRule}R}
2014&bibentry{bnm}\
end{longtable}
section*{References}
Upon request.
end{document}
answered 4 hours ago
caveraccaverac
6,0871726
6,0871726
actually I did. I removed every temporary file. I also put the file in another empty folder. Might it be something related to updating the package?
– Dario
4 hours ago
add a comment |
actually I did. I removed every temporary file. I also put the file in another empty folder. Might it be something related to updating the package?
– Dario
4 hours ago
actually I did. I removed every temporary file. I also put the file in another empty folder. Might it be something related to updating the package?
– Dario
4 hours ago
actually I did. I removed every temporary file. I also put the file in another empty folder. Might it be something related to updating the package?
– Dario
4 hours ago
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f469268%2fhyperref-package-problem%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