From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30829 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 02:00:47 -0700 (PDT) Message-ID: References: <29a20ffb-c447-4645-8993-3e64938ae105n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1108_1899157817.1656061247905" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7728"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDF2FVVUQMIBBQX22WKQMGQEQWYXYKQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 24 11:00:54 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f189.google.com ([209.85.128.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o4fBO-0001mY-35 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 24 Jun 2022 11:00:54 +0200 Original-Received: by mail-yw1-f189.google.com with SMTP id 00721157ae682-3178a95ec78sf16904297b3.4 for ; Fri, 24 Jun 2022 02:00:54 -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=4M9uIDTsfFEwXlVAd4j9mgTAg9Cr/9THKbM4OASRuC8=; b=cSQ37VChQDODG4+9GSBjYEJhotWubB3jqe/s5ZWWo8Ma3+qsDYXyxcAqdz0vwz1QKs lBRMBP2AUkmaRYTeixBOy1Rv6Lxm6tdnNkoIlNsyZ0NToOVoUsQ11HbMExR/0+1Xl0UQ yFvGD4pnUkZH2B2D3G90A7iF1yxkMD+zEhj8vQyp9jsTY2tZ/OQFjT5nTga//dnk7u80 tjpNxykbW1qi5bjTXNBRvL1aUveKLj2CXqi56gQZvUHnQF4KRBpGTmIRkSlCn2BsrlvS 4X9Gea7iPyuhqcdI4Ne6OVGHlRSFwkwsrTk2OcKLWg+cjDmHMEOIcnPQiuWsJZU8kMYq WswA== 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=4M9uIDTsfFEwXlVAd4j9mgTAg9Cr/9THKbM4OASRuC8=; b=kge7WSJZJgK09A+5KxR7XFAtd8VLrGdPN5UB50Bn/7ifukm2AaG+P3vU8fS8YCVXMS iLqe9SBZy2p9Z1LX/0E7bi2N8eV8tRN5XHWtCXQ6PQ7QaCt0mVPCSlCBpv/WK7AKUgey uSa7f5MpVr45s0qw0bB6oso4ChrvP8qSKWS82B6OL3iS9yydHTft7aGhrOlbGO38nbtL nEk1tiDoSvZH4xy415U1AcUDSPjgaLO2TuSO3PPs4Ul5TgzLY3rvMTgjJ06Ygwsf02iS +u2bXwh3a7JyRsiOvvPfd+z6Ek0iLSq9wU5khnFctHlbNCfe5l+Mwx0s8Xch1m04H4bs rg1g== 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=4M9uIDTsfFEwXlVAd4j9mgTAg9Cr/9THKbM4OASRuC8=; b=awaK15z3Kg/CmNfju/QngR5TXi9crGCVt0LBdckenWhbhcuwkyhak5KFUNaiQ1z2Uz qiUFknuOC40hf4VWKzIxeqegSmsXs8wZYrO+gtYtSm8QtGb1GDoHnq4Tf9WC1Yz9nmY2 Jt0p7jEbPnU0o9KGRqMBWB8q2DEjooz4V9FdYoEQIwLiOTOQg+ribufxceaCtSkrye4A WiEI+ocwiVzK8XrabtfgfFt4T++u8SbHjgVmXOrZ8+zEunD1qBuptcBVDc3+pzFLltPn 2oZLyWgAR5ruERsIYJmU//Wz1hUsD8+38AGIpmRqul6MXyer7igIcf8qUmPk5ovFYdAQ YybQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora/P+xcvxYuUlNln7RxItYpnVSB8SxdTPfpR3+FBYKG9VYDHf2bZ VyMwaCCwLux9TqDPB4L5ms4= X-Google-Smtp-Source: AGRyM1vFjWLCumd3t+ml5+wSYLn7zinvV8DQCR7Rifotw3/dn3o+1PZFLd9el0+7e2J16qrGdyUuiA== X-Received: by 2002:a25:bb11:0:b0:668:f7ad:f446 with SMTP id z17-20020a25bb11000000b00668f7adf446mr13437457ybg.56.1656061253069; Fri, 24 Jun 2022 02:00:53 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a81:9b0e:0:b0:317:7fe0:b30 with SMTP id s14-20020a819b0e000000b003177fe00b30ls10157213ywg.4.gmail; Fri, 24 Jun 2022 02:00:50 -0700 (PDT) X-Received: by 2002:a81:6ed5:0:b0:313:9109:b86 with SMTP id j204-20020a816ed5000000b0031391090b86mr15700404ywc.509.1656061248569; Fri, 24 Jun 2022 02:00:48 -0700 (PDT) In-Reply-To: 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:30829 Archived-At: ------=_Part_1108_1899157817.1656061247905 Content-Type: multipart/alternative; boundary="----=_Part_1109_886277508.1656061247905" ------=_Part_1109_886277508.1656061247905 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I agree, but as I wrote in my fist post, the result is different... Le vendredi 24 juin 2022 =C3=A0 10:50:54 UTC+2, Bastien Dumont a =C3=A9crit= : > Sorry for the typo... But, as far as I can see, the syntax is the same fo= r=20 > headers: > > ``` > ## Header {#myhead} > > Reference to [myhead]. > > Reference to [my header](#myhead). > ``` > > Output: > > ``` >

Header

>

Reference to [myhead].

>

Reference to my header.

> ``` > > Le Friday 24 June 2022 =C3=A0 01:41:33AM, Louis a =C3=A9crit : > > I don't want an hyperlink but an internal link (#mypic in html). > >=20 > > What I can eventually do is [my picture](#mypic) > >=20 > > ...while for other labels like headers, it only requires [mypic] > >=20 > >=20 > > Le vendredi 24 juin 2022 =C3=A0 10:33:38 UTC+2, Bastien Dumont a =C3=A9= crit : > >=20 > > If your only goal is to create a hyperlink to your picture, you can ref= er > > to it with, e.g., [my picture](mypic). > >=20 > > Le Friday 24 June 2022 =C3=A0 01:27:28AM, Louis a =C3=A9crit : > > > Hello, > > > > > > I found some very old discussion on the subject, but I think it worth= =20 > it > > to > > > start a new one. > > > > > > If I define a figure with an attribute: > > > ![My pic](mypic.png){#mypic} > > > > > > I have indeed a label created. I can see it in latex or in html: > > > latex: \caption{My pic}\label{mypic} > > > html: > > > > > I think I should be able to refer to it with the syntax [mypic]. > > > > > > Unfortunately, the result differs: > > > latex: {[}mypic{]} > > > html:

Here is [s4overview]

> > > > > > What do you think ? > > > > > > Louis > > > > > > -- > > > You received this message because you are subscribed to the Google=20 > Groups > > > "pandoc-discuss" group. > > > To unsubscribe from this group and stop receiving emails from it, sen= d=20 > an > > email > > > to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > To view this discussion on the web visit [2][1] > https://groups.google.com/ > > d/msgid/ > > > pandoc-discuss/29a20ffb-c447-4645-8993-3e64938ae105n%[2] > > 40googlegroups.com. > > > > > > References: > > > > > > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > > [2] [3]https://groups.google.com/d/msgid/pandoc-discuss/ > > 29a20ffb-c447-4645-8993-3e64938ae105n% > 40googlegroups.com?utm_medium=3Demail& > > utm_source=3Dfooter > >=20 > >=20 > > -- > > You received this message because you are subscribed to the Google Grou= ps > > "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email > > to [4]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [5] > https://groups.google.com/d/msgid/ > > pandoc-discuss/ecffcdcd-1788-4565-881b-db436f030e8an%40googlegroups.com= . > >=20 > > References: > >=20 > > [1] https://groups.google.com/d/msgid/ > > [2] http://40googlegroups.com/ > > [3]=20 > https://groups.google.com/d/msgid/pandoc-discuss/29a20ffb-c447-4645-8993-= 3e64938ae105n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > > [4] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [5]=20 > https://groups.google.com/d/msgid/pandoc-discuss/ecffcdcd-1788-4565-881b-= db436f030e8an%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > > --=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/f8ad317a-57d3-490e-b42a-d74769d242f4n%40googlegroups.com. ------=_Part_1109_886277508.1656061247905 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I agree, but as I wrote in my fist post, the result is different...

=
Le vendre= di 24 juin 2022 =C3=A0 10:50:54 UTC+2, Bastien Dumont a =C3=A9crit=C2=A0:
Sorry for the = typo... But, as far as I can see, the syntax is the same for headers:

```
## Header {#myhead}

Reference to [myhead].

Reference to [my header](#myhead).
```

Output:

```
<h2 id=3D"myhead">Header</h2>
<p>Reference to [myhead].</p>
<p>Reference to <a href=3D"#myhead">my header<= /a>.</p>
```

Le Friday 24 June 2022 =C3=A0 01:41:33AM, Louis a =C3=A9crit :
> I don't want an hyperlink but an internal link (<url>#my= pic in html).
>=20
> What I can eventually do is [my picture](#mypic)
>=20
> ...while for other labels like headers, it only requires [mypic]
>=20
>=20
> Le vendredi 24 juin 2022 =C3=A0 10:33:38 UTC+2, Bastien Dumont a = =C3=A9crit=C2=A0:
>=20
> If your only goal is to create a hyperlink to your picture, yo= u can refer
> to it with, e.g., [my picture](mypic).
>=20
> Le Friday 24 June 2022 =C3=A0 01:27:28AM, Louis a =C3=A9crit :
> > Hello,
> >
> > I found some very old discussion on the subject, but I th= ink it worth it
> to
> > start a new one.
> >
> > If I define a figure with an attribute:
> > ![My pic](mypic.png){#mypic}
> >
> > I have indeed a label created. I can see it in latex or i= n html:
> > latex: \caption{My pic}\label{mypic}
> > html: <img src=3D"mypic.png" id=3D"mypi= c"
> >
> > I think I should be able to refer to it with the syntax [= mypic].
> >
> > Unfortunately, the result differs:
> > latex: {[}mypic{]}
> > html: <p>Here is [s4overview]</p>
> >
> > What do you think ?
> >
> > Louis
> >
> > --
> > You received this message because you are subscribed to t= he Google Groups
> > "pandoc-discuss" group.
> > To unsubscribe from this group and stop receiving emails = from it, send an
> email
> > to [1]pandoc-d= iscus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> > To view this discussion on the web visit [2][1]https://groups.google.com/
> d/msgid/
> > pandoc-discuss/29a20ffb-c447-4645-8993-3e64938ae105n%[2]
> 40googlegroups.com.
> >
> > References:
> >
> > [1] mailto:pan= doc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > [2] [3]https://groups.google.com/d/msgid/pandoc-discuss/<= /a>
> 29a20ffb-c447-4645-8993-3e64938ae105n%
40googlegroups.com?utm_med= ium=3Demail&
> utm_source=3Dfooter
>=20
>=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 email
> to [4]pandoc-discus...@= googlegroups.com.
> To view this discussion on the web visit [5]https://groups.google.com/d/msgid/
> pandoc-discuss/ecffcdcd-1788-4565-881b-db436f030e8an%40googlegroups.com.
>=20
> References:
>=20
> [1] https://groups.= google.com/d/msgid/
> [2] http://40googlegroups.com/
> [3] https://groups= .google.com/d/msgid/pandoc-discuss/29a20ffb-c447-4645-8993-3e64938ae105n%40= googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter
> [4] mailto:pandoc-discu= s...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [5] https://groups= .google.com/d/msgid/pandoc-discuss/ecffcdcd-1788-4565-881b-db436f030e8an%40= googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter

--
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/f8ad317a-57d3-490e-b42a-d74769d242f4n%40googlegroups.= com.
------=_Part_1109_886277508.1656061247905-- ------=_Part_1108_1899157817.1656061247905--