How do I export a LibreOffice document as a PDF with working, external hyperlinks?











up vote
8
down vote

favorite
2












I'm trying to export a LibreOffice document to PDF and have my hyperlinks open in a browser, but no matter what I do it seems as though they try to open them locally (i.e in my file system). I don't want to send this out to people and have it not take them to the websites I intend it to link to.



The sort of link I have is just http://www.firebox.com and I can ctrl-click them to open in the browser when it's jsut a .doc. Once I've exported them to pdfs clicking on them opens a little window that says 'Transfering' and then it opens up gedit with a blank file and a file named .



Currently I've got




  • LibreOffice 3.5.4.2

  • Okular 0.14.3

  • Ubuntu 12.04 LTS

  • Chrome & Firefox (latest versions, Chrome is default)


Is it my PDF viewer, or the options I'm selecting in LibreOffice?










share|improve this question
























  • Can you give an example of one of the actual links you are embedding, and clarify what you mean by it tries to open it in your local file system? Are these hyperlinks prefixed with a HTTP:// or alike?
    – Ƭᴇcʜιᴇ007
    Nov 4 '12 at 18:49










  • @techie007 updated with an edit
    – Pureferret
    Nov 4 '12 at 19:29






  • 1




    Have same problem. I wish that was answered!
    – David Csonka
    Mar 28 '13 at 21:24















up vote
8
down vote

favorite
2












I'm trying to export a LibreOffice document to PDF and have my hyperlinks open in a browser, but no matter what I do it seems as though they try to open them locally (i.e in my file system). I don't want to send this out to people and have it not take them to the websites I intend it to link to.



The sort of link I have is just http://www.firebox.com and I can ctrl-click them to open in the browser when it's jsut a .doc. Once I've exported them to pdfs clicking on them opens a little window that says 'Transfering' and then it opens up gedit with a blank file and a file named .



Currently I've got




  • LibreOffice 3.5.4.2

  • Okular 0.14.3

  • Ubuntu 12.04 LTS

  • Chrome & Firefox (latest versions, Chrome is default)


Is it my PDF viewer, or the options I'm selecting in LibreOffice?










share|improve this question
























  • Can you give an example of one of the actual links you are embedding, and clarify what you mean by it tries to open it in your local file system? Are these hyperlinks prefixed with a HTTP:// or alike?
    – Ƭᴇcʜιᴇ007
    Nov 4 '12 at 18:49










  • @techie007 updated with an edit
    – Pureferret
    Nov 4 '12 at 19:29






  • 1




    Have same problem. I wish that was answered!
    – David Csonka
    Mar 28 '13 at 21:24













up vote
8
down vote

favorite
2









up vote
8
down vote

favorite
2






2





I'm trying to export a LibreOffice document to PDF and have my hyperlinks open in a browser, but no matter what I do it seems as though they try to open them locally (i.e in my file system). I don't want to send this out to people and have it not take them to the websites I intend it to link to.



The sort of link I have is just http://www.firebox.com and I can ctrl-click them to open in the browser when it's jsut a .doc. Once I've exported them to pdfs clicking on them opens a little window that says 'Transfering' and then it opens up gedit with a blank file and a file named .



Currently I've got




  • LibreOffice 3.5.4.2

  • Okular 0.14.3

  • Ubuntu 12.04 LTS

  • Chrome & Firefox (latest versions, Chrome is default)


Is it my PDF viewer, or the options I'm selecting in LibreOffice?










share|improve this question















I'm trying to export a LibreOffice document to PDF and have my hyperlinks open in a browser, but no matter what I do it seems as though they try to open them locally (i.e in my file system). I don't want to send this out to people and have it not take them to the websites I intend it to link to.



The sort of link I have is just http://www.firebox.com and I can ctrl-click them to open in the browser when it's jsut a .doc. Once I've exported them to pdfs clicking on them opens a little window that says 'Transfering' and then it opens up gedit with a blank file and a file named .



Currently I've got




  • LibreOffice 3.5.4.2

  • Okular 0.14.3

  • Ubuntu 12.04 LTS

  • Chrome & Firefox (latest versions, Chrome is default)


Is it my PDF viewer, or the options I'm selecting in LibreOffice?







pdf hyperlink libreoffice-writer






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 4 '12 at 19:14

























asked Nov 4 '12 at 13:35









Pureferret

93821022




93821022












  • Can you give an example of one of the actual links you are embedding, and clarify what you mean by it tries to open it in your local file system? Are these hyperlinks prefixed with a HTTP:// or alike?
    – Ƭᴇcʜιᴇ007
    Nov 4 '12 at 18:49










  • @techie007 updated with an edit
    – Pureferret
    Nov 4 '12 at 19:29






  • 1




    Have same problem. I wish that was answered!
    – David Csonka
    Mar 28 '13 at 21:24


















  • Can you give an example of one of the actual links you are embedding, and clarify what you mean by it tries to open it in your local file system? Are these hyperlinks prefixed with a HTTP:// or alike?
    – Ƭᴇcʜιᴇ007
    Nov 4 '12 at 18:49










  • @techie007 updated with an edit
    – Pureferret
    Nov 4 '12 at 19:29






  • 1




    Have same problem. I wish that was answered!
    – David Csonka
    Mar 28 '13 at 21:24
















Can you give an example of one of the actual links you are embedding, and clarify what you mean by it tries to open it in your local file system? Are these hyperlinks prefixed with a HTTP:// or alike?
– Ƭᴇcʜιᴇ007
Nov 4 '12 at 18:49




Can you give an example of one of the actual links you are embedding, and clarify what you mean by it tries to open it in your local file system? Are these hyperlinks prefixed with a HTTP:// or alike?
– Ƭᴇcʜιᴇ007
Nov 4 '12 at 18:49












@techie007 updated with an edit
– Pureferret
Nov 4 '12 at 19:29




@techie007 updated with an edit
– Pureferret
Nov 4 '12 at 19:29




1




1




Have same problem. I wish that was answered!
– David Csonka
Mar 28 '13 at 21:24




Have same problem. I wish that was answered!
– David Csonka
Mar 28 '13 at 21:24










3 Answers
3






active

oldest

votes

















up vote
5
down vote



accepted










When I choose "Export as PDF" from the File menu I get a window of PDF Options with the "General" tab selected by default. I will assume for the sake of this answer that this is the same for you as well. If you look toward the right-hand end of the tab bar in that PDF Options window (second to last option just to the left of "Security") there should be a tab labeled "Links".



PDF Options Window



It strikes me that some of these options are likely to be helpful. I found the option which I have selected "Open with PDF reader application" useful for linking to other PDF documents on my filesystem, but I suspect the option which you are wanting is the one just below that "Open with Internet browser". When I test this with my own system (Linux Mint Debian Edition with LibreOffice) it works as expected, opening the clicked link in Firefox (my default web browser).



Also useful to be aware of is that if you have the "Selection" tool selected in the Okular toolbar then links are NOT clickable, as the assumption here appears to be that you are intending to select text for copy/paste operations. To ensure that your links are actively clickable be sure that you are in "Browse" mode (just to the left of the "Zoom" button on a standard Okular default toolbar).



I hope this works for you as described. :)






share|improve this answer



















  • 1




    Thank you, for me it was a problem of "Selection" tool selected in the Okular toolbar, not a problem related to pdf export...
    – Michele
    Jan 25 '17 at 10:51


















up vote
0
down vote













LibreOffice has export to pdf ability, and it can preserve URLs. Go to File -> Export as PDF or use pdf export button on the toolbar to do so.






share|improve this answer

















  • 1




    This is what I've done. It doesn't work. 'I'm trying to export a LibreOffice document to PDF and have my hyperlinks open in a browser, but no matter what I do it seems as though they try to open them locally'
    – Pureferret
    Nov 4 '12 at 15:43


















up vote
0
down vote













Same problem here: https://forum.openoffice.org/en/forum/viewtopic.php?p=376045



I had the same problem. I update LibreOffice version, and now the external hyper links are interpreted as local relative links even in Writer, without exporting to PDF.



It happens with an URL that contains a colon. If I remove the colon, it works fine.



http://foo.example.com:80?bar=41118102&xyz=1 is wrongly linked to file://http://foo.example...



http://foo.example.com/?bar=41118102&xyz=1 works fine






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2fsuperuser.com%2fquestions%2f499434%2fhow-do-i-export-a-libreoffice-document-as-a-pdf-with-working-external-hyperlink%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    5
    down vote



    accepted










    When I choose "Export as PDF" from the File menu I get a window of PDF Options with the "General" tab selected by default. I will assume for the sake of this answer that this is the same for you as well. If you look toward the right-hand end of the tab bar in that PDF Options window (second to last option just to the left of "Security") there should be a tab labeled "Links".



    PDF Options Window



    It strikes me that some of these options are likely to be helpful. I found the option which I have selected "Open with PDF reader application" useful for linking to other PDF documents on my filesystem, but I suspect the option which you are wanting is the one just below that "Open with Internet browser". When I test this with my own system (Linux Mint Debian Edition with LibreOffice) it works as expected, opening the clicked link in Firefox (my default web browser).



    Also useful to be aware of is that if you have the "Selection" tool selected in the Okular toolbar then links are NOT clickable, as the assumption here appears to be that you are intending to select text for copy/paste operations. To ensure that your links are actively clickable be sure that you are in "Browse" mode (just to the left of the "Zoom" button on a standard Okular default toolbar).



    I hope this works for you as described. :)






    share|improve this answer



















    • 1




      Thank you, for me it was a problem of "Selection" tool selected in the Okular toolbar, not a problem related to pdf export...
      – Michele
      Jan 25 '17 at 10:51















    up vote
    5
    down vote



    accepted










    When I choose "Export as PDF" from the File menu I get a window of PDF Options with the "General" tab selected by default. I will assume for the sake of this answer that this is the same for you as well. If you look toward the right-hand end of the tab bar in that PDF Options window (second to last option just to the left of "Security") there should be a tab labeled "Links".



    PDF Options Window



    It strikes me that some of these options are likely to be helpful. I found the option which I have selected "Open with PDF reader application" useful for linking to other PDF documents on my filesystem, but I suspect the option which you are wanting is the one just below that "Open with Internet browser". When I test this with my own system (Linux Mint Debian Edition with LibreOffice) it works as expected, opening the clicked link in Firefox (my default web browser).



    Also useful to be aware of is that if you have the "Selection" tool selected in the Okular toolbar then links are NOT clickable, as the assumption here appears to be that you are intending to select text for copy/paste operations. To ensure that your links are actively clickable be sure that you are in "Browse" mode (just to the left of the "Zoom" button on a standard Okular default toolbar).



    I hope this works for you as described. :)






    share|improve this answer



















    • 1




      Thank you, for me it was a problem of "Selection" tool selected in the Okular toolbar, not a problem related to pdf export...
      – Michele
      Jan 25 '17 at 10:51













    up vote
    5
    down vote



    accepted







    up vote
    5
    down vote



    accepted






    When I choose "Export as PDF" from the File menu I get a window of PDF Options with the "General" tab selected by default. I will assume for the sake of this answer that this is the same for you as well. If you look toward the right-hand end of the tab bar in that PDF Options window (second to last option just to the left of "Security") there should be a tab labeled "Links".



    PDF Options Window



    It strikes me that some of these options are likely to be helpful. I found the option which I have selected "Open with PDF reader application" useful for linking to other PDF documents on my filesystem, but I suspect the option which you are wanting is the one just below that "Open with Internet browser". When I test this with my own system (Linux Mint Debian Edition with LibreOffice) it works as expected, opening the clicked link in Firefox (my default web browser).



    Also useful to be aware of is that if you have the "Selection" tool selected in the Okular toolbar then links are NOT clickable, as the assumption here appears to be that you are intending to select text for copy/paste operations. To ensure that your links are actively clickable be sure that you are in "Browse" mode (just to the left of the "Zoom" button on a standard Okular default toolbar).



    I hope this works for you as described. :)






    share|improve this answer














    When I choose "Export as PDF" from the File menu I get a window of PDF Options with the "General" tab selected by default. I will assume for the sake of this answer that this is the same for you as well. If you look toward the right-hand end of the tab bar in that PDF Options window (second to last option just to the left of "Security") there should be a tab labeled "Links".



    PDF Options Window



    It strikes me that some of these options are likely to be helpful. I found the option which I have selected "Open with PDF reader application" useful for linking to other PDF documents on my filesystem, but I suspect the option which you are wanting is the one just below that "Open with Internet browser". When I test this with my own system (Linux Mint Debian Edition with LibreOffice) it works as expected, opening the clicked link in Firefox (my default web browser).



    Also useful to be aware of is that if you have the "Selection" tool selected in the Okular toolbar then links are NOT clickable, as the assumption here appears to be that you are intending to select text for copy/paste operations. To ensure that your links are actively clickable be sure that you are in "Browse" mode (just to the left of the "Zoom" button on a standard Okular default toolbar).



    I hope this works for you as described. :)







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Mar 30 '14 at 12:35

























    answered Mar 30 '14 at 12:27









    Spam Hater

    6615




    6615








    • 1




      Thank you, for me it was a problem of "Selection" tool selected in the Okular toolbar, not a problem related to pdf export...
      – Michele
      Jan 25 '17 at 10:51














    • 1




      Thank you, for me it was a problem of "Selection" tool selected in the Okular toolbar, not a problem related to pdf export...
      – Michele
      Jan 25 '17 at 10:51








    1




    1




    Thank you, for me it was a problem of "Selection" tool selected in the Okular toolbar, not a problem related to pdf export...
    – Michele
    Jan 25 '17 at 10:51




    Thank you, for me it was a problem of "Selection" tool selected in the Okular toolbar, not a problem related to pdf export...
    – Michele
    Jan 25 '17 at 10:51












    up vote
    0
    down vote













    LibreOffice has export to pdf ability, and it can preserve URLs. Go to File -> Export as PDF or use pdf export button on the toolbar to do so.






    share|improve this answer

















    • 1




      This is what I've done. It doesn't work. 'I'm trying to export a LibreOffice document to PDF and have my hyperlinks open in a browser, but no matter what I do it seems as though they try to open them locally'
      – Pureferret
      Nov 4 '12 at 15:43















    up vote
    0
    down vote













    LibreOffice has export to pdf ability, and it can preserve URLs. Go to File -> Export as PDF or use pdf export button on the toolbar to do so.






    share|improve this answer

















    • 1




      This is what I've done. It doesn't work. 'I'm trying to export a LibreOffice document to PDF and have my hyperlinks open in a browser, but no matter what I do it seems as though they try to open them locally'
      – Pureferret
      Nov 4 '12 at 15:43













    up vote
    0
    down vote










    up vote
    0
    down vote









    LibreOffice has export to pdf ability, and it can preserve URLs. Go to File -> Export as PDF or use pdf export button on the toolbar to do so.






    share|improve this answer












    LibreOffice has export to pdf ability, and it can preserve URLs. Go to File -> Export as PDF or use pdf export button on the toolbar to do so.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 4 '12 at 15:24









    Sergey P. aka azure

    1435




    1435








    • 1




      This is what I've done. It doesn't work. 'I'm trying to export a LibreOffice document to PDF and have my hyperlinks open in a browser, but no matter what I do it seems as though they try to open them locally'
      – Pureferret
      Nov 4 '12 at 15:43














    • 1




      This is what I've done. It doesn't work. 'I'm trying to export a LibreOffice document to PDF and have my hyperlinks open in a browser, but no matter what I do it seems as though they try to open them locally'
      – Pureferret
      Nov 4 '12 at 15:43








    1




    1




    This is what I've done. It doesn't work. 'I'm trying to export a LibreOffice document to PDF and have my hyperlinks open in a browser, but no matter what I do it seems as though they try to open them locally'
    – Pureferret
    Nov 4 '12 at 15:43




    This is what I've done. It doesn't work. 'I'm trying to export a LibreOffice document to PDF and have my hyperlinks open in a browser, but no matter what I do it seems as though they try to open them locally'
    – Pureferret
    Nov 4 '12 at 15:43










    up vote
    0
    down vote













    Same problem here: https://forum.openoffice.org/en/forum/viewtopic.php?p=376045



    I had the same problem. I update LibreOffice version, and now the external hyper links are interpreted as local relative links even in Writer, without exporting to PDF.



    It happens with an URL that contains a colon. If I remove the colon, it works fine.



    http://foo.example.com:80?bar=41118102&xyz=1 is wrongly linked to file://http://foo.example...



    http://foo.example.com/?bar=41118102&xyz=1 works fine






    share|improve this answer

























      up vote
      0
      down vote













      Same problem here: https://forum.openoffice.org/en/forum/viewtopic.php?p=376045



      I had the same problem. I update LibreOffice version, and now the external hyper links are interpreted as local relative links even in Writer, without exporting to PDF.



      It happens with an URL that contains a colon. If I remove the colon, it works fine.



      http://foo.example.com:80?bar=41118102&xyz=1 is wrongly linked to file://http://foo.example...



      http://foo.example.com/?bar=41118102&xyz=1 works fine






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        Same problem here: https://forum.openoffice.org/en/forum/viewtopic.php?p=376045



        I had the same problem. I update LibreOffice version, and now the external hyper links are interpreted as local relative links even in Writer, without exporting to PDF.



        It happens with an URL that contains a colon. If I remove the colon, it works fine.



        http://foo.example.com:80?bar=41118102&xyz=1 is wrongly linked to file://http://foo.example...



        http://foo.example.com/?bar=41118102&xyz=1 works fine






        share|improve this answer












        Same problem here: https://forum.openoffice.org/en/forum/viewtopic.php?p=376045



        I had the same problem. I update LibreOffice version, and now the external hyper links are interpreted as local relative links even in Writer, without exporting to PDF.



        It happens with an URL that contains a colon. If I remove the colon, it works fine.



        http://foo.example.com:80?bar=41118102&xyz=1 is wrongly linked to file://http://foo.example...



        http://foo.example.com/?bar=41118102&xyz=1 works fine







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 23 at 9:37









        It Nis

        1




        1






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • 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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f499434%2fhow-do-i-export-a-libreoffice-document-as-a-pdf-with-working-external-hyperlink%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

            Plaza Victoria

            In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

            How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...