From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18184 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 22:09:54 -0700 (PDT) Message-ID: <9c5c0ac5-2341-4414-8d34-0de7a5c1674c@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_5303_2002275124.1505711394501" X-Trace: blaine.gmane.org 1505711392 2746 195.159.176.226 (18 Sep 2017 05:09:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Sep 2017 05:09:52 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC2MLB5RTYHBBI5K7XGQKGQELOZCLAY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 18 07:09:48 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f191.google.com ([209.85.223.191]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtoJY-0000YB-Fg for gtp-pandoc-discuss@m.gmane.org; Mon, 18 Sep 2017 07:09:48 +0200 Original-Received: by mail-io0-f191.google.com with SMTP id f72sf6781895ioj.0 for ; Sun, 17 Sep 2017 22:09:56 -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=+cmw9breTh9TwXTMDxIMEtjDnWzcYpojeDtlKQz5ukI=; b=BvyvsmuNqC4BHFXtSfU8Bz+11VW3tZXgRw4X/lVj5SBaXzuxv31bQU8KWQaW/ZyrMh 0+K8/J8NE1lsBLi19q4vsVbK5NzTG9PusM/4NiyXyjwuBa/G3PKOd1iqEIu5HJOvHYYR 8MHftksSuC9KP67FyFRhIao+QvqwWa6/mDzKbDSfbrLAPH4AvMF0G1C3yIgBAGqSB67o DPl0im5tJWGHnN0NPhga/KF43sWj79FxWaiqVrXt+k2Th89i4ERsa+fK1SGfubRVBKLy j07n8RGJvGU2iBayyUcmx/ezyElFpmvDUTQTzDRJxIQ+9h4Em50AvVFrWK34FqZTrhPT Mm4g== 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=+cmw9breTh9TwXTMDxIMEtjDnWzcYpojeDtlKQz5ukI=; b=yztHypNF792k/tGCARYap0tIB2z7xKmhW/u3ljq+ddgEQ8EPOKyrnE29PqtIOc58jr fzgIPABSMcdKHkG3K0+gQyNqDVkEoQuq2j21z8C5lO/j64Ks5rja+s+lnxndA3JJBj+d eQ0AxGIUZdIk9MQ79TMvb5oX4T8M5Y/ka1N+xxQEEFn19mKvy6Lrhe0nOjgkcVUlqlYE BjcCEwFunowS5BbIEMuOPreyRZODGiuzdL1fCzCwjMIXy9RCs11poqAEAUx+kD9ecmZZ Fxvu4LKaqjOzcfGF0ggwR/YUDugm9+3b9IpmGMsRF3hljyMO51m8Pvr7HsGZZn/ojYP7 gT0w== 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=+cmw9breTh9TwXTMDxIMEtjDnWzcYpojeDtlKQz5ukI=; b=cZxcrVGln3FwpKCt/tb7dtSFHFyJ/UAkJ3GxsBEbAxQeEILEotqMAq2eQuTKSxHAJF mE1gmQgq1XAcL4J4WAB8+AgbxOAbLLSqphdWIRhqkDLDwLVDbc6MfcSQCXf/zhNrnsNt s6SMIuEEdsSqzBKzru09j1aX2jJKZMfQWcK1hvFLqPy6RgwhusZF2p5kPsXYmEpJth8U 1WkMZIh6Z7nEay0TOlS0/I2Me8bZDfiK5kDhz2Fr7+sxqplDBbCxFqg44oAXvp6+y2EL OIaqm14ahL7O2YzTqJjNP/YAGuOL02T5nOVskKN+D3/dO1PT2DNijFG7pNzPnu7aD2mk Prmg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHPjjUhpC/0BJngYq+oqELb24sUuvVfjYlSAlCeYDZoDAD1w0n4ho0hq PctuFQRdCwWjbw== X-Google-Smtp-Source: AOwi7QBRIofTcNM7U1b0m3ZA8soXrDqR48SmDAtPeCesbAaf1Su1+CS6L9f8LteA+jeBQSBAEPn/Qg== X-Received: by 10.36.9.211 with SMTP id 202mr185810itm.9.1505711395822; Sun, 17 Sep 2017 22:09:55 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.68.196 with SMTP id o187ls4653120ita.15.canary-gmail; Sun, 17 Sep 2017 22:09:55 -0700 (PDT) X-Received: by 10.36.29.212 with SMTP id 203mr484554itj.1.1505711395046; Sun, 17 Sep 2017 22:09:55 -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:18184 Archived-At: ------=_Part_5303_2002275124.1505711394501 Content-Type: multipart/alternative; boundary="----=_Part_5304_2027225934.1505711394501" ------=_Part_5304_2027225934.1505711394501 Content-Type: text/plain; charset="UTF-8" This is a long shot but according to the Latex user guide on Sharelatex.com, different Latex commands are used for external URLs and local files. For further references see \href{http://www.sharelatex.com}{Something Linky} or go to the next url: \url{http://www.sharelatex.com} or open the next file \href{run:./file.txt}{File.txt} Is pandoc capable of generating the \href{run:./file.txt}(file.txt) or is that left to Latex to figure out when PDF output is specified? 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/9c5c0ac5-2341-4414-8d34-0de7a5c1674c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_5304_2027225934.1505711394501 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is a long shot but according to the Latex user guide = on Sharelatex.com, different Latex commands are used for external URLs and = local files.
For =
further references see \href{http://www.sharelatex.com}{Something Linky}=20
or go to the next url: \url{http://www.sharelatex.com} =
or open the next=20
file \h=
ref{run:./file.txt}{File.txt}

Is pandoc capable of generating the \href{run:./file.txt}(file.txt) or i= s that left to Latex to figure out when PDF output is specified?=C2=A0
On Friday, September 15, 2017 at 10:14:01 AM UTC+10, Don Mankewich wro= te:
I'm cr= eating documents with markdown which include reference links to external PD= F 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 l= ink. I don't get any warnings of skipped files. Here's an example o= f my markdown reference, it's in a numbered list.=C2=A0

=C2=A0[ats alert tables](ats-alert-database-diagram.pdf)
<= /div>

I have read that pandoc reference= s relative file paths according to the directory where pandoc is executed b= ut 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 al= so using Harp JS to create a static site from my content and the link refer= ences work in Harp so I don't want to change that to support pandoc. Id= eally the relative paths should for both pandoc and Harp.

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/9c5c0ac5-2341-4414-8d34-0de7a5c1674c%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_5304_2027225934.1505711394501-- ------=_Part_5303_2002275124.1505711394501--