How to add a hyperlink to a section in LyX












0















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?










share|improve this question



























    0















    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?










    share|improve this question

























      0












      0








      0








      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?










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 9 at 13:51









      vesiivesii

      1936




      1936






















          1 Answer
          1






          active

          oldest

          votes


















          0














          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
          enter image description here
          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
          enter image description here






          share|improve this answer
























          • 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













          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
          });


          }
          });














          draft saved

          draft discarded


















          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









          0














          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
          enter image description here
          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
          enter image description here






          share|improve this answer
























          • 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


















          0














          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
          enter image description here
          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
          enter image description here






          share|improve this answer
























          • 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
















          0












          0








          0







          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
          enter image description here
          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
          enter image description here






          share|improve this answer













          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
          enter image description here
          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
          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 9 at 19:25









          KJOKJO

          3,0681120




          3,0681120













          • 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





















          • 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



















          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




















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          How to change which sound is reproduced for terminal bell?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Can I use Tabulator js library in my java Spring + Thymeleaf project?