How can I link to a local file in a LaTeX document typeset with PDFlatex on Mac OS X?












1














When I try to embed a link to a local file in a LaTeX document via href{file://./path-to-file}{filename} it's typeset as a remote link, so http:// is prepended. How can I link to a local file, with a path relative to the location of the PDF produced?










share|improve this question



























    1














    When I try to embed a link to a local file in a LaTeX document via href{file://./path-to-file}{filename} it's typeset as a remote link, so http:// is prepended. How can I link to a local file, with a path relative to the location of the PDF produced?










    share|improve this question

























      1












      1








      1







      When I try to embed a link to a local file in a LaTeX document via href{file://./path-to-file}{filename} it's typeset as a remote link, so http:// is prepended. How can I link to a local file, with a path relative to the location of the PDF produced?










      share|improve this question













      When I try to embed a link to a local file in a LaTeX document via href{file://./path-to-file}{filename} it's typeset as a remote link, so http:// is prepended. How can I link to a local file, with a path relative to the location of the PDF produced?







      latex tex pdflatex






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 19 '11 at 23:40









      aresnick

      176310




      176310






















          5 Answers
          5






          active

          oldest

          votes


















          2














          you should be able to put the URL in the url tag:



          url{file://./path-to-file}


          pdflatex will (I believe) do the right thing, so it appears as a link in the resulting PDF. Whether your computer will know how to open the file is another question.






          share|improve this answer































            1














            In Windows, this format worked for me with a network drive. Note the three backslashes at the front.



            url{file:\zfs\server$\folder\sub_folder\title with spaces_and_underscores.pptx}





            share|improve this answer





























              0














              have you tried the include{}command? Like include{chapters/filename} you can include a .tex file. But don't write the .tex in the command. There is a page in the StackExchange network, which is only about TeX.



              My base TeX project looks like this:



              My projectname.tex



              input{header}
              begin{document}
              hyphenation{} % Words where LaTex-hyphenation fails
              maketitle % Creates a page with the title
              newpage
              % onehalfspacing % This uses the package setspace
              tableofcontents % This creates the table of contents
              include{chapter/acronym} % Acronyms i use
              include{chapter/chapter_1}
              % ...
              include{chapter/chapter_n}

              include{chapter/glossary} % My glossary
              bibliography{bibliography/bibliography} % Literature database
              end{document}


              A chapter_x.tex looks like this:



              section[section short title]{section title}


              And my header.tex looks like this:



              %
              % Document preamble
              %
              documentclass[ %
              12pt, % default font size
              a4paper, % papersize
              twoside, % printout will be two sided
              % txt, %
              ]{article}

              usepackage{ulem} % all words have the underline at the same height uline statt underline

              usepackage[ %
              T1 % T1 font has european sigs
              ]{fontenc}

              usepackage[ %
              utf8 % Depends on the operating system
              ]{inputenc} %

              usepackage[ %
              dvips, %
              usenames % allows to use blue yellow etc for font colors
              ]{color}

              usepackage{hyperref} % allows hyperlings in the table of contents

              usepackage{amsmath} % math stuff
              usepackage{amssymb} % even more math stuff
              usepackage{extpfeil}
              usepackage[ %
              style=long, %
              % toc=true, % Boolean; if true the glossary will be shown in the table of contents
              hypertoc=true, % Hyperlinks in the glossary
              hyper=true, %
              number=none, %
              acronym=true %
              ]{glossary}
              setacronymnamefmt{gloshort}

              usepackage{makeidx}
              % usepackage{xymtexps}
              % usepackage{cite} % Used for citing
              usepackage{bibgerm}
              usepackage[numbers,square]{natbib}
              bibliographystyle{dinat}
              usepackage{textcomp} % Allows to set a ° for example
              usepackage[ %
              german % You may not need this *g*
              ]{babel}

              usepackage{setspace} % allows to easily change the space between lines
              usepackage{pstricks} % Used to create graphs
              usepackage{pst-plot} % Used to create graphs

              renewcommand{acronymname}{Abkürzungsverzeichnis} % Sets the name for acronymepage (I'm from germany)
              makeindex
              makeacronym
              makeglossary


              author{Autor name}
              title{Document title}
              date{copyright today}


              This setup works good for me.



              Sorry for typos in the comments of the files. I just translated my comments from german and I'm too lazy to fix them g






              share|improve this answer























              • @aresnick Try asking at tex.stackexchange.com
                – Auron
                Feb 19 '11 at 23:57










              • Does this let me link to a file so that it could be opened with another program? I'm not looking to embed it--just provide a hyperlink to a file:/// url.
                – aresnick
                Feb 20 '11 at 2:22



















              0














              This worked for me:




              • Put the myfile.png (or whatever extension) to the same folder as the .tex file


              href{run:./myfile.png}{%




              This is the link (Can be also a figure)




              }






              share|improve this answer





























                0














                I for sure that this works:



                The test plan is href{run:test_plan.pdf}{here}.


                Where the file test_plan.pdf is in the same directory as the latex file that refers to it.






                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',
                  autoActivateHeartbeat: false,
                  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%2f247967%2fhow-can-i-link-to-a-local-file-in-a-latex-document-typeset-with-pdflatex-on-mac%23new-answer', 'question_page');
                  }
                  );

                  Post as a guest















                  Required, but never shown

























                  5 Answers
                  5






                  active

                  oldest

                  votes








                  5 Answers
                  5






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  2














                  you should be able to put the URL in the url tag:



                  url{file://./path-to-file}


                  pdflatex will (I believe) do the right thing, so it appears as a link in the resulting PDF. Whether your computer will know how to open the file is another question.






                  share|improve this answer




























                    2














                    you should be able to put the URL in the url tag:



                    url{file://./path-to-file}


                    pdflatex will (I believe) do the right thing, so it appears as a link in the resulting PDF. Whether your computer will know how to open the file is another question.






                    share|improve this answer


























                      2












                      2








                      2






                      you should be able to put the URL in the url tag:



                      url{file://./path-to-file}


                      pdflatex will (I believe) do the right thing, so it appears as a link in the resulting PDF. Whether your computer will know how to open the file is another question.






                      share|improve this answer














                      you should be able to put the URL in the url tag:



                      url{file://./path-to-file}


                      pdflatex will (I believe) do the right thing, so it appears as a link in the resulting PDF. Whether your computer will know how to open the file is another question.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Sep 23 '11 at 16:21









                      slhck

                      159k47441464




                      159k47441464










                      answered Sep 23 '11 at 16:07









                      Tim

                      1364




                      1364

























                          1














                          In Windows, this format worked for me with a network drive. Note the three backslashes at the front.



                          url{file:\zfs\server$\folder\sub_folder\title with spaces_and_underscores.pptx}





                          share|improve this answer


























                            1














                            In Windows, this format worked for me with a network drive. Note the three backslashes at the front.



                            url{file:\zfs\server$\folder\sub_folder\title with spaces_and_underscores.pptx}





                            share|improve this answer
























                              1












                              1








                              1






                              In Windows, this format worked for me with a network drive. Note the three backslashes at the front.



                              url{file:\zfs\server$\folder\sub_folder\title with spaces_and_underscores.pptx}





                              share|improve this answer












                              In Windows, this format worked for me with a network drive. Note the three backslashes at the front.



                              url{file:\zfs\server$\folder\sub_folder\title with spaces_and_underscores.pptx}






                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Aug 31 '15 at 17:26









                              Matt

                              1112




                              1112























                                  0














                                  have you tried the include{}command? Like include{chapters/filename} you can include a .tex file. But don't write the .tex in the command. There is a page in the StackExchange network, which is only about TeX.



                                  My base TeX project looks like this:



                                  My projectname.tex



                                  input{header}
                                  begin{document}
                                  hyphenation{} % Words where LaTex-hyphenation fails
                                  maketitle % Creates a page with the title
                                  newpage
                                  % onehalfspacing % This uses the package setspace
                                  tableofcontents % This creates the table of contents
                                  include{chapter/acronym} % Acronyms i use
                                  include{chapter/chapter_1}
                                  % ...
                                  include{chapter/chapter_n}

                                  include{chapter/glossary} % My glossary
                                  bibliography{bibliography/bibliography} % Literature database
                                  end{document}


                                  A chapter_x.tex looks like this:



                                  section[section short title]{section title}


                                  And my header.tex looks like this:



                                  %
                                  % Document preamble
                                  %
                                  documentclass[ %
                                  12pt, % default font size
                                  a4paper, % papersize
                                  twoside, % printout will be two sided
                                  % txt, %
                                  ]{article}

                                  usepackage{ulem} % all words have the underline at the same height uline statt underline

                                  usepackage[ %
                                  T1 % T1 font has european sigs
                                  ]{fontenc}

                                  usepackage[ %
                                  utf8 % Depends on the operating system
                                  ]{inputenc} %

                                  usepackage[ %
                                  dvips, %
                                  usenames % allows to use blue yellow etc for font colors
                                  ]{color}

                                  usepackage{hyperref} % allows hyperlings in the table of contents

                                  usepackage{amsmath} % math stuff
                                  usepackage{amssymb} % even more math stuff
                                  usepackage{extpfeil}
                                  usepackage[ %
                                  style=long, %
                                  % toc=true, % Boolean; if true the glossary will be shown in the table of contents
                                  hypertoc=true, % Hyperlinks in the glossary
                                  hyper=true, %
                                  number=none, %
                                  acronym=true %
                                  ]{glossary}
                                  setacronymnamefmt{gloshort}

                                  usepackage{makeidx}
                                  % usepackage{xymtexps}
                                  % usepackage{cite} % Used for citing
                                  usepackage{bibgerm}
                                  usepackage[numbers,square]{natbib}
                                  bibliographystyle{dinat}
                                  usepackage{textcomp} % Allows to set a ° for example
                                  usepackage[ %
                                  german % You may not need this *g*
                                  ]{babel}

                                  usepackage{setspace} % allows to easily change the space between lines
                                  usepackage{pstricks} % Used to create graphs
                                  usepackage{pst-plot} % Used to create graphs

                                  renewcommand{acronymname}{Abkürzungsverzeichnis} % Sets the name for acronymepage (I'm from germany)
                                  makeindex
                                  makeacronym
                                  makeglossary


                                  author{Autor name}
                                  title{Document title}
                                  date{copyright today}


                                  This setup works good for me.



                                  Sorry for typos in the comments of the files. I just translated my comments from german and I'm too lazy to fix them g






                                  share|improve this answer























                                  • @aresnick Try asking at tex.stackexchange.com
                                    – Auron
                                    Feb 19 '11 at 23:57










                                  • Does this let me link to a file so that it could be opened with another program? I'm not looking to embed it--just provide a hyperlink to a file:/// url.
                                    – aresnick
                                    Feb 20 '11 at 2:22
















                                  0














                                  have you tried the include{}command? Like include{chapters/filename} you can include a .tex file. But don't write the .tex in the command. There is a page in the StackExchange network, which is only about TeX.



                                  My base TeX project looks like this:



                                  My projectname.tex



                                  input{header}
                                  begin{document}
                                  hyphenation{} % Words where LaTex-hyphenation fails
                                  maketitle % Creates a page with the title
                                  newpage
                                  % onehalfspacing % This uses the package setspace
                                  tableofcontents % This creates the table of contents
                                  include{chapter/acronym} % Acronyms i use
                                  include{chapter/chapter_1}
                                  % ...
                                  include{chapter/chapter_n}

                                  include{chapter/glossary} % My glossary
                                  bibliography{bibliography/bibliography} % Literature database
                                  end{document}


                                  A chapter_x.tex looks like this:



                                  section[section short title]{section title}


                                  And my header.tex looks like this:



                                  %
                                  % Document preamble
                                  %
                                  documentclass[ %
                                  12pt, % default font size
                                  a4paper, % papersize
                                  twoside, % printout will be two sided
                                  % txt, %
                                  ]{article}

                                  usepackage{ulem} % all words have the underline at the same height uline statt underline

                                  usepackage[ %
                                  T1 % T1 font has european sigs
                                  ]{fontenc}

                                  usepackage[ %
                                  utf8 % Depends on the operating system
                                  ]{inputenc} %

                                  usepackage[ %
                                  dvips, %
                                  usenames % allows to use blue yellow etc for font colors
                                  ]{color}

                                  usepackage{hyperref} % allows hyperlings in the table of contents

                                  usepackage{amsmath} % math stuff
                                  usepackage{amssymb} % even more math stuff
                                  usepackage{extpfeil}
                                  usepackage[ %
                                  style=long, %
                                  % toc=true, % Boolean; if true the glossary will be shown in the table of contents
                                  hypertoc=true, % Hyperlinks in the glossary
                                  hyper=true, %
                                  number=none, %
                                  acronym=true %
                                  ]{glossary}
                                  setacronymnamefmt{gloshort}

                                  usepackage{makeidx}
                                  % usepackage{xymtexps}
                                  % usepackage{cite} % Used for citing
                                  usepackage{bibgerm}
                                  usepackage[numbers,square]{natbib}
                                  bibliographystyle{dinat}
                                  usepackage{textcomp} % Allows to set a ° for example
                                  usepackage[ %
                                  german % You may not need this *g*
                                  ]{babel}

                                  usepackage{setspace} % allows to easily change the space between lines
                                  usepackage{pstricks} % Used to create graphs
                                  usepackage{pst-plot} % Used to create graphs

                                  renewcommand{acronymname}{Abkürzungsverzeichnis} % Sets the name for acronymepage (I'm from germany)
                                  makeindex
                                  makeacronym
                                  makeglossary


                                  author{Autor name}
                                  title{Document title}
                                  date{copyright today}


                                  This setup works good for me.



                                  Sorry for typos in the comments of the files. I just translated my comments from german and I'm too lazy to fix them g






                                  share|improve this answer























                                  • @aresnick Try asking at tex.stackexchange.com
                                    – Auron
                                    Feb 19 '11 at 23:57










                                  • Does this let me link to a file so that it could be opened with another program? I'm not looking to embed it--just provide a hyperlink to a file:/// url.
                                    – aresnick
                                    Feb 20 '11 at 2:22














                                  0












                                  0








                                  0






                                  have you tried the include{}command? Like include{chapters/filename} you can include a .tex file. But don't write the .tex in the command. There is a page in the StackExchange network, which is only about TeX.



                                  My base TeX project looks like this:



                                  My projectname.tex



                                  input{header}
                                  begin{document}
                                  hyphenation{} % Words where LaTex-hyphenation fails
                                  maketitle % Creates a page with the title
                                  newpage
                                  % onehalfspacing % This uses the package setspace
                                  tableofcontents % This creates the table of contents
                                  include{chapter/acronym} % Acronyms i use
                                  include{chapter/chapter_1}
                                  % ...
                                  include{chapter/chapter_n}

                                  include{chapter/glossary} % My glossary
                                  bibliography{bibliography/bibliography} % Literature database
                                  end{document}


                                  A chapter_x.tex looks like this:



                                  section[section short title]{section title}


                                  And my header.tex looks like this:



                                  %
                                  % Document preamble
                                  %
                                  documentclass[ %
                                  12pt, % default font size
                                  a4paper, % papersize
                                  twoside, % printout will be two sided
                                  % txt, %
                                  ]{article}

                                  usepackage{ulem} % all words have the underline at the same height uline statt underline

                                  usepackage[ %
                                  T1 % T1 font has european sigs
                                  ]{fontenc}

                                  usepackage[ %
                                  utf8 % Depends on the operating system
                                  ]{inputenc} %

                                  usepackage[ %
                                  dvips, %
                                  usenames % allows to use blue yellow etc for font colors
                                  ]{color}

                                  usepackage{hyperref} % allows hyperlings in the table of contents

                                  usepackage{amsmath} % math stuff
                                  usepackage{amssymb} % even more math stuff
                                  usepackage{extpfeil}
                                  usepackage[ %
                                  style=long, %
                                  % toc=true, % Boolean; if true the glossary will be shown in the table of contents
                                  hypertoc=true, % Hyperlinks in the glossary
                                  hyper=true, %
                                  number=none, %
                                  acronym=true %
                                  ]{glossary}
                                  setacronymnamefmt{gloshort}

                                  usepackage{makeidx}
                                  % usepackage{xymtexps}
                                  % usepackage{cite} % Used for citing
                                  usepackage{bibgerm}
                                  usepackage[numbers,square]{natbib}
                                  bibliographystyle{dinat}
                                  usepackage{textcomp} % Allows to set a ° for example
                                  usepackage[ %
                                  german % You may not need this *g*
                                  ]{babel}

                                  usepackage{setspace} % allows to easily change the space between lines
                                  usepackage{pstricks} % Used to create graphs
                                  usepackage{pst-plot} % Used to create graphs

                                  renewcommand{acronymname}{Abkürzungsverzeichnis} % Sets the name for acronymepage (I'm from germany)
                                  makeindex
                                  makeacronym
                                  makeglossary


                                  author{Autor name}
                                  title{Document title}
                                  date{copyright today}


                                  This setup works good for me.



                                  Sorry for typos in the comments of the files. I just translated my comments from german and I'm too lazy to fix them g






                                  share|improve this answer














                                  have you tried the include{}command? Like include{chapters/filename} you can include a .tex file. But don't write the .tex in the command. There is a page in the StackExchange network, which is only about TeX.



                                  My base TeX project looks like this:



                                  My projectname.tex



                                  input{header}
                                  begin{document}
                                  hyphenation{} % Words where LaTex-hyphenation fails
                                  maketitle % Creates a page with the title
                                  newpage
                                  % onehalfspacing % This uses the package setspace
                                  tableofcontents % This creates the table of contents
                                  include{chapter/acronym} % Acronyms i use
                                  include{chapter/chapter_1}
                                  % ...
                                  include{chapter/chapter_n}

                                  include{chapter/glossary} % My glossary
                                  bibliography{bibliography/bibliography} % Literature database
                                  end{document}


                                  A chapter_x.tex looks like this:



                                  section[section short title]{section title}


                                  And my header.tex looks like this:



                                  %
                                  % Document preamble
                                  %
                                  documentclass[ %
                                  12pt, % default font size
                                  a4paper, % papersize
                                  twoside, % printout will be two sided
                                  % txt, %
                                  ]{article}

                                  usepackage{ulem} % all words have the underline at the same height uline statt underline

                                  usepackage[ %
                                  T1 % T1 font has european sigs
                                  ]{fontenc}

                                  usepackage[ %
                                  utf8 % Depends on the operating system
                                  ]{inputenc} %

                                  usepackage[ %
                                  dvips, %
                                  usenames % allows to use blue yellow etc for font colors
                                  ]{color}

                                  usepackage{hyperref} % allows hyperlings in the table of contents

                                  usepackage{amsmath} % math stuff
                                  usepackage{amssymb} % even more math stuff
                                  usepackage{extpfeil}
                                  usepackage[ %
                                  style=long, %
                                  % toc=true, % Boolean; if true the glossary will be shown in the table of contents
                                  hypertoc=true, % Hyperlinks in the glossary
                                  hyper=true, %
                                  number=none, %
                                  acronym=true %
                                  ]{glossary}
                                  setacronymnamefmt{gloshort}

                                  usepackage{makeidx}
                                  % usepackage{xymtexps}
                                  % usepackage{cite} % Used for citing
                                  usepackage{bibgerm}
                                  usepackage[numbers,square]{natbib}
                                  bibliographystyle{dinat}
                                  usepackage{textcomp} % Allows to set a ° for example
                                  usepackage[ %
                                  german % You may not need this *g*
                                  ]{babel}

                                  usepackage{setspace} % allows to easily change the space between lines
                                  usepackage{pstricks} % Used to create graphs
                                  usepackage{pst-plot} % Used to create graphs

                                  renewcommand{acronymname}{Abkürzungsverzeichnis} % Sets the name for acronymepage (I'm from germany)
                                  makeindex
                                  makeacronym
                                  makeglossary


                                  author{Autor name}
                                  title{Document title}
                                  date{copyright today}


                                  This setup works good for me.



                                  Sorry for typos in the comments of the files. I just translated my comments from german and I'm too lazy to fix them g







                                  share|improve this answer














                                  share|improve this answer



                                  share|improve this answer








                                  edited Feb 20 '11 at 0:08

























                                  answered Feb 19 '11 at 23:52









                                  Darokthar

                                  1,331810




                                  1,331810












                                  • @aresnick Try asking at tex.stackexchange.com
                                    – Auron
                                    Feb 19 '11 at 23:57










                                  • Does this let me link to a file so that it could be opened with another program? I'm not looking to embed it--just provide a hyperlink to a file:/// url.
                                    – aresnick
                                    Feb 20 '11 at 2:22


















                                  • @aresnick Try asking at tex.stackexchange.com
                                    – Auron
                                    Feb 19 '11 at 23:57










                                  • Does this let me link to a file so that it could be opened with another program? I'm not looking to embed it--just provide a hyperlink to a file:/// url.
                                    – aresnick
                                    Feb 20 '11 at 2:22
















                                  @aresnick Try asking at tex.stackexchange.com
                                  – Auron
                                  Feb 19 '11 at 23:57




                                  @aresnick Try asking at tex.stackexchange.com
                                  – Auron
                                  Feb 19 '11 at 23:57












                                  Does this let me link to a file so that it could be opened with another program? I'm not looking to embed it--just provide a hyperlink to a file:/// url.
                                  – aresnick
                                  Feb 20 '11 at 2:22




                                  Does this let me link to a file so that it could be opened with another program? I'm not looking to embed it--just provide a hyperlink to a file:/// url.
                                  – aresnick
                                  Feb 20 '11 at 2:22











                                  0














                                  This worked for me:




                                  • Put the myfile.png (or whatever extension) to the same folder as the .tex file


                                  href{run:./myfile.png}{%




                                  This is the link (Can be also a figure)




                                  }






                                  share|improve this answer


























                                    0














                                    This worked for me:




                                    • Put the myfile.png (or whatever extension) to the same folder as the .tex file


                                    href{run:./myfile.png}{%




                                    This is the link (Can be also a figure)




                                    }






                                    share|improve this answer
























                                      0












                                      0








                                      0






                                      This worked for me:




                                      • Put the myfile.png (or whatever extension) to the same folder as the .tex file


                                      href{run:./myfile.png}{%




                                      This is the link (Can be also a figure)




                                      }






                                      share|improve this answer












                                      This worked for me:




                                      • Put the myfile.png (or whatever extension) to the same folder as the .tex file


                                      href{run:./myfile.png}{%




                                      This is the link (Can be also a figure)




                                      }







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Sep 4 '15 at 11:03









                                      np8

                                      4441611




                                      4441611























                                          0














                                          I for sure that this works:



                                          The test plan is href{run:test_plan.pdf}{here}.


                                          Where the file test_plan.pdf is in the same directory as the latex file that refers to it.






                                          share|improve this answer


























                                            0














                                            I for sure that this works:



                                            The test plan is href{run:test_plan.pdf}{here}.


                                            Where the file test_plan.pdf is in the same directory as the latex file that refers to it.






                                            share|improve this answer
























                                              0












                                              0








                                              0






                                              I for sure that this works:



                                              The test plan is href{run:test_plan.pdf}{here}.


                                              Where the file test_plan.pdf is in the same directory as the latex file that refers to it.






                                              share|improve this answer












                                              I for sure that this works:



                                              The test plan is href{run:test_plan.pdf}{here}.


                                              Where the file test_plan.pdf is in the same directory as the latex file that refers to it.







                                              share|improve this answer












                                              share|improve this answer



                                              share|improve this answer










                                              answered Dec 18 '18 at 7:54









                                              Guillaume Belanger

                                              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%2f247967%2fhow-can-i-link-to-a-local-file-in-a-latex-document-typeset-with-pdflatex-on-mac%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

                                                  Aardman Animations

                                                  Are they similar matrix

                                                  “minimization” problem in Euclidean space related to orthonormal basis