From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18182 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Links to external PDF don't work in PDF output Date: Sun, 17 Sep 2017 21:25:10 -0700 Message-ID: <20170918042510.GB7761@Johns-MacBook-Pro.local> References: <3e084be5-8931-4391-ab2c-7361e992c544@googlegroups.com> <5e3baa08-1fe4-417e-b930-4e0ee8a44568@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1505708724 28182 195.159.176.226 (18 Sep 2017 04:25:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Sep 2017 04:25:24 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBM4V7XGQKGQEIEWP6UA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 18 06:25:18 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f187.google.com ([209.85.223.187]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtncT-000743-23 for gtp-pandoc-discuss@m.gmane.org; Mon, 18 Sep 2017 06:25:17 +0200 Original-Received: by mail-io0-f187.google.com with SMTP id f72sf6727041ioj.0 for ; Sun, 17 Sep 2017 21:25:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1505708724; cv=pass; d=google.com; s=arc-20160816; b=MTVucqsMtzKnjwCzSYl3tHdVzm2baTN8f1dS2aDMDDR02lvkbvihJ4slAhidJMQXIU srraEMBg1UVySPiKjtVvInkiLCJaltd2mvVd14vLsbhwyoOB1FN2+eruYNBduI0041kg X+NZYNypfZz36h9vxVEbXLjAhxCGxRQncM+i/7F2kmcb1lzqflxkkAwPZioq3Kza4Akk z6r/y5O6geXWpgkW/CWCrPSQG+rSZvwtien0BiOWkHkiaFmUQlsz/dQNbdG77q5edUaQ SLdcrBp/X2hNcoxbxcktu/Umavuuz07uvZQg6P0URlF4qoeLheoSZlmQcj6WozhN4/P5 +nVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=BZuFXFKdLhGvkkocde4nOvD8iWEfERpihML1Nc2b/V0=; b=VOpVjbRn8Sdk/htcRPuNk9RgJgNzt8Fxh74F1IZ25+KbO/KGpaHyWfKEQNHsjB0VCa DtPgbCSLPJirPtCbjh8KSekg/tw2EfbCyww+qO2yvtO5TszEUyub5Fv/Rq2kuKCDxgU+ PrbCK3rU1CHOEKdYxHqadqBfV0229tEChOO2YZSiCHBmsR9cqzlsoy6ZWX0FA1QQKvRs MUcJFe0+9kiIjorFLRVQXE4sZqdWRJrpZZ/hUG+vS4zRyoSV4c9zZjoYjUNZBhnud9yv YaHPsmKxsE4+iC3SpNSPtCOsCk0h0ACWRtsrZvQzbCXu8mlnNiOUNe9Zn3meSkZyRGML ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=gy6P/tJ7; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::231 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=BZuFXFKdLhGvkkocde4nOvD8iWEfERpihML1Nc2b/V0=; b=hOAuV/TVYtZJRGpmeQI6UH9t/TlXttDbGekzUl/Th8DdQp/IeRp/ySa1pdY9LZRe0N H5pGEd8JE5psKjMACvswkfmiqjaLoBAGXkpRibtUJxp8fnFtNhrEZXkDDABQ2SfysNOW I8k38N/IyWiJZLZbKYzu3ZLsf6wBD4zw5nE6E+DjHgww3dUwj2Lv9EMoAuwR7RiUCSwc RMgh2XmKsYSOj3RRvvnqz2Xu534H10oTS4/tGpBBs8C0eAB3NVb6ZUeBnFu5ppjGOLly cw3A/u2anzoz8Kp45Ycs7kZAiA/PFgNVBqyer577t8iDAIHNOVsKCBBnTwQ74NMQKjL9 LdXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=BZuFXFKdLhGvkkocde4nOvD8iWEfERpihML1Nc2b/V0=; b=bJYS+fRn73ZMqdnZR07lumuq6DuMUWIEGDP1kvxdj+G/CCDZfhnX5rNBWPBW9mtuty nygwanGx6+YtCnxbM3SwYUBPIqekbNQ23O0FFBZ0QAUKo15L4BX98KpvMb7wPOZEmfzK sjIQCTBsiUhCCxVwIfYvM65OYRYleWBwpM8shDfGWT3Eu4W0aYAyGSrVldpZ0NdOxqpt GnQrb8pVWyhWJMPSThdE3I09GJ4T1l9/GECFyxphukIfDHcc2Jcc+mpiGsm/ztqsQFo6 oYJ+XsQf7GdgJClW9rm7hiw09bfVgGjwZHhMcZt98QTt5Aa5+DYkm2IKbbz9lA6M81Q6 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHPjjUhOF1gBnH1B5g2vT8xkl9Nq93rt+GS7Z1aFNKqdgN+InuEsiumY dVhKj0CRXE4G0wF241ribhk= X-Google-Smtp-Source: AOwi7QC2kAFrC3I/aEjkyUXiBeo3KxyDLqYwMk2lCWhNO0rcGx0WY5xIlGl3O3oDjH4bBLvzVI/6Qw== X-Received: by 10.36.60.9 with SMTP id m9mr491466ita.0.1505708724321; Sun, 17 Sep 2017 21:25:24 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.70.16 with SMTP id t16ls6052045ioa.27.gmail; Sun, 17 Sep 2017 21:25:23 -0700 (PDT) X-Received: by 10.98.72.157 with SMTP id q29mr17844453pfi.27.1505708723478; Sun, 17 Sep 2017 21:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505708723; cv=none; d=google.com; s=arc-20160816; b=vSK/0NpH1RsW3ZS2ZR2I2HP/Fo6fv758BHnFAKLKs+UtTNuaZNVUG5SJhe8emLAJJW hOAsomJN5jlYJ5BY+BHTLBWytHLUUFzV341ljUGdfnGyPQ4guqbIx/CQv2cCKbpFZvs9 jNK84Yn+T5S/iu4JBUTG7RAIky5ozwoWJ7U8IQC4H1QjI7zPiAZ1fzmnQSVQ3w/M/5ed yUC81OQtdkwl0p+1dqW0tiFevv2xEsscbJdUqEeXbUw4jkumgPIFob017Tqt0HNSzGlD cFSwAEG6+LROw7jwRhgvtBZwlp70X+rnHEpPvRgNjhpXT3cRF6BR/sypeJDM+0ViBwm7 z+tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=XczlpqEm4l7DU1/yvu8HRMamT2pnPwneqfjFbWTq8ew=; b=FkARXy+MVehtmcYw8oFEGc6SlW0B1vpFCrIAqW0Xi9Jq7Jk5W73V7MY7WOu85dDpDl jgQyhHAkggxBUL/4BAKoYcWIYjg5NtXsF5mZJIjHOs9NMr7MMfp4EUL2xJKD0haYzAsC /w4NzdPSnnA0EEFZXLwphx3MHQ+PA/wIkmgxhC/GyGkCPaEg/Jg2I6YInHBaoixSIh/w O3nap2T5QlRMMae3n6zzdA38NsuiSoQOF6hXu/0d1IcNh6blFw/mY0HGF8usj+wudEnt IJoaWeQljIaibHKby0BaXw249lIZUKL//IMxi+MmVHFTuDdd+T3h8z/nYu8pCR5p4MwO yJEA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=gy6P/tJ7; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::231 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf0-x231.google.com (mail-pf0-x231.google.com. [2607:f8b0:400e:c00::231]) by gmr-mx.google.com with ESMTPS id 82si574129pfz.6.2017.09.17.21.25.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Sep 2017 21:25:23 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::231 as permitted sender) client-ip=2607:f8b0:400e:c00::231; Original-Received: by mail-pf0-x231.google.com with SMTP id g65so4184667pfe.13 for ; Sun, 17 Sep 2017 21:25:23 -0700 (PDT) X-Received: by 10.84.129.226 with SMTP id b89mr7955257plb.193.1505708722871; Sun, 17 Sep 2017 21:25:22 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id k25sm10959078pgf.13.2017.09.17.21.25.21 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Sep 2017 21:25:21 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id D1E59A1C5; Mon, 18 Sep 2017 00:25:10 -0400 (EDT) Content-Disposition: inline In-Reply-To: <5e3baa08-1fe4-417e-b930-4e0ee8a44568-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=gy6P/tJ7; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::231 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:18182 Archived-At: Hm, I'm not sure what is happening. As I said, I got different behavior for a similar test. It may have to do with the setup on Windows, but I don't use Windows and can't easily test. Does it help if you do [ats alert tables](./ats-alert-database-diagram.pdf) +++ Don Mankewich [Sep 17 17 18:30 ]: > An update: when I edit the PDF produced by pandoc and hover over the > links it displays an absolute path > (e.g. http://ats-alert-database-diagram.pdf for the link below). > This does not seem correct given that I am definitely running pandoc > from the directory containing the markdown and the PDF files I want to > link to. > 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [3]https://groups.google.com/d/msgid/pandoc-discuss/5e3baa08-1fe4-417e- > b930-4e0ee8a44568%40googlegroups.com. > For more options, visit [4]https://groups.google.com/d/optout. > >References > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. https://groups.google.com/d/msgid/pandoc-discuss/5e3baa08-1fe4-417e-b930-4e0ee8a44568-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 4. https://groups.google.com/d/optout