How can I attach files in articles?
up vote
1
down vote
favorite
I'm having issues attaching files in an article. It returns 2 errors: one related with color and the other with hyperref:
! LaTeX Error: Option clash for package
color.! LaTeX Error: Option clash for package
hyperref.
Here is my MWE:
documentclass[11pt,spanish]{article}
usepackage[utf8]{inputenc}
usepackage[unicode]{attachfile}
usepackage[usenames,dvipsnames]{color}
usepackage[bookmarks=true,
bookmarksnumbered=false, % true means bookmarks in
% left window are numbered
bookmarksopen=false, % true means only level 1
% are displayed.
colorlinks=true,
linkcolor=rojo_javi,
urlcolor=azul_alberto]{hyperref}
definecolor{webgreen}{rgb}{0, 0.5, 0} % less intense green
definecolor{webblue}{rgb}{0, 0, 0.5} % less intense blue
definecolor{webred}{rgb}{0.5, 0, 0} % less intense red
definecolor{dblackcolor}{rgb}{0.0,0.0,0.0}
definecolor{dbluecolor}{rgb}{.01,.02,0.7}
definecolor{dredcolor}{rgb}{0.8,0,0}
definecolor{dgraycolor}{rgb}{0.30,0.3,0.30}
definecolor{azul_alberto}{rgb}{.01,.02,0.9}
definecolor{rojo_javi}{rgb}{0.5, 0, 0}
begin{document}
section{Education}
attachfile[icon=PushPin]{files/z_LM7805_datasheet.pdf}
end{document}
What can I do??
hyperref color attachfile
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
up vote
1
down vote
favorite
I'm having issues attaching files in an article. It returns 2 errors: one related with color and the other with hyperref:
! LaTeX Error: Option clash for package
color.! LaTeX Error: Option clash for package
hyperref.
Here is my MWE:
documentclass[11pt,spanish]{article}
usepackage[utf8]{inputenc}
usepackage[unicode]{attachfile}
usepackage[usenames,dvipsnames]{color}
usepackage[bookmarks=true,
bookmarksnumbered=false, % true means bookmarks in
% left window are numbered
bookmarksopen=false, % true means only level 1
% are displayed.
colorlinks=true,
linkcolor=rojo_javi,
urlcolor=azul_alberto]{hyperref}
definecolor{webgreen}{rgb}{0, 0.5, 0} % less intense green
definecolor{webblue}{rgb}{0, 0, 0.5} % less intense blue
definecolor{webred}{rgb}{0.5, 0, 0} % less intense red
definecolor{dblackcolor}{rgb}{0.0,0.0,0.0}
definecolor{dbluecolor}{rgb}{.01,.02,0.7}
definecolor{dredcolor}{rgb}{0.8,0,0}
definecolor{dgraycolor}{rgb}{0.30,0.3,0.30}
definecolor{azul_alberto}{rgb}{.01,.02,0.9}
definecolor{rojo_javi}{rgb}{0.5, 0, 0}
begin{document}
section{Education}
attachfile[icon=PushPin]{files/z_LM7805_datasheet.pdf}
end{document}
What can I do??
hyperref color attachfile
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm having issues attaching files in an article. It returns 2 errors: one related with color and the other with hyperref:
! LaTeX Error: Option clash for package
color.! LaTeX Error: Option clash for package
hyperref.
Here is my MWE:
documentclass[11pt,spanish]{article}
usepackage[utf8]{inputenc}
usepackage[unicode]{attachfile}
usepackage[usenames,dvipsnames]{color}
usepackage[bookmarks=true,
bookmarksnumbered=false, % true means bookmarks in
% left window are numbered
bookmarksopen=false, % true means only level 1
% are displayed.
colorlinks=true,
linkcolor=rojo_javi,
urlcolor=azul_alberto]{hyperref}
definecolor{webgreen}{rgb}{0, 0.5, 0} % less intense green
definecolor{webblue}{rgb}{0, 0, 0.5} % less intense blue
definecolor{webred}{rgb}{0.5, 0, 0} % less intense red
definecolor{dblackcolor}{rgb}{0.0,0.0,0.0}
definecolor{dbluecolor}{rgb}{.01,.02,0.7}
definecolor{dredcolor}{rgb}{0.8,0,0}
definecolor{dgraycolor}{rgb}{0.30,0.3,0.30}
definecolor{azul_alberto}{rgb}{.01,.02,0.9}
definecolor{rojo_javi}{rgb}{0.5, 0, 0}
begin{document}
section{Education}
attachfile[icon=PushPin]{files/z_LM7805_datasheet.pdf}
end{document}
What can I do??
hyperref color attachfile
I'm having issues attaching files in an article. It returns 2 errors: one related with color and the other with hyperref:
! LaTeX Error: Option clash for package
color.! LaTeX Error: Option clash for package
hyperref.
Here is my MWE:
documentclass[11pt,spanish]{article}
usepackage[utf8]{inputenc}
usepackage[unicode]{attachfile}
usepackage[usenames,dvipsnames]{color}
usepackage[bookmarks=true,
bookmarksnumbered=false, % true means bookmarks in
% left window are numbered
bookmarksopen=false, % true means only level 1
% are displayed.
colorlinks=true,
linkcolor=rojo_javi,
urlcolor=azul_alberto]{hyperref}
definecolor{webgreen}{rgb}{0, 0.5, 0} % less intense green
definecolor{webblue}{rgb}{0, 0, 0.5} % less intense blue
definecolor{webred}{rgb}{0.5, 0, 0} % less intense red
definecolor{dblackcolor}{rgb}{0.0,0.0,0.0}
definecolor{dbluecolor}{rgb}{.01,.02,0.7}
definecolor{dredcolor}{rgb}{0.8,0,0}
definecolor{dgraycolor}{rgb}{0.30,0.3,0.30}
definecolor{azul_alberto}{rgb}{.01,.02,0.9}
definecolor{rojo_javi}{rgb}{0.5, 0, 0}
begin{document}
section{Education}
attachfile[icon=PushPin]{files/z_LM7805_datasheet.pdf}
end{document}
What can I do??
hyperref color attachfile
hyperref color attachfile
edited Oct 29 at 22:04
Werner
432k609511632
432k609511632
asked Oct 29 at 21:28
Sergio
273
273
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
Load hyperref and change the setting using hypersetup:

documentclass{article}
usepackage{attachfile2}
usepackage[usenames,dvipsnames]{xcolor}
definecolor{azul_alberto}{rgb}{.01,.02,0.9}
definecolor{rojo_javi}{rgb}{0.5, 0, 0}
usepackage{hyperref}
hypersetup{
bookmarksnumbered=false, % true means bookmarks in
% left window are numbered
bookmarksopen=false, % true means only level 1
% are displayed.
colorlinks=true,
linkcolor=rojo_javi,
urlcolor = azul_alberto
}
begin{document}
section{Education}
attachfile[icon=PushPin]{example-image.pdf}
end{document}
Also, use attachfile2.
Is this essentially saying, the answer is the following: ... useattachfile2version and define the colors before they are set in hyperref?
– Jeffrey J Weimer
2 hours ago
@JeffreyJWeimer: Roughly, but you can define the colours afterwards. It's just unconventional to use something before it's defined.
– Werner
1 hour ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Load hyperref and change the setting using hypersetup:

documentclass{article}
usepackage{attachfile2}
usepackage[usenames,dvipsnames]{xcolor}
definecolor{azul_alberto}{rgb}{.01,.02,0.9}
definecolor{rojo_javi}{rgb}{0.5, 0, 0}
usepackage{hyperref}
hypersetup{
bookmarksnumbered=false, % true means bookmarks in
% left window are numbered
bookmarksopen=false, % true means only level 1
% are displayed.
colorlinks=true,
linkcolor=rojo_javi,
urlcolor = azul_alberto
}
begin{document}
section{Education}
attachfile[icon=PushPin]{example-image.pdf}
end{document}
Also, use attachfile2.
Is this essentially saying, the answer is the following: ... useattachfile2version and define the colors before they are set in hyperref?
– Jeffrey J Weimer
2 hours ago
@JeffreyJWeimer: Roughly, but you can define the colours afterwards. It's just unconventional to use something before it's defined.
– Werner
1 hour ago
add a comment |
up vote
1
down vote
Load hyperref and change the setting using hypersetup:

documentclass{article}
usepackage{attachfile2}
usepackage[usenames,dvipsnames]{xcolor}
definecolor{azul_alberto}{rgb}{.01,.02,0.9}
definecolor{rojo_javi}{rgb}{0.5, 0, 0}
usepackage{hyperref}
hypersetup{
bookmarksnumbered=false, % true means bookmarks in
% left window are numbered
bookmarksopen=false, % true means only level 1
% are displayed.
colorlinks=true,
linkcolor=rojo_javi,
urlcolor = azul_alberto
}
begin{document}
section{Education}
attachfile[icon=PushPin]{example-image.pdf}
end{document}
Also, use attachfile2.
Is this essentially saying, the answer is the following: ... useattachfile2version and define the colors before they are set in hyperref?
– Jeffrey J Weimer
2 hours ago
@JeffreyJWeimer: Roughly, but you can define the colours afterwards. It's just unconventional to use something before it's defined.
– Werner
1 hour ago
add a comment |
up vote
1
down vote
up vote
1
down vote
Load hyperref and change the setting using hypersetup:

documentclass{article}
usepackage{attachfile2}
usepackage[usenames,dvipsnames]{xcolor}
definecolor{azul_alberto}{rgb}{.01,.02,0.9}
definecolor{rojo_javi}{rgb}{0.5, 0, 0}
usepackage{hyperref}
hypersetup{
bookmarksnumbered=false, % true means bookmarks in
% left window are numbered
bookmarksopen=false, % true means only level 1
% are displayed.
colorlinks=true,
linkcolor=rojo_javi,
urlcolor = azul_alberto
}
begin{document}
section{Education}
attachfile[icon=PushPin]{example-image.pdf}
end{document}
Also, use attachfile2.
Load hyperref and change the setting using hypersetup:

documentclass{article}
usepackage{attachfile2}
usepackage[usenames,dvipsnames]{xcolor}
definecolor{azul_alberto}{rgb}{.01,.02,0.9}
definecolor{rojo_javi}{rgb}{0.5, 0, 0}
usepackage{hyperref}
hypersetup{
bookmarksnumbered=false, % true means bookmarks in
% left window are numbered
bookmarksopen=false, % true means only level 1
% are displayed.
colorlinks=true,
linkcolor=rojo_javi,
urlcolor = azul_alberto
}
begin{document}
section{Education}
attachfile[icon=PushPin]{example-image.pdf}
end{document}
Also, use attachfile2.
answered Oct 29 at 22:08
Werner
432k609511632
432k609511632
Is this essentially saying, the answer is the following: ... useattachfile2version and define the colors before they are set in hyperref?
– Jeffrey J Weimer
2 hours ago
@JeffreyJWeimer: Roughly, but you can define the colours afterwards. It's just unconventional to use something before it's defined.
– Werner
1 hour ago
add a comment |
Is this essentially saying, the answer is the following: ... useattachfile2version and define the colors before they are set in hyperref?
– Jeffrey J Weimer
2 hours ago
@JeffreyJWeimer: Roughly, but you can define the colours afterwards. It's just unconventional to use something before it's defined.
– Werner
1 hour ago
Is this essentially saying, the answer is the following: ... use
attachfile2 version and define the colors before they are set in hyperref?– Jeffrey J Weimer
2 hours ago
Is this essentially saying, the answer is the following: ... use
attachfile2 version and define the colors before they are set in hyperref?– Jeffrey J Weimer
2 hours ago
@JeffreyJWeimer: Roughly, but you can define the colours afterwards. It's just unconventional to use something before it's defined.
– Werner
1 hour ago
@JeffreyJWeimer: Roughly, but you can define the colours afterwards. It's just unconventional to use something before it's defined.
– Werner
1 hour ago
add a comment |
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%2f457414%2fhow-can-i-attach-files-in-articles%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