From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/22042 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alon Bar-Lev Newsgroups: gmane.text.pandoc Subject: Re: [markdown] links between documents Date: Thu, 7 Feb 2019 08:26:57 +0200 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="73412"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBD57HRWHUIHRBQ4757RAKGQEIGTGU6Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Feb 07 07:27:19 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pf1-f192.google.com ([209.85.210.192]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1grd9Z-000IvG-5l for gtp-pandoc-discuss@m.gmane.org; Thu, 07 Feb 2019 07:27:17 +0100 Original-Received: by mail-pf1-f192.google.com with SMTP id 3sf7193048pfn.16 for ; Wed, 06 Feb 2019 22:27:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1549520835; cv=pass; d=google.com; s=arc-20160816; b=bdaIdyL1urrIHfYN//A9cwgQxKeMlq41CTWW0WAJ0oLgksFVk1Lc/CwE1Q0rDLNmb7 6PEAJ7id9LEe91of2UgD+Lqs0OjOqk8Xg0fW2lY8gtHHJQHPcrb7eZpsyIKDuzNwnMhl XgwMADVu6zAUD5TSWFhlQ3n19tAfCAC2Ld0DJUIKLI4ebo1eXgAnmWJl7WGc5QaWLZzJ AVz7gSERxGGz/9sINBkxWPzw33MIhbglTF2yl84Jgkw8mbLnVjzf5+MlAJvcH2jzOXoH me0ENy7jXflUlaW3UK16gjbPL9m/T5ZJXq5PG/cboap+WBAty4YdGCskFmAMOWrNLfcY 3z8g== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=P1VbrA+OgSRxNOCuCTTOygtbsjsXDjtUtsg/LgM55tI=; b=ukNfWptxkIbkUgvT8QAS9cXX5iIYFluG6KH4iV1LJTqrNeIU0DGBmNWI5qbqqPiFRV lrqwUZWtGEki2OeCae47Y6ZtFuwIoGG8urn5tI4nRuB2V3JoWJk8KXJD0L5pbslfonfM ZVIC9pjnE3MV6uNbQ8Mh3asU2ZqfoADzKSA+DMJanBl9PfbzHgp+5PenmtYUvlM7jAGi /M/juqRnyCNzGn0rr7Vb09jLT26qSJVbKJQG3xU9mTeDXZDyKk1b/YWuy8j2dPohd56C CSchvk2WAYJBekhVw2iVq1ckBy950mZnAR7S43pOXZEa+oY7TgQaJp7m8Q1dvZ4RmTgB jLhA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=t1SP76H5; spf=pass (google.com: domain of alon.barlev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::32c as permitted sender) smtp.mailfrom=alon.barlev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to: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=P1VbrA+OgSRxNOCuCTTOygtbsjsXDjtUtsg/LgM55tI=; b=codNIbfcKhAYPmIZcv6L0r8/dHfgsVEX5mlTfSYXC6hoBDM2FmpNHJ5zCwYrzihXK8 obMiz65ksWfelW0+FqY7C/APA8HWM0g65Ypg88YIwS3O8prXcczLn6dBP/Q1i6wIoZ2X hCS/Qo3nVrlsTiNPNz5iFp3NZuQqE/oR1ul5g567svSm3OTtBLXnpgY9gr6D7vCxtxul ZA2dHdP2qVJHz7sZgsF658GKNuBYaMru2IjAobJMZ8xjAJRIvMdDFUcV7DBPbm/2L/eP HRYaz6kHJ+MgUkY9HuAc6qOm4nL/6ptpiXS602mUSnoZgjXqdxAV4+oglk9nF2D30aoB qA9A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :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=P1VbrA+OgSRxNOCuCTTOygtbsjsXDjtUtsg/LgM55tI=; b=rfuutj1TVvdvVQP68QDiW11Dn4bSUPxtZ3rz4CdoFVwYrLluJ4/Zob3Cs+KQ83n8jO VzXBmToNaGMQXcks4Ku6mgNsxwIaIPKWIKJ8+zphossMnUjBbBw9ykg6r8bk+eQnx5mZ LKYKKM5CX7IXfJLWP0iKXkiQDztNCuruCwU0FNxc9InfLOSoupsYY1BM/+CUM+DbaO57 a4a/Wk3Bcb0/ZcxOVui1Jrtpb6nbhF5clisIWqZAIaQWxUGx6u0YYRo7djU0hq4vFDsG ypVDaOKbakMnoPdiQDaK+DlDV7dRiB2/izylxExcmjviSMSa3C1DwGvqbyzCCuBBMExm ga9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to: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=P1VbrA+OgSRxNOCuCTTOygtbsjsXDjtUtsg/LgM55tI=; b=aw7mnIkmod1uEf6Hd+QLpQEC9kHAS4uouhyYLJPj1Dc080cQX0lsJN3GTiJEPxR1zY Pa39Go62k3QXI1WFVXa5p9F2G2TdRpIlaYw3eoUV4wBnnd3HCGum97gVvgH8isc3Y7GB 0oMhKeFQGGlwXUXncztFZYIchWsf5lhIvdIzzX4ziJGGC5m0iIlYMG9bGj4BGTPHkHBK RTOX8nQOiAsgAvFvDWmusQxuT4nky692kuze9wGHhX7JXJtTh79v39j5uFffeGBiC4iI uqHouEyi75Aiaidb7FAjMLE1OFQmya4mHoZY0f2XoKeGvrYcGQ+tmn9Se4jgHilQY2FD YOhg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAuYlxg8NH6jkrqYGAerwFKp5VyZrRL1lgtehumNVbfhavCJMDCVY ZWrC2cG5IE3LvDtTVJ5KdsQ= X-Google-Smtp-Source: AHgI3Ib9KHmNG7r5siSPZY19WHPtlBaHyKRFQJs5bCWgcRwm6BygHpPdqKbgXP6jHQ/SUITt58haHw== X-Received: by 2002:a62:1088:: with SMTP id 8mr20766pfq.7.1549520835705; Wed, 06 Feb 2019 22:27:15 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:8a8c:: with SMTP id p12ls783280plo.4.gmail; Wed, 06 Feb 2019 22:27:14 -0800 (PST) X-Received: by 2002:a17:902:2a6b:: with SMTP id i98mr4292366plb.67.1549520834811; Wed, 06 Feb 2019 22:27:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549520834; cv=none; d=google.com; s=arc-20160816; b=EyMYeIzBPyTNBomNHL5Wmxudiw3+Wv9FPDzwXatVWGr/YISOjbNzwO36kPirejTP9Y AKt8TIfqesRg+KOR2bh4PzHd1flU6ks3UWwZJHqD6RNhTlkvHgMOYU/0WNx2we3bDuQq bXkvtjMk9hqrTNdvltIW2V6nKEzKY4y9uG/wE+U6ZeQUI3Vyoah2Auv0i4slndC4N8vc odBFnCJ09BLSouivCtKW5017tRW++Y8RfziXae17poFHiqUjEE7nhTlo81yFzQUzCi8F /czQFY2GpJgj3KjLqquHruwboABR+Y4NmBEobdAfYTBV0bWHE9ekjYxwtTuYDtVGY8BT f6GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=3touFW6abPaJFibg/EtzPbCu+bxjrhks5RKAv5URD/Q=; b=ibKWXjY/Kt2z6sIN03caIE02EHzalMupXbTaCB9HcglTv4eEoLtyc0Et514Lb0UChR Ow3TZmPhkdzcSBx1NMp6iiQjutysSttGWnyQE3Mzr8WxMq2hNNyefMmEblTSedVHkjlf q3kebKQytvjv9GZlAgOcqKJgxx5MBkx2pc441uD38L8pccIF0BtkGBBp+LC0MIoYSaej 7EfUJGkpncYApZF8omOyOsJiGdvvyfYtZOTGuE5rfgBKmh4ch+egECHRLErgUGVcvE4O ufFSz9lDpjPEgR8EQ3fidPQWJobEB0m7LZ1u0FprvMPjsNNTyFBv+m5Q4BOWsuUwg/Q/ 9QLg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=t1SP76H5; spf=pass (google.com: domain of alon.barlev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::32c as permitted sender) smtp.mailfrom=alon.barlev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com. [2607:f8b0:4864:20::32c]) by gmr-mx.google.com with ESMTPS id y68si416760pfi.2.2019.02.06.22.27.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Feb 2019 22:27:14 -0800 (PST) Received-SPF: pass (google.com: domain of alon.barlev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::32c as permitted sender) client-ip=2607:f8b0:4864:20::32c; Original-Received: by mail-ot1-x32c.google.com with SMTP id w25so16363916otm.13 for ; Wed, 06 Feb 2019 22:27:14 -0800 (PST) X-Received: by 2002:aca:6951:: with SMTP id e78mr1611515oic.55.1549520834342; Wed, 06 Feb 2019 22:27:14 -0800 (PST) In-Reply-To: X-Original-Sender: alon.barlev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=t1SP76H5; spf=pass (google.com: domain of alon.barlev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::32c as permitted sender) smtp.mailfrom=alon.barlev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:22042 Archived-At: Thanks! But then the markdown will not be able to process the files as separate files. For example, I use markdown generation online on top of git, so references should be between files and expose this to users. But when I create a PDF or HTML out of all the files using pandoc, I expect the generation to be aware of the files it reads and convert the links that matches the files into inline references. On Thu, Feb 7, 2019 at 2:13 AM BPJ wrote: > > You want `[this](#title-b)` > > Den ons 6 feb. 2019 22:01 skrev Alon Bar-Lev : >> >> Hi All, >> >> I need to find a solution of generate markdown to pdf. >> pandoc looks promising, however, I must be missing something. >> >> Let's take the following two files: >> >> a.md >> --- >> # Title A >> >> A content. >> >> See [this](b.md). >> --- >> >> b.md >> --- >> # Title B >> >> B content. >> --- >> >> Run: >> $ pandoc -o a.html --reference-links a.md b.md >> $ pandoc -o a.pdf --reference-links a.md b.md >> >> In both cases the link to B actually goes to the filesystem b.md >> instead of being a reference to the content of B within the document. >> >> Can this be worked out somehow with parameters? I could not find >> anything that made an impact. >> >> Thanks, >> Alon >> >> -- >> 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/CAOazyz04jcRfqkGEkpb2FcBmjVJ7C%3D7cvSf-Tm1wKBWeCKEuoQ%40mail.gmail.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > 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/CADAJKhCnRDa%2BCWqntyPrvqfpSmO%2BZakb8hj%3D%3DC0XxPzBNeBJZQ%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout.