From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18183 Path: news.gmane.org!.POSTED!not-for-mail From: Don Mankewich Newsgroups: gmane.text.pandoc Subject: Re: Links to external PDF don't work in PDF output Date: Sun, 17 Sep 2017 21:57:28 -0700 (PDT) Message-ID: <7a3f4828-16d5-42d5-944e-43127280527d@googlegroups.com> References: <3e084be5-8931-4391-ab2c-7361e992c544@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5456_1264582639.1505710648944" X-Trace: blaine.gmane.org 1505710650 32058 195.159.176.226 (18 Sep 2017 04:57:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Sep 2017 04:57:30 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC2MLB5RTYHBBONE7XGQKGQEW65SIAI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 18 06:57:26 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-it0-f60.google.com ([209.85.214.60]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dto7W-00082k-OU for gtp-pandoc-discuss@m.gmane.org; Mon, 18 Sep 2017 06:57:22 +0200 Original-Received: by mail-it0-f60.google.com with SMTP id c195sf7022985itb.4 for ; Sun, 17 Sep 2017 21:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=DMCqMT8f5sB7TtVl/QhXy+uyKu1eNRXTOoqbbZW9EJA=; b=X85PRQ3OWUrrerDqSrkeGYh1y0ZMggETy5VMIPu8hvznkbDue1Kn+/o4IE/U4FuAfo UWiFQNWLnFUe29S4wRo1WzzNHqDgWlLi+hida1Tp2qG+KoquU+PElb0wp7fyfFBd359d cx5hhtfGTnW/xfZZfqqbiCeAb2UsfoQZMeyNtsfTVs7ynKdGr261OqhirqNji3Kv2tDV 1lchitwhnX93WgxmLNJHfT1FiVBVoHuKf5FMltxj7TmMTMg3O8zZbgCXghldly/CWPl2 /yOA7lHavC49AfngXKAvD7anJAS7jE6Fjxxbyu99fojyFMndf09aneIJvyn5g+5O+fq9 OElQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=DMCqMT8f5sB7TtVl/QhXy+uyKu1eNRXTOoqbbZW9EJA=; b=T+ayMcIUmmi1fpZdsNFlJ+nVwqTDZTriLQmQfX9ffv4Mj/IJrtOdthF/oXHOxvUIsS HsgERlAKYS0iNsyIQPQm8LOMPgyh0Ru0YJa0Hofk67MHRGyjsPGmZ1YFGUrTMUpKNPd0 KDIAeEOGKSCz6vQN2bltmhR1AokXcLzDFahY4woPAdQqxF+Jel7UVHkI9tcNgGjRGU0O JOWwyR/HgqNgxYflg/yEoO7lDj1lE4tEsPRaSGtDwNEESO2Lcm0X5WJy2+6mNyruKXoO PR0r/A0AKzePemtbV3nfLGQQ3k3/n1nhRSFFgzOahoYSUDSnY4TnC6e107l93Dv3vR9c DzSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=DMCqMT8f5sB7TtVl/QhXy+uyKu1eNRXTOoqbbZW9EJA=; b=aBmtrvsLwUTLAkcauOlTWjCaWEjAfgGfaaXe+to0viw0ENuN/lLiqGxyG1+RXL0Yp7 01DdrBJXSfybntT8i2JZ35EFm57EL+gFPqUuqrfDhbxfnCaz2XtknwSS09H8LGJZoA80 4qJvuUNktYMvgaJpDkUkZ8oCe/prj6GPWugjqERla98Z1oqcUQN0oCtd7hE++ht3RI2f jfhL4weybSC6s4dF/B+8Upo+Owx3ombqzcw/lmojk1wlY/ISkvI7s2Qx7cYwv0CocYMe RAhXFK+nLg62xorLGiSb2jT+IvXS6etRV5YLWtLe7iGKsYjmDyGGTukTXumZR0w/QuMI IQbg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHPjjUi8L+biNxVcSgz+K0UqOtSNmS3cS0IEY2ZE9pKF+Nh4PHEZr67P BN6ap8OirFeel7XZgqp00Tw= X-Google-Smtp-Source: AOwi7QCa9OtqZ3bPnDbIVcdPVysXY3vxzhasZMPy6nmMiYuI/WmcKXSjCOOrfySB8Az1bBTCZXTInw== X-Received: by 10.36.29.212 with SMTP id 203mr483535itj.1.1505710650072; Sun, 17 Sep 2017 21:57:30 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.29.86 with SMTP id 83ls4454445itj.19.gmail; Sun, 17 Sep 2017 21:57:29 -0700 (PDT) X-Received: by 10.36.228.193 with SMTP id o184mr473901ith.9.1505710649384; Sun, 17 Sep 2017 21:57:29 -0700 (PDT) In-Reply-To: <3e084be5-8931-4391-ab2c-7361e992c544-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: don.mankewich-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18183 Archived-At: ------=_Part_5456_1264582639.1505710648944 Content-Type: multipart/alternative; boundary="----=_Part_5457_794874461.1505710648944" ------=_Part_5457_794874461.1505710648944 Content-Type: text/plain; charset="UTF-8" No, I tried that, the link that is generated just includes the ./ after http://, e.g. http://./ats-alert-database-diagram.pdf. It's like 'http://' is embedded in the output by default. This could be something Latex is doing because the links work if I generate html output from the markdown. Unfortunately, I'm not conversant in Latex and don't know where to even start to look for this quirky behaviour. On Friday, September 15, 2017 at 10:14:01 AM UTC+10, Don Mankewich wrote: > > I'm creating documents with markdown which include reference links to > external PDF documents which exist in the same folder. When I use pandoc to > generate a PDF document from my markdown, there appear to be links in the > PDF when I hover over the labels but the external PDF does not open when I > click the link. I don't get any warnings of skipped files. Here's an > example of my markdown reference, it's in a numbered list. > > [ats alert tables](ats-alert-database-diagram.pdf) > > I have read that pandoc references relative file paths according to the > directory where pandoc is executed but I'm running pandoc in the directory > containing the external PDF so I shouldn't have to add further pathing > information should I? I'm also using Harp JS to create a static site from > my content and the link references work in Harp so I don't want to change > that to support pandoc. Ideally the relative paths should for both pandoc > and Harp. > > Any suggestions? > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/7a3f4828-16d5-42d5-944e-43127280527d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_5457_794874461.1505710648944 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
No, I tried that, the link that is generated just includes= the ./ after http://, e.g. http://./ats-alert-database-diagram.pdf. It'= ;s like 'http://' is embedded in the output by default. This could = be something Latex is doing because the links work if I generate html outpu= t from the markdown. Unfortunately, I'm not conversant in Latex and don= 't know where to even start to look for this quirky behaviour.=C2=A0=C2= =A0

On Friday, September 15, 2017 at 10:14:01 AM UTC+10, Don Mankewi= ch wrote:
I= 9;m creating documents with markdown which include reference links to exter= nal PDF documents which exist in the same folder. When I use pandoc to gene= rate a PDF document from my markdown, there appear to be links in the PDF w= hen I hover over the labels but the external PDF does not open when I click= the link. I don't get any warnings of skipped files. Here's an exa= mple of my markdown reference, it's in a numbered list.=C2=A0
=
=C2=A0[ats alert tables](ats-alert-database-diagram.pdf= )

I have read that pandoc ref= erences relative file paths according to the directory where pandoc is exec= uted but I'm running pandoc in the directory containing the external PD= F so I shouldn't have to add further pathing information should I? I= 9;m also using Harp JS to create a static site from my content and the link= references work in Harp so I don't want to change that to support pand= oc. Ideally the relative paths should for both pandoc and Harp.
<= br>
Any suggestions?=C2=A0

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/7a3f4828-16d5-42d5-944e-43127280527d%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_5457_794874461.1505710648944-- ------=_Part_5456_1264582639.1505710648944--