How to add a hyperlink to a section in LyX
I'm trying to add a hyperlink from some word to point to a section, in LyX. Consider a section called "ABC" and another section "XYZ" which contains the word "abc" - so I would like to make a link from "abc" to "ABC", meaning if reader will click on "abc" it will take him to the "ABC" section.
Previous threads suggested to click Insert->label
and then Insert->Cross-Reference
but it does do as wanted (it just prints the section number instead without actual link).
How to solve this issue?
lyx
add a comment |
I'm trying to add a hyperlink from some word to point to a section, in LyX. Consider a section called "ABC" and another section "XYZ" which contains the word "abc" - so I would like to make a link from "abc" to "ABC", meaning if reader will click on "abc" it will take him to the "ABC" section.
Previous threads suggested to click Insert->label
and then Insert->Cross-Reference
but it does do as wanted (it just prints the section number instead without actual link).
How to solve this issue?
lyx
add a comment |
I'm trying to add a hyperlink from some word to point to a section, in LyX. Consider a section called "ABC" and another section "XYZ" which contains the word "abc" - so I would like to make a link from "abc" to "ABC", meaning if reader will click on "abc" it will take him to the "ABC" section.
Previous threads suggested to click Insert->label
and then Insert->Cross-Reference
but it does do as wanted (it just prints the section number instead without actual link).
How to solve this issue?
lyx
I'm trying to add a hyperlink from some word to point to a section, in LyX. Consider a section called "ABC" and another section "XYZ" which contains the word "abc" - so I would like to make a link from "abc" to "ABC", meaning if reader will click on "abc" it will take him to the "ABC" section.
Previous threads suggested to click Insert->label
and then Insert->Cross-Reference
but it does do as wanted (it just prints the section number instead without actual link).
How to solve this issue?
lyx
lyx
asked Mar 9 at 13:51
vesiivesii
1936
1936
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You seem to be mixing some general Terminology
In Lyx or word etc whilst editing there are ways to jump backwards and forwards from one cross reference to another those locations may be called bookmarks or labels etc which can be confused with other uses of those terms.
The key is these are internal links for convenience whilst editing.
A second form of link is the HYPER-link which will launch you into space outside the document (or equally could link you back in as if arriving from outside) a typical hyperlink in Lyx is shown as
Hyperlink: https://www.lyx.org/trac/wiki/BugTrackerHome
And both applications use a hybrid form where you can jump to a document followed by an internal address.
This is where most confusion arises since the syntax for an external link may be different than for an internal link.
TeX has a number of packages that assist in adding these features and one package is hyperref that can handle both external and internal references.
You wish to cross reference from internal abc to internal label ABC that's only possible if the two use exactly the same label
So we label the section ABC and it is that cross reference we need to put in section XYZ to allow us to jump both ways forward or back.
This works for cross referencing in the editor but you will see nothing in the PDF the compiler has not been instructed to load Hyperref so going to Document > Settings > PDF Properties check the Use Hyperref Support and then define your preferred options.
Now when we compile we get red links by default
Thank you. withoutDocument > Settings > PDF Properties check the Use Hyperref Support
it won't work?
– vesii
Mar 9 at 22:25
I do not use daily but for me I only got it to work in above test case (not an existing file) when I ticked (enabled) hyperref which pdfLaTeX uses to build the links. Note I did not test fully, only just enough to see the point for me between working and not working
– KJO
Mar 9 at 22:33
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%2f478580%2fhow-to-add-a-hyperlink-to-a-section-in-lyx%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
You seem to be mixing some general Terminology
In Lyx or word etc whilst editing there are ways to jump backwards and forwards from one cross reference to another those locations may be called bookmarks or labels etc which can be confused with other uses of those terms.
The key is these are internal links for convenience whilst editing.
A second form of link is the HYPER-link which will launch you into space outside the document (or equally could link you back in as if arriving from outside) a typical hyperlink in Lyx is shown as
Hyperlink: https://www.lyx.org/trac/wiki/BugTrackerHome
And both applications use a hybrid form where you can jump to a document followed by an internal address.
This is where most confusion arises since the syntax for an external link may be different than for an internal link.
TeX has a number of packages that assist in adding these features and one package is hyperref that can handle both external and internal references.
You wish to cross reference from internal abc to internal label ABC that's only possible if the two use exactly the same label
So we label the section ABC and it is that cross reference we need to put in section XYZ to allow us to jump both ways forward or back.
This works for cross referencing in the editor but you will see nothing in the PDF the compiler has not been instructed to load Hyperref so going to Document > Settings > PDF Properties check the Use Hyperref Support and then define your preferred options.
Now when we compile we get red links by default
Thank you. withoutDocument > Settings > PDF Properties check the Use Hyperref Support
it won't work?
– vesii
Mar 9 at 22:25
I do not use daily but for me I only got it to work in above test case (not an existing file) when I ticked (enabled) hyperref which pdfLaTeX uses to build the links. Note I did not test fully, only just enough to see the point for me between working and not working
– KJO
Mar 9 at 22:33
add a comment |
You seem to be mixing some general Terminology
In Lyx or word etc whilst editing there are ways to jump backwards and forwards from one cross reference to another those locations may be called bookmarks or labels etc which can be confused with other uses of those terms.
The key is these are internal links for convenience whilst editing.
A second form of link is the HYPER-link which will launch you into space outside the document (or equally could link you back in as if arriving from outside) a typical hyperlink in Lyx is shown as
Hyperlink: https://www.lyx.org/trac/wiki/BugTrackerHome
And both applications use a hybrid form where you can jump to a document followed by an internal address.
This is where most confusion arises since the syntax for an external link may be different than for an internal link.
TeX has a number of packages that assist in adding these features and one package is hyperref that can handle both external and internal references.
You wish to cross reference from internal abc to internal label ABC that's only possible if the two use exactly the same label
So we label the section ABC and it is that cross reference we need to put in section XYZ to allow us to jump both ways forward or back.
This works for cross referencing in the editor but you will see nothing in the PDF the compiler has not been instructed to load Hyperref so going to Document > Settings > PDF Properties check the Use Hyperref Support and then define your preferred options.
Now when we compile we get red links by default
Thank you. withoutDocument > Settings > PDF Properties check the Use Hyperref Support
it won't work?
– vesii
Mar 9 at 22:25
I do not use daily but for me I only got it to work in above test case (not an existing file) when I ticked (enabled) hyperref which pdfLaTeX uses to build the links. Note I did not test fully, only just enough to see the point for me between working and not working
– KJO
Mar 9 at 22:33
add a comment |
You seem to be mixing some general Terminology
In Lyx or word etc whilst editing there are ways to jump backwards and forwards from one cross reference to another those locations may be called bookmarks or labels etc which can be confused with other uses of those terms.
The key is these are internal links for convenience whilst editing.
A second form of link is the HYPER-link which will launch you into space outside the document (or equally could link you back in as if arriving from outside) a typical hyperlink in Lyx is shown as
Hyperlink: https://www.lyx.org/trac/wiki/BugTrackerHome
And both applications use a hybrid form where you can jump to a document followed by an internal address.
This is where most confusion arises since the syntax for an external link may be different than for an internal link.
TeX has a number of packages that assist in adding these features and one package is hyperref that can handle both external and internal references.
You wish to cross reference from internal abc to internal label ABC that's only possible if the two use exactly the same label
So we label the section ABC and it is that cross reference we need to put in section XYZ to allow us to jump both ways forward or back.
This works for cross referencing in the editor but you will see nothing in the PDF the compiler has not been instructed to load Hyperref so going to Document > Settings > PDF Properties check the Use Hyperref Support and then define your preferred options.
Now when we compile we get red links by default
You seem to be mixing some general Terminology
In Lyx or word etc whilst editing there are ways to jump backwards and forwards from one cross reference to another those locations may be called bookmarks or labels etc which can be confused with other uses of those terms.
The key is these are internal links for convenience whilst editing.
A second form of link is the HYPER-link which will launch you into space outside the document (or equally could link you back in as if arriving from outside) a typical hyperlink in Lyx is shown as
Hyperlink: https://www.lyx.org/trac/wiki/BugTrackerHome
And both applications use a hybrid form where you can jump to a document followed by an internal address.
This is where most confusion arises since the syntax for an external link may be different than for an internal link.
TeX has a number of packages that assist in adding these features and one package is hyperref that can handle both external and internal references.
You wish to cross reference from internal abc to internal label ABC that's only possible if the two use exactly the same label
So we label the section ABC and it is that cross reference we need to put in section XYZ to allow us to jump both ways forward or back.
This works for cross referencing in the editor but you will see nothing in the PDF the compiler has not been instructed to load Hyperref so going to Document > Settings > PDF Properties check the Use Hyperref Support and then define your preferred options.
Now when we compile we get red links by default
answered Mar 9 at 19:25
KJOKJO
3,0681120
3,0681120
Thank you. withoutDocument > Settings > PDF Properties check the Use Hyperref Support
it won't work?
– vesii
Mar 9 at 22:25
I do not use daily but for me I only got it to work in above test case (not an existing file) when I ticked (enabled) hyperref which pdfLaTeX uses to build the links. Note I did not test fully, only just enough to see the point for me between working and not working
– KJO
Mar 9 at 22:33
add a comment |
Thank you. withoutDocument > Settings > PDF Properties check the Use Hyperref Support
it won't work?
– vesii
Mar 9 at 22:25
I do not use daily but for me I only got it to work in above test case (not an existing file) when I ticked (enabled) hyperref which pdfLaTeX uses to build the links. Note I did not test fully, only just enough to see the point for me between working and not working
– KJO
Mar 9 at 22:33
Thank you. without
Document > Settings > PDF Properties check the Use Hyperref Support
it won't work?– vesii
Mar 9 at 22:25
Thank you. without
Document > Settings > PDF Properties check the Use Hyperref Support
it won't work?– vesii
Mar 9 at 22:25
I do not use daily but for me I only got it to work in above test case (not an existing file) when I ticked (enabled) hyperref which pdfLaTeX uses to build the links. Note I did not test fully, only just enough to see the point for me between working and not working
– KJO
Mar 9 at 22:33
I do not use daily but for me I only got it to work in above test case (not an existing file) when I ticked (enabled) hyperref which pdfLaTeX uses to build the links. Note I did not test fully, only just enough to see the point for me between working and not working
– KJO
Mar 9 at 22:33
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%2f478580%2fhow-to-add-a-hyperlink-to-a-section-in-lyx%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