From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/27332 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gary Glass Newsgroups: gmane.text.pandoc Subject: Re: epub-chapter-level breaks internal links Date: Tue, 29 Dec 2020 05:16:13 -0800 (PST) Message-ID: References: <80a1607f-2986-422e-a0c5-674e011c7414n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7134_1465173139.1609247773218" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38609"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCO3BB5GY4ARBHWYVT7QKGQEI3OGL2I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Dec 29 14:16:18 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f63.google.com ([209.85.161.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kuErJ-0009w2-Oq for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 29 Dec 2020 14:16:17 +0100 Original-Received: by mail-oo1-f63.google.com with SMTP id x11sf7899524oog.9 for ; Tue, 29 Dec 2020 05:16:17 -0800 (PST) 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=FQyPVO99hHLWAKUKNfX3/kT4LoQ9jIlbvLMFEwYaCTM=; b=Exzk7t5m6r8rLRVKAsiNAF+YerEGBTfpF9gmpxrd4or0QFGffqytvDrxZOhc+oeXkD NhH33mdrkg4QzMzIdnZ0BkeeiLa38Bvl02AcKKb+t0bRRD4O+dxftiiz7fkmzvUesFUI zznGtg34DoSo5jwrqsoMPJqCSuVHVqxjMpruADV62VfmXmnq6Iwf38f2vH0T1WJHwkEn 6Ig2s61olcQ50+P7X1HgC06o1qgOZhkLL4Ejm7KeLrcG1sDsYLvoM6ABog+DexpeBHtx qVwSxE+RuxgvOsMK5yHkJSdwG9BeLLsq7PGVJo7qEF/zVB8I3HjINcAAvO1y2aVkuxRf kbhw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 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=FQyPVO99hHLWAKUKNfX3/kT4LoQ9jIlbvLMFEwYaCTM=; b=eLW8QfgG7DkEZGIZuV0jQ3nFGEFBTXXZjlTFq/0DHnu1PUhUTxOllAnXeN/NqB8UHY wN/1Np9nnWq5qyj4SvaHBpgDXzUw4ZRvjY6DdF5lmCYctGv/vZ5zbmmp8e848W59A+Zr OXx8M5+QoKG/foQvrIm5aJHbK0t3zWla06VQfoQldvgax/AiLOJY+Dbel1ir3tWjYA44 ru3dDr2eBBjbBVXY1yxyH00S30qaY6xnAZ1LUeAQAQY6vc4lrAkx2SmrMSNihQVG1Goo hFDpAHxTi7vn9dc6eJOjMS1kHnOXK6MzJ7SbheUksvvF1xc6vqUKQi0O/E5s3h9HqD09 rbYA== 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=FQyPVO99hHLWAKUKNfX3/kT4LoQ9jIlbvLMFEwYaCTM=; b=o2zcjAk1zFehyiC5tgy+j9VT/3aU7rxjg9ZAMTjHaubAnB178Vm55onho/Sy3XIdmE 5WMVwuvke7EHtKqKazaeqB/1awmactfawTwAuxJtg3vcZblJC+CqhQg1ZcEoXf1Q2yo1 Pt+y69S8KnK4ZyHR/Sxg55biZX4fL/69HrATxAYQzaDX4R0sPHCL3giQ5LBVy3G28pnO TPBJ0pq89DuLgmiNJY14tqIj0eN3iy9F/HpT4cGG4KzOplBC1LRfLdnKghWOGnQvDp3c EhPDTN58F0CPc0ywcP2L5RMjd6/R0Twh3JA3+xyF65GQkoD3heWdOfcvKzveLaVBqzrR ZGjA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533b4y22vnqQrwgsHWMd9BJqYF1cfFyMxwmIRnoXoiyLM9PotLo1 qhAuxYvJKzIDXAmMUwRNX9g= X-Google-Smtp-Source: ABdhPJzvHNNaENKoym3yreagV49HtJvn7Q9VUKecILyx+oNdyUt7Ld1LpJk9vnIix1FJK1hKFXm7dQ== X-Received: by 2002:aca:540e:: with SMTP id i14mr2216699oib.57.1609247776741; Tue, 29 Dec 2020 05:16:16 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:7ce:: with SMTP id f14ls11754428oij.5.gmail; Tue, 29 Dec 2020 05:16:14 -0800 (PST) X-Received: by 2002:aca:5711:: with SMTP id l17mr2268695oib.53.1609247773838; Tue, 29 Dec 2020 05:16:13 -0800 (PST) In-Reply-To: <80a1607f-2986-422e-a0c5-674e011c7414n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: garyglassphotography-Re5JQEeQqe8AvxtiuMwx3w@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.io gmane.text.pandoc:27332 Archived-At: ------=_Part_7134_1465173139.1609247773218 Content-Type: multipart/alternative; boundary="----=_Part_7135_1404375799.1609247773218" ------=_Part_7135_1404375799.1609247773218 Content-Type: text/plain; charset="UTF-8" I figured it out. Don't use anchor tags. Instead: ### B []{ref1}Bar, Foo. What a mess! ### F []{ref2}Foo Bar. See [Bar, Foo](#ref1) If this is in the docs I never found it. The downside to this is that the links don't work in a standard markdown editor. If Pandoc can handle this, it ought to handle using HTML anchors the same way. There's no need to require special formatting here. On Monday, December 28, 2020 at 3:51:46 PM UTC+1 Gary Glass wrote: > Here's the deal: I am converting markdown to epub. One of the markdown > files is pretty big, but it's broken up into various level-3. There are > many cross-ref links among the items on the page. e.g.: > > ### B > > Bar, Foo. What a mess! > > ### F > > Foo Bar. See [Bar, Foo](#ref1) > > > But since the file is pretty big I use epub-chapter-level=3 to split it up > into small chunks in the epub output. But doing that breaks the cross-ref > links. > > What are my options for getting this to work? > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/fcb19fb0-39ef-4dc6-b830-593825cb421dn%40googlegroups.com. ------=_Part_7135_1404375799.1609247773218 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I figured it out. Don't use anchor tags. Instead:

<= br>
### B

[]{ref1}Bar, Foo. What a mess!=

### F

[]{ref2}Foo Bar. S= ee [Bar, Foo](#ref1)


If this is in the d= ocs I never found it. The downside to this is that the links don't work in = a standard markdown editor. If Pandoc can handle this, it ought to handle u= sing HTML anchors the same way. There's no need to require special formatti= ng here.
On Monday, December 28, 2020 at 3:51:46 PM UTC+1 Gary Glass wrote:
Here's the d= eal: I am converting markdown to epub. One of the markdown files is pretty = big, but it's broken up into various level-3. There are many cross-ref = links among the items on the page. e.g.:

### B

<a id=3D"ref1">Bar, Foo. What a mess!
=

### F

<a id=3D"ref2&qu= ot;>Foo Bar. See [Bar, Foo](#ref1)


But since the file is pretty big I use epub-chapter-level=3D3 to split i= t up into small chunks in the epub output. But doing that breaks the cross-= ref links.

What are my options for getting this to= work?

--
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 view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/fcb19fb0-39ef-4dc6-b830-593825cb421dn%40googlegroups.= com.
------=_Part_7135_1404375799.1609247773218-- ------=_Part_7134_1465173139.1609247773218--