From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30836 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Louis Newsgroups: gmane.text.pandoc Subject: Re: Reference to figures Date: Fri, 24 Jun 2022 04:31:12 -0700 (PDT) Message-ID: References: <29a20ffb-c447-4645-8993-3e64938ae105n@googlegroups.com> <874k0a1j19.fsf@zeitkraut.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_448_1013066932.1656070272360" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7283"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDF2FVVUQMIBBAOB22KQMGQE2NLXJSA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 24 13:31:18 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f191.google.com ([209.85.128.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o4hWu-0001ey-Ut for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 24 Jun 2022 13:31:16 +0200 Original-Received: by mail-yw1-f191.google.com with SMTP id 00721157ae682-2eb7d137101sf19360587b3.12 for ; Fri, 24 Jun 2022 04:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=/AQDBo7raQ0KnNxq2JUO36ymeKv3s80S4ElSRcPm4hQ=; b=RXkTg0MVXib+13SgfDTbyXbubJf6HsdXtqk1Funhi1TH6eKjUE1fijQH0lCArb6OWl 0V8bjkszAaBQK6P82Duk0Nerna9/Lw+Z5q1pm4+3GnmlpOhWqvzkTB0Lcl7weyYY8DAE Xi+lXVVZEhU+92M8Jm++lUABSMqe1FKF4sQJJoVGgpowq7wQC4PZAy5ziYe8k92zGlCU XYMwGWKswqtaUxJ3GLMFsspSjVMf2cl3Gp/SYNxD4VDKOlBvSlZ98zMRZhUHiv7RntME PmZO6A5UEKFO7rVwBlLZWsfjgcupHJfDaRWIzvsnD4NJncklE8VpCdFxWDi1DQDgROa+ /mCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; 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=/AQDBo7raQ0KnNxq2JUO36ymeKv3s80S4ElSRcPm4hQ=; b=wwlDxH1QYdDe2aoYCM7JKt7RTbrjoAOOh1kHKVLOj18DeG08sIuolnXI5XRn2W1CJe e5CTQJK1hqIpZ5R1XB2BSAULpxdDM9vdfYqD4CcSw/AlaAgprdeKhixoPFdboz+8XNJY EPU7xAtMzoub011PMa/xb4K5Q0DyYbSUf+6q9urvV3fC5ochc0sh0QvvHhfmitbZal4Y 4Xj+n/N+5QmIqKl0i2mOFV+2yyyPdpq8CXuiG0puJIXGZ5FMhSVmwQJuadPCsSyYQ/bj G0Augwyy+Xu1cl82hz+oYi496S8RExtldp5V+5bbX9FRzmgBpNU6ZICiqNdTKmBU7qRJ FwXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=/AQDBo7raQ0KnNxq2JUO36ymeKv3s80S4ElSRcPm4hQ=; b=XEmuxzQQ8L/4UUcpi8KyyoljfmS2DjUORYZ3Syb7idpnz1H/2qyifAHofBeu3qC1vj TBs3eQv9b5F+gpUPBb9MYJ5QQURh7PNHI48LQM+aQMZAiZUvW/xKVRfYDJDu3c2QTIi4 AN5mSYi9ouEiuGc5gSMsAR+R8kl8yxFNrWiDnZHtBBPgjdmKe8vPRQ15Y3WmjjbtvdXM INnbFLG8lMdFOyQTBQCZt+jVqsDyyWIko7g/s6Kx5IVpCNtfxkVQtvpKEkVvbjYu5/j3 VdoxTXh9KxZXAJF9Zg5uyqz+BTdUMrBP3OXD+PlrK7+x1Cu4akRHh4+O1KNEzbZOA+vC +TOA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora8OW23hYf1/Oi11YwMZbNXZJXVjp9P9WUnlPN11PCjFwbf47E0H r9oT0i8XdLzUx3pcWFfik0w= X-Google-Smtp-Source: AGRyM1tbe31HVso60cEYwMOuMm12p+f6jwA1irVqPrkLqI2sLnJWpDsqKR5K/a/jhSRdA5OOhvNIQw== X-Received: by 2002:a81:d97:0:b0:317:7632:78bf with SMTP id 145-20020a810d97000000b00317763278bfmr16682641ywn.377.1656070275739; Fri, 24 Jun 2022 04:31:15 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a81:2fce:0:b0:30f:9fc1:d286 with SMTP id v197-20020a812fce000000b0030f9fc1d286ls11797340ywv.2.gmail; Fri, 24 Jun 2022 04:31:13 -0700 (PDT) X-Received: by 2002:a81:4e83:0:b0:318:6aab:8bf4 with SMTP id c125-20020a814e83000000b003186aab8bf4mr9946980ywb.471.1656070272997; Fri, 24 Jun 2022 04:31:12 -0700 (PDT) In-Reply-To: <874k0a1j19.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> X-Original-Sender: lrannou-rdvid1DuHRBWk0Htik3J/w@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:30836 Archived-At: ------=_Part_448_1013066932.1656070272360 Content-Type: multipart/alternative; boundary="----=_Part_449_1814708882.1656070272360" ------=_Part_449_1814708882.1656070272360 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I actually know implicit_header_references but I actually misunderstood it.= =20 I thought this extension was managing the implicit identifier that exists= =20 in headers. Then indeed, I think that would be fair to have something similar, maybe=20 implicit_caption_references. But maybe that would also be possible to=20 extend the implicit_header_references to any identifier ? Louis Le vendredi 24 juin 2022 =C3=A0 11:56:58 UTC+2, Albert Krewinkel a =C3=A9cr= it : > Louis writes: > > > I don't want an hyperlink but an internal link (#mypic in html). > > > > What I can eventually do is [my picture](#mypic) > > > > ...while for other labels like headers, it only requires [mypic] > > Pandoc has a Markdown extension named `implicit_header_references` that > allows [mypic] instead of the longer syntax: > https://pandoc.org/MANUAL#extension-implicit_header_references > > So if I understand correctly, you are asking for something like an > `implicit_image_references` extension that would allow to reference a > picture like `![my image caption](mypic.png)` with just `[my image > caption]`. > > Did I get that right? > > > --=20 > Albert Krewinkel > GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 > --=20 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 e= mail 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/b080bbbc-2ed5-4a1d-a8af-edfd50e7a679n%40googlegroups.com. ------=_Part_449_1814708882.1656070272360 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I actually know implicit_header_refere= nces but I actually misunderstood it. I thought this extension was managing= the implicit identifier that exists in headers.

T= hen indeed, I think that would be fair to have something similar, maybe imp= licit_caption_references. But maybe that would also be possible to extend t= he implicit_header_references to any identifier ?

= Louis

Le vendredi 24 juin 2022 =C3=A0 11:56:58 UTC+2, Albert Krewinkel = a =C3=A9crit=C2=A0:
Louis <lra...@baylibre= .com> writes:

> I don't want an hyperlink but an internal link (<url>#my= pic in html).
>
> What I can eventually do is [my picture](#mypic)
>
> ...while for other labels like headers, it only requires [mypic]

Pandoc has a Markdown extension named `implicit_header_references` that
allows [mypic] instead of the longer syntax:
https://pandoc.org/MANUAL#extension-implic= it_header_references

So if I understand correctly, you are asking for something like an
`implicit_image_references` extension that would allow to reference a
picture like `![my image caption](mypic.png)` with just `[my image
caption]`.

Did I get that right?


--=20
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124

--
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/b080bbbc-2ed5-4a1d-a8af-edfd50e7a679n%40googlegroups.= com.
------=_Part_449_1814708882.1656070272360-- ------=_Part_448_1013066932.1656070272360--