From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30832 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:26:31 -0700 (PDT) Message-ID: <6c9c15fa-d57e-4348-bbf0-44f6a68a2e40n@googlegroups.com> 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_2488_440784237.1656062791858" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21289"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDF2FVVUQMIBBSEG22KQMGQEFKWIPQA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 24 11:26:38 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f184.google.com ([209.85.128.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o4faG-0005G1-89 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 24 Jun 2022 11:26:36 +0200 Original-Received: by mail-yw1-f184.google.com with SMTP id 00721157ae682-3178d560c16sf17336967b3.8 for ; Fri, 24 Jun 2022 02:26:36 -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=sJbxFNTT1g94Zbdxqa9Z2vbHQKmb8YT/yWp6uXAGpwk=; b=GZDfdRvSbvlAQnLPQImI7eTvusFU/c+GRXgUlnJN3JcznMjCE2gpKGqhiBaCDSR3lL dFiEcFQmqVwLvrGhG5NnxgqhcbRwWNF1/5ADpR/qMKVNjdEuVey5AcCI7v5DiFrNf9Rp ynKPl5Mj80hi7jIHVspMvHCHFSRs9qKSPCuWB1Vo0lTVxpOY6izB+17Tv1cZZxQ+S8JV 4qiEqqb/Je7mWkV1Y4B8ib1x71MrWg3ObB+Kz9NGkEW9F/CqkTse3rQZu/UmijOffbLF 5YJqTHZfc1DLcqCR6qnf8aZdHRUCFwhNLLi83x9i2c26eecSY3uzFnOnqh3xEmgEa6OS rnDg== 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=sJbxFNTT1g94Zbdxqa9Z2vbHQKmb8YT/yWp6uXAGpwk=; b=wxVeBOmuR/9PtcXBgIjDhZUXucdtR4h2EfsMgZFvavm7PTBTakIBtKf4XUbwaoVQLu /VvIM7GT7C+2fF70x8NTtkCD0WoEgz+2QHBXINdRLtAhhWErU9G+tXLb/mv2goPn7ckS d3Y+ii2KdfQ1T0gZv0RFmcyKw3/qh7YKpNZljg+gf/3HaqYVSkEEnmPHWkgx285ACUgX ll+6j8yKirMiFy4mpt4nJ7cgdWw5Qmmzm8ci6pkOt1lynW0Qk+egvIuhgtSe+F+o8gDK l90PtsLF5cIDYeLgfnDK0IhjIks2dYUe6HlYbxYN0+i+sYDbAG1M/Vue4u3i1dQ5c+gR apSQ== 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=sJbxFNTT1g94Zbdxqa9Z2vbHQKmb8YT/yWp6uXAGpwk=; b=UqQcbHhoa8os5Rv3wJFUZyS6uCrYe77g2Lx80GC+UprGf4bCcjhvdi5QqIMbQUvQX2 vskJ6artyn0AHm5NMO9QNegQXAyxaOIYXEJHuHGNiINXDLDAHCFE0b9QzCqdfuAysEhG kvQQbUO30SdktDh6SiOSjDH2k5VNfJDpRiPeZ5Ro6GeSWlRWufUnGM3jMxKqHJv8X2AC scoki5xo696lF9eL7f0U4rCe8okmKuEK3+iKObvh700NqODj5Jn44tdkZdzWOnqqUwRo KWrT6WxWUjC3TYHe3aP6xWdUXHfjtfjDmoHerm8dDfEKlCr5C28yBHElvN20E/j0+bmR iEyw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora+fA9vXd+YdjIZQSa25b+ydrzIGYW/VRnGPdrI5kIhJ11x3mVm7 ZScLqU9jf+zHtX9/l1fYdOs= X-Google-Smtp-Source: AGRyM1uOZkYaBXtfLkhOSipsB+bnDSU3Z0UZTXm0syMW39lqFg5fCi2gVAk/ixNDOwKwluUskVENmQ== X-Received: by 2002:a81:a10b:0:b0:317:98f5:97db with SMTP id y11-20020a81a10b000000b0031798f597dbmr16351442ywg.382.1656062795171; Fri, 24 Jun 2022 02:26:35 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6902:120e:b0:669:ae9d:b421 with SMTP id s14-20020a056902120e00b00669ae9db421ls2639006ybu.0.gmail; Fri, 24 Jun 2022 02:26:32 -0700 (PDT) X-Received: by 2002:a25:4e04:0:b0:664:8e03:e6a with SMTP id c4-20020a254e04000000b006648e030e6amr14699483ybb.471.1656062792457; Fri, 24 Jun 2022 02:26:32 -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:30832 Archived-At: ------=_Part_2488_440784237.1656062791858 Content-Type: multipart/alternative; boundary="----=_Part_2489_986964735.1656062791858" ------=_Part_2489_986964735.1656062791858 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable As I wrote in my first post: Unfortunately, the result differs: latex: {[}mypic{]} html:

Here is [s4overview]

And you just wrote:

Reference to my header.

=20 I guess in latex, the result should also be the same as headers: \protect\hyperlink{header}{Header}\ldots{} Le vendredi 24 juin 2022 =C3=A0 11:10:24 UTC+2, Bastien Dumont a =C3=A9crit= : > What differs from what and how should it be? > > Le Friday 24 June 2022 =C3=A0 02:00:47AM, Louis a =C3=A9crit : > > I agree, but as I wrote in my fist post, the result is different... > >=20 > > Le vendredi 24 juin 2022 =C3=A0 10:50:54 UTC+2, Bastien Dumont a =C3=A9= crit : > >=20 > > Sorry for the typo... But, as far as I can see, the syntax is the same= =20 > for > > headers: > >=20 > > ``` > > ## Header {#myhead} > >=20 > > Reference to [myhead]. > >=20 > > Reference to [my header](#myhead). > > ``` > >=20 > > Output: > >=20 > > ``` > >

Header

> >

Reference to [myhead].

> >

Reference to my header.

> > ``` > >=20 > > 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). > > > > > > What I can eventually do is [my picture](#mypic) > > > > > > ...while for other labels like headers, it only requires [mypic] > > > > > > > > > Le vendredi 24 juin 2022 =C3=A0 10:33:38 UTC+2, Bastien Dumont a =C3= =A9crit : > > > > > > If your only goal is to create a hyperlink to your picture, you can= =20 > refer > > > to it with, e.g., [my picture](mypic). > > > > > > 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 wor= th > > 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 > > Groups > > > > "pandoc-discuss" group. > > > > To unsubscribe from this group and stop receiving emails from it,= =20 > send > > an > > > email > > > > to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > > To view this discussion on the web visit [2][1][1]https:// > > groups.google.com/ > > > d/msgid/ > > > > pandoc-discuss/29a20ffb-c447-4645-8993-3e64938ae105n%[2] > > > [2]40googlegroups.com. > > > > > > > > References: > > > > > > > > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > > > [2] [3][3]https://groups.google.com/d/msgid/pandoc-discuss/ > > > 29a20ffb-c447-4645-8993-3e64938ae105n%[4] > 40googlegroups.com?utm_medium=3D > > email& > > > utm_source=3Dfooter > > > > > > > > > -- > > > 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 [4]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > To view this discussion on the web visit [5][5] > https://groups.google.com/ > > d/msgid/ > > > pandoc-discuss/ecffcdcd-1788-4565-881b-db436f030e8an%[6] > > 40googlegroups.com. > > > > > > References: > > > > > > [1] [7]https://groups.google.com/d/msgid/ > > > [2] [8]http://40googlegroups.com/ > > > [3] [9]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] [10]https://groups.google.com/d/msgid/pandoc-discuss/ > > ecffcdcd-1788-4565-881b-db436f030e8an% > 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 [11]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [12] > https://groups.google.com/d/msgid/ > > pandoc-discuss/f8ad317a-57d3-490e-b42a-d74769d242f4n%40googlegroups.com= . > >=20 > > References: > >=20 > > [1] https://groups.google.com/ > > [2] http://40googlegroups.com/ > > [3] https://groups.google.com/d/msgid/pandoc-discuss/ > > [4] http://40googlegroups.com/?utm_medium=3Demail& > > [5] https://groups.google.com/d/msgid/ > > [6] http://40googlegroups.com/ > > [7] https://groups.google.com/d/msgid/ > > [8] http://40googlegroups.com/ > > [9]=20 > https://groups.google.com/d/msgid/pandoc-discuss/29a20ffb-c447-4645-8993-= 3e64938ae105n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > > [10]=20 > https://groups.google.com/d/msgid/pandoc-discuss/ecffcdcd-1788-4565-881b-= db436f030e8an%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > > [11] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [12]=20 > https://groups.google.com/d/msgid/pandoc-discuss/f8ad317a-57d3-490e-b42a-= d74769d242f4n%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/6c9c15fa-d57e-4348-bbf0-44f6a68a2e40n%40googlegroups.com. ------=_Part_2489_986964735.1656062791858 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
As I wrote in my first post:

Unfortunat= ely, the result differs:
  latex: {[}mypic{]}
  html: <p>Here is [s4overview]</p&= gt;

And you just wrote:
<p>= Reference to <a href=3D"#myhead">my header</a>.</p>
<= /div>

I guess in latex, the result should also be the sa= me as headers:
  \protect\hyperlink{header}{Header}\ldots{}<= /div>


Le vendredi 24 juin 2022 =C3=A0 11:10:24 UTC+2, B= astien Dumont a =C3=A9crit=C2=A0:
What differs from what and how should it be?

Le Friday 24 June 2022 =C3=A0 02:00:47AM, Louis a =C3=A9crit :
> I agree, but as I wrote in my fist post, the result is different..= .
>=20
> Le vendredi 24 juin 2022 =C3=A0 10:50:54 UTC+2, Bastien Dumont a = =C3=A9crit=C2=A0:
>=20
> Sorry for the typo... But, as far as I can see, the syntax is = the same for
> headers:
>=20
> ```
> ## Header {#myhead}
>=20
> Reference to [myhead].
>=20
> Reference to [my header](#myhead).
> ```
>=20
> Output:
>=20
> ```
> <h2 id=3D"myhead">Header</h2>
> <p>Reference to [myhead].</p>
> <p>Reference to <a href=3D"#myhead">my h= eader</a>.</p>
> ```
>=20
> Le Friday 24 June 2022 =C3=A0 01:41:33AM, Louis a =C3=A9crit :
> > I don't want an hyperlink but an internal link (<u= rl>#mypic in html).
> >
> > What I can eventually do is [my picture](#mypic)
> >
> > ...while for other labels like headers, it only requires = [mypic]
> >
> >
> > Le vendredi 24 juin 2022 =C3=A0 10:33:38 UTC+2, Bastien D= umont a =C3=A9crit=C2=A0:
> >
> > If your only goal is to create a hyperlink to your pictur= e, you can refer
> > to it with, e.g., [my picture](mypic).
> >
> > Le Friday 24 June 2022 =C3=A0 01:27:28AM, Louis a =C3=A9c= rit :
> > > Hello,
> > >
> > > I found some very old discussion on the subject, but= I think 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 in html:
> > > latex: \caption{My pic}\label{mypic}
> > > html: <img src=3D"mypic.png" id=3D"= ;mypic"
> > >
> > > I think I should be able to refer to it with the syn= tax [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 the Google
> Groups
> > > "pandoc-discuss" group.
> > > To unsubscribe from this group and stop receiving em= ails from it, send
> an
> > email
> > > to [1]pan= doc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> > > To view this discussion on the web visit [2][1][1]ht= tps://
> groups.google.com/
> > d/msgid/
> > > pandoc-discuss/29a20ffb-c447-4645-8993-3e64938ae105n= %[2]
> > [2]40googlegroups.com.
> > >
> > > References:
> > >
> > > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > > [2] [3][3]https://groups.google.com/d/msgid/pandoc-d= iscuss/
> > 29a20ffb-c447-4645-8993-3e64938ae105n%[4]40googlegroups.com?utm_medium=3D
> email&
> > utm_source=3Dfooter
> >
> >
> > --
> > 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 [4]pandoc-d= iscus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> > To view this discussion on the web visit [5][5]https://groups.google.com/
> d/msgid/
> > pandoc-discuss/ecffcdcd-1788-4565-881b-db436f030e8an%[6]
> 40googlegroups.com.
> >
> > References:
> >
> > [1] [7]https= ://groups.google.com/d/msgid/
> > [2] [8]http://40googlegroups= .com/
> > [3] [9]https://groups.google.com/d/msgid/pandoc-discuss/<= /a>
> 29a20ffb-c447-4645-8993-3e64938ae105n%
40googlegroups.com?utm_med= ium=3Demail&
> utm_source=3Dfooter
> > [4] mailto:pan= doc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > [5] [10]https://groups.google.com/d/msgid/pandoc-discuss/=
> ecffcdcd-1788-4565-881b-db436f030e8an%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 [11]pandoc-discus...= @googlegroups.com.
> To view this discussion on the web visit [12]https://groups.google.com/d/msgid/
> pandoc-discuss/f8ad317a-57d3-490e-b42a-d74769d242f4n%40googlegroups.com.
>=20
> References:
>=20
> [1] https://groups.google.com/
> [2] http://40googlegroups.com/
> [3] https://groups.google.com/d/msgid/pandoc-discuss/
> [4] http://40googlegroups.com/?utm_medium=3Demail&
> [5] https://groups.= google.com/d/msgid/
> [6] http://40googlegroups.com/
> [7] https://groups.= google.com/d/msgid/
> [8] http://40googlegroups.com/
> [9] https://groups= .google.com/d/msgid/pandoc-discuss/29a20ffb-c447-4645-8993-3e64938ae105n%40= googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter
> [10] https://group= s.google.com/d/msgid/pandoc-discuss/ecffcdcd-1788-4565-881b-db436f030e8an%4= 0googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter
> [11] mailto:pandoc-disc= us...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [12] https://group= s.google.com/d/msgid/pandoc-discuss/f8ad317a-57d3-490e-b42a-d74769d242f4n%4= 0googlegroups.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/6c9c15fa-d57e-4348-bbf0-44f6a68a2e40n%40googlegroups.= com.
------=_Part_2489_986964735.1656062791858-- ------=_Part_2488_440784237.1656062791858--