Links in pdf not working?
None of the links I create work in the sense that they're not clickable. The preamble is this.
documentclass[a4paper,12pt,twoside]{article}
usepackage[DIV=14,BCOR=2mm,headinclude=true,footinclude=false]{typearea}
usepackage{amsmath}
usepackage{amsthm}
usepackage{amssymb}
usepackage{braket}
usepackage{graphicx}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{color}
linespread{1.2}
usepackage{hyperref}
hypersetup{
colorlinks,
citecolor=green,
filecolor=black,
linkcolor=blue,
urlcolor=blue
}
hypersetup{linktocpage}
DeclareMathAlphabet{mathpzc}{OT1}{pzc}{m}{it}
newtheorem{mydef}{Definition}
numberwithin{equation}{subsection}
numberwithin{mydef}{subsection}
newtheorem{thm}{Theorem}
numberwithin{thm}{subsection}
title{test}
author{test}
begin{document}
hyperref
|
show 4 more comments
None of the links I create work in the sense that they're not clickable. The preamble is this.
documentclass[a4paper,12pt,twoside]{article}
usepackage[DIV=14,BCOR=2mm,headinclude=true,footinclude=false]{typearea}
usepackage{amsmath}
usepackage{amsthm}
usepackage{amssymb}
usepackage{braket}
usepackage{graphicx}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{color}
linespread{1.2}
usepackage{hyperref}
hypersetup{
colorlinks,
citecolor=green,
filecolor=black,
linkcolor=blue,
urlcolor=blue
}
hypersetup{linktocpage}
DeclareMathAlphabet{mathpzc}{OT1}{pzc}{m}{it}
newtheorem{mydef}{Definition}
numberwithin{equation}{subsection}
numberwithin{mydef}{subsection}
newtheorem{thm}{Theorem}
numberwithin{thm}{subsection}
title{test}
author{test}
begin{document}
hyperref
1
Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting withdocumentclass{...}
and ending withend{document}
.
– user31729
Jan 1 '15 at 12:44
Are you usinglatex
orpdflatex/xelatex/lualatex
?
– user31729
Jan 1 '15 at 12:45
1
Pretty hard to say much since you don't show how you are trying to create links... Did you compile twice?
– cfr
Jan 1 '15 at 12:45
1
@user69751: Please add thatmaketitle...
stuff to your post above
– user31729
Jan 1 '15 at 12:51
1
Is there any particular reason for not usingpdflatex
directly?
– egreg
Jan 1 '15 at 16:02
|
show 4 more comments
None of the links I create work in the sense that they're not clickable. The preamble is this.
documentclass[a4paper,12pt,twoside]{article}
usepackage[DIV=14,BCOR=2mm,headinclude=true,footinclude=false]{typearea}
usepackage{amsmath}
usepackage{amsthm}
usepackage{amssymb}
usepackage{braket}
usepackage{graphicx}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{color}
linespread{1.2}
usepackage{hyperref}
hypersetup{
colorlinks,
citecolor=green,
filecolor=black,
linkcolor=blue,
urlcolor=blue
}
hypersetup{linktocpage}
DeclareMathAlphabet{mathpzc}{OT1}{pzc}{m}{it}
newtheorem{mydef}{Definition}
numberwithin{equation}{subsection}
numberwithin{mydef}{subsection}
newtheorem{thm}{Theorem}
numberwithin{thm}{subsection}
title{test}
author{test}
begin{document}
hyperref
None of the links I create work in the sense that they're not clickable. The preamble is this.
documentclass[a4paper,12pt,twoside]{article}
usepackage[DIV=14,BCOR=2mm,headinclude=true,footinclude=false]{typearea}
usepackage{amsmath}
usepackage{amsthm}
usepackage{amssymb}
usepackage{braket}
usepackage{graphicx}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{color}
linespread{1.2}
usepackage{hyperref}
hypersetup{
colorlinks,
citecolor=green,
filecolor=black,
linkcolor=blue,
urlcolor=blue
}
hypersetup{linktocpage}
DeclareMathAlphabet{mathpzc}{OT1}{pzc}{m}{it}
newtheorem{mydef}{Definition}
numberwithin{equation}{subsection}
numberwithin{mydef}{subsection}
newtheorem{thm}{Theorem}
numberwithin{thm}{subsection}
title{test}
author{test}
begin{document}
hyperref
hyperref
edited Jan 1 '15 at 12:44
cfr
157k8191390
157k8191390
asked Jan 1 '15 at 12:41
user69751user69751
1112
1112
1
Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting withdocumentclass{...}
and ending withend{document}
.
– user31729
Jan 1 '15 at 12:44
Are you usinglatex
orpdflatex/xelatex/lualatex
?
– user31729
Jan 1 '15 at 12:45
1
Pretty hard to say much since you don't show how you are trying to create links... Did you compile twice?
– cfr
Jan 1 '15 at 12:45
1
@user69751: Please add thatmaketitle...
stuff to your post above
– user31729
Jan 1 '15 at 12:51
1
Is there any particular reason for not usingpdflatex
directly?
– egreg
Jan 1 '15 at 16:02
|
show 4 more comments
1
Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting withdocumentclass{...}
and ending withend{document}
.
– user31729
Jan 1 '15 at 12:44
Are you usinglatex
orpdflatex/xelatex/lualatex
?
– user31729
Jan 1 '15 at 12:45
1
Pretty hard to say much since you don't show how you are trying to create links... Did you compile twice?
– cfr
Jan 1 '15 at 12:45
1
@user69751: Please add thatmaketitle...
stuff to your post above
– user31729
Jan 1 '15 at 12:51
1
Is there any particular reason for not usingpdflatex
directly?
– egreg
Jan 1 '15 at 16:02
1
1
Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with
documentclass{...}
and ending with end{document}
.– user31729
Jan 1 '15 at 12:44
Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with
documentclass{...}
and ending with end{document}
.– user31729
Jan 1 '15 at 12:44
Are you using
latex
or pdflatex/xelatex/lualatex
?– user31729
Jan 1 '15 at 12:45
Are you using
latex
or pdflatex/xelatex/lualatex
?– user31729
Jan 1 '15 at 12:45
1
1
Pretty hard to say much since you don't show how you are trying to create links... Did you compile twice?
– cfr
Jan 1 '15 at 12:45
Pretty hard to say much since you don't show how you are trying to create links... Did you compile twice?
– cfr
Jan 1 '15 at 12:45
1
1
@user69751: Please add that
maketitle...
stuff to your post above– user31729
Jan 1 '15 at 12:51
@user69751: Please add that
maketitle...
stuff to your post above– user31729
Jan 1 '15 at 12:51
1
1
Is there any particular reason for not using
pdflatex
directly?– egreg
Jan 1 '15 at 16:02
Is there any particular reason for not using
pdflatex
directly?– egreg
Jan 1 '15 at 16:02
|
show 4 more comments
1 Answer
1
active
oldest
votes
I stripped your MWE down a bit and add one hyperlink to the equation. I compiled it twice with pdflatex
. The result is as expected: hyperlinks work! My test file is:
documentclass[a4paper,12pt,twoside]{article}
% usepackage[DIV=14,BCOR=2mm,headinclude=true,footinclude=false]{typearea}
usepackage{amsmath}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{hyperref}
hypersetup{ colorlinks, citecolor=green, filecolor=black, linkcolor=blue, urlcolor=blue }
begin{document}
begin{equation}label{eq:1}
1+1=2
end{equation}
newpage
Does hyperref work? Of course, see eqref{eq:1}.
end{document}
For hyperlinks to other elements of documents (section titles, theorems, etc) it should be the same. How this works when dvi-ps-pdf
is used, I don't know. I never use it.
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%2f220229%2flinks-in-pdf-not-working%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
I stripped your MWE down a bit and add one hyperlink to the equation. I compiled it twice with pdflatex
. The result is as expected: hyperlinks work! My test file is:
documentclass[a4paper,12pt,twoside]{article}
% usepackage[DIV=14,BCOR=2mm,headinclude=true,footinclude=false]{typearea}
usepackage{amsmath}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{hyperref}
hypersetup{ colorlinks, citecolor=green, filecolor=black, linkcolor=blue, urlcolor=blue }
begin{document}
begin{equation}label{eq:1}
1+1=2
end{equation}
newpage
Does hyperref work? Of course, see eqref{eq:1}.
end{document}
For hyperlinks to other elements of documents (section titles, theorems, etc) it should be the same. How this works when dvi-ps-pdf
is used, I don't know. I never use it.
add a comment |
I stripped your MWE down a bit and add one hyperlink to the equation. I compiled it twice with pdflatex
. The result is as expected: hyperlinks work! My test file is:
documentclass[a4paper,12pt,twoside]{article}
% usepackage[DIV=14,BCOR=2mm,headinclude=true,footinclude=false]{typearea}
usepackage{amsmath}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{hyperref}
hypersetup{ colorlinks, citecolor=green, filecolor=black, linkcolor=blue, urlcolor=blue }
begin{document}
begin{equation}label{eq:1}
1+1=2
end{equation}
newpage
Does hyperref work? Of course, see eqref{eq:1}.
end{document}
For hyperlinks to other elements of documents (section titles, theorems, etc) it should be the same. How this works when dvi-ps-pdf
is used, I don't know. I never use it.
add a comment |
I stripped your MWE down a bit and add one hyperlink to the equation. I compiled it twice with pdflatex
. The result is as expected: hyperlinks work! My test file is:
documentclass[a4paper,12pt,twoside]{article}
% usepackage[DIV=14,BCOR=2mm,headinclude=true,footinclude=false]{typearea}
usepackage{amsmath}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{hyperref}
hypersetup{ colorlinks, citecolor=green, filecolor=black, linkcolor=blue, urlcolor=blue }
begin{document}
begin{equation}label{eq:1}
1+1=2
end{equation}
newpage
Does hyperref work? Of course, see eqref{eq:1}.
end{document}
For hyperlinks to other elements of documents (section titles, theorems, etc) it should be the same. How this works when dvi-ps-pdf
is used, I don't know. I never use it.
I stripped your MWE down a bit and add one hyperlink to the equation. I compiled it twice with pdflatex
. The result is as expected: hyperlinks work! My test file is:
documentclass[a4paper,12pt,twoside]{article}
% usepackage[DIV=14,BCOR=2mm,headinclude=true,footinclude=false]{typearea}
usepackage{amsmath}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{hyperref}
hypersetup{ colorlinks, citecolor=green, filecolor=black, linkcolor=blue, urlcolor=blue }
begin{document}
begin{equation}label{eq:1}
1+1=2
end{equation}
newpage
Does hyperref work? Of course, see eqref{eq:1}.
end{document}
For hyperlinks to other elements of documents (section titles, theorems, etc) it should be the same. How this works when dvi-ps-pdf
is used, I don't know. I never use it.
edited Jan 1 '15 at 15:13
egreg
726k8819213228
726k8819213228
answered Jan 1 '15 at 14:16
ZarkoZarko
127k868167
127k868167
add a comment |
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.
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%2f220229%2flinks-in-pdf-not-working%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
Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with
documentclass{...}
and ending withend{document}
.– user31729
Jan 1 '15 at 12:44
Are you using
latex
orpdflatex/xelatex/lualatex
?– user31729
Jan 1 '15 at 12:45
1
Pretty hard to say much since you don't show how you are trying to create links... Did you compile twice?
– cfr
Jan 1 '15 at 12:45
1
@user69751: Please add that
maketitle...
stuff to your post above– user31729
Jan 1 '15 at 12:51
1
Is there any particular reason for not using
pdflatex
directly?– egreg
Jan 1 '15 at 16:02