From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30834 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Reference to figures Date: Fri, 24 Jun 2022 09:58:48 +0000 Message-ID: References: <29a20ffb-c447-4645-8993-3e64938ae105n@googlegroups.com> <6c9c15fa-d57e-4348-bbf0-44f6a68a2e40n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20941"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBWUV22KQMGQEYJKXBWA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 24 11:58:53 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f61.google.com ([209.85.221.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o4g5V-0005Ig-Lz for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 24 Jun 2022 11:58:53 +0200 Original-Received: by mail-wr1-f61.google.com with SMTP id l9-20020adfa389000000b0021b8b489336sf229878wrb.13 for ; Fri, 24 Jun 2022 02:58:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1656064733; cv=pass; d=google.com; s=arc-20160816; b=AA4Js4HlxhqDr6Ep32c7IESbb5e+WQal59sov8vy3+xDmP97Bc51mH82ax7BjJezWc ziKO+1pzlh1GacYfciuRol/NAQvMgPiB9NG9ixF1UwbfQh27U9BWsrZ29cZbC99TyQl7 hH7D+8U8IcBVdGB1+VMAgUgfZvbOFsrnEY4gEB4zF/BkWP8+ZB7xuBjjJ2JprM1WuQiq XTiv7guYszvf6DjszngbyOjdYXHc2G4SmCtMYOmuwh56RF4QhG9JGVo4VvDcQ65Isjjs sBojCS0tofqbuo/i+HggG4+90U83JDa9gtjRT49Ku3NdTFIJjbQVstVJ5DQSFYQtAQA2 fjFQ== 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:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=a3qlmCnUbT0m9+/Y1e4xFxsE+Yb8KEingXyRrVOkMq0=; b=Ftnn7YNnsWwPwuFbBVt3UggWiCIbQuJyDfRh+KNM4Xze+iidOX8q6Zex+BHRiaSLi5 nnKMPjlKUWOrcO5rLCUUtE3jeeWrI/hqlV9i6NAXxEwWmUfaRT8pzLrjfvcW8NAu5RyP amz1dBINL5ODkzgWu606KOkcL3OOSlDm0+CyZZ3NHGZGtZb26y8QBEG2W1nsp2oKO2Jb Qaki6eYs6GgeKlSoZwcWOtVg+8j796ip9JRjCSJRC0GBpv7Eyx8O/PnkHpawsPA1y4yd IO8aGglTl8TP0mIvWDuQY3n8qHLcIQsjdKMmkKuJ4XYQ+kgzR1IpQam/raUyCS0/aZGE 2fnw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=rX2wHn5P; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-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=a3qlmCnUbT0m9+/Y1e4xFxsE+Yb8KEingXyRrVOkMq0=; b=Cb84K0bKt+bml0/yyCp1ZHqWUdb5nLelZFaU/Pi0Lof3Xp2OtNBNn2bhEvKpI7KLQ5 MTo0sqDDTuXx8aqbwKDgCY1vECpRb7maeblZtXM2ukRmSBW1d4CSK5UgWkTvJm9XigFb sZdxYklC05Ov3X3XVOYnFJJsC5PY7ZFk5Tk9g99uyGeTQVcdyWC4ZRcR5Ync0N7EIqW4 hpPoyiPuR8+sC8hY9bvcb3edpoGgUvgo92fh5S7BdgdtngEMvIIno0miNNe+mCXFozFa cHoBedQuvJ6WuF65mLroe0ADMDoQaXUW+Sekox/YpzEBD3tFWEe6fHiVD8izp1+kX9tB 6sug== 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:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-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=a3qlmCnUbT0m9+/Y1e4xFxsE+Yb8KEingXyRrVOkMq0=; b=cLDLJcNR/xsBEUOE8UYeWOzEa6gVjk/qRV09okKRgse5UyHSBIFMyonfi1SydCJlnU KcjsOki0H/NZY29xWf883XRPKcuwOCtjdsi38Seb823lUeIXzHxkD5mXuA8t5bH6nWEm 8Vzrd9BpmiR2CB+bvyzjTvqcxNVFsR8Ta7RxaooWJfDiNmKx6QF0qLgGgExcZIDMoKO1 k+CU1Lpc0xualKCV2kex61xtys1Xj6nK5UU46dFrhFk20Pl2Nxr7pWhaFGK288T5rOeX izeiOY+S5WzB1fkzemzH3r5ZjjTWj7B9A19rT/hOwSUt Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora9i1ljbRvXjgIl5F7dhr5T6rI5qtWdj6MyBm2+dARXSzFzmHQhk w0yK9u81b48+RIN6Lk1IQek= X-Google-Smtp-Source: AGRyM1ss/dwaqPnwMdAq8dBoV4n5osXFhn+Fhg0A1YizKYH+QuHW+ngyFy5V+KpVz0KXj1pGdUTxLQ== X-Received: by 2002:adf:df06:0:b0:21b:8c99:e7ce with SMTP id y6-20020adfdf06000000b0021b8c99e7cemr12503333wrl.568.1656064733244; Fri, 24 Jun 2022 02:58:53 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:600c:1d20:b0:39c:4b30:51b4 with SMTP id l32-20020a05600c1d2000b0039c4b3051b4ls11659128wms.3.canary-gmail; Fri, 24 Jun 2022 02:58:49 -0700 (PDT) X-Received: by 2002:a05:600c:1f05:b0:39c:51c6:7c85 with SMTP id bd5-20020a05600c1f0500b0039c51c67c85mr2816790wmb.33.1656064729751; Fri, 24 Jun 2022 02:58:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656064729; cv=none; d=google.com; s=arc-20160816; b=M1t2PEg7CIpOGuRqONFO12rOupruK5IorabC0cURd0CPZe789nJsd35el/WtuLfsO6 F1vHlLFDGi4hVUG7WanGTAV/jlVvUqm6D8Hwtqx2sJlHNL1XAisigHCkcZKe/8MDXoZb dyi210XJBcSYThAwxSQ/7t03BrgXKA02IP4TgVsz+oTda/Ymiq7RDDh3NGA9MDq7qfsx JZGtwxSOAr++bbnAyAvmIRFmCjJolvPPa287lW9RIR/J903r+RW+lsHG42f2W73ocVGY a9Q9YOBoOdeX8bpTh6PbHOSArVsjAPc034HOX3qz/wZHw4LtwOxt86YwoMDUXrFBZBXX +CRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=DB0ibxqTBraCo8tiwEy3LOuVLErK+azb0RsNfhuR6Gs=; b=PUHNdeYm5TzWj4p2z6KbiXZk39YzLAtri6sY4bGW+duP2nba7oxYQQ0C4mtxYj/v5q DBOKYn+dxMNVRFOMGikVnBBkKEFr7yyHOJMApGbZ7jg/OrOy27sOtiNFXeRM8NocZyHM WlMo5uZ1Kdk5LXvlkP7bMsyN3L8OQ9jFVFsbL7FjkLMAXvOw7hKz6BtGp4TBftOmoXqK OfXAx/2gMdVRj698BzFSmwOt0K8tUHsYxt9OCipynER1LskdEptgbm24MMfRmCfQBbbF mz8agZ+27iirehHvjWjyoNQ3A69chXtuf+MgGiB+1krVtfmEIfOQ0NftXe+nVYIYadKC 7d0A== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=rX2wHn5P; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout01.posteo.de (mout01.posteo.de. [185.67.36.65]) by gmr-mx.google.com with ESMTPS id i17-20020a7bc951000000b0039c903985c6si243288wml.2.2022.06.24.02.58.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jun 2022 02:58:49 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) client-ip=185.67.36.65; Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6FFE0240026 for ; Fri, 24 Jun 2022 11:58:49 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LTsyc6jvFz6tmj for ; Fri, 24 Jun 2022 11:58:48 +0200 (CEST) Content-Disposition: inline In-Reply-To: <6c9c15fa-d57e-4348-bbf0-44f6a68a2e40n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=rX2wHn5P; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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:30834 Archived-At: Sorry, I don't understand. Your explanations are simply too fragmentary. Ma= ybe someone else understood, but as a general rule, please give a sample in= put file and the output you get in both LaTeX and HTML and explain what is = problematic and why. In your commentary, please refer only to things that a= re in your sample file. Le Friday 24 June 2022 =C3=A0 02:26:31AM, Louis a =C3=A9crit : > As I wrote in my first post: >=20 > Unfortunately, the result differs: > latex: {[}mypic{]} > html:

Here is [s4overview]

>=20 > 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{} >=20 >=20 > Le vendredi 24 juin 2022 =C3=A0 11:10:24 UTC+2, Bastien Dumont a =C3=A9cr= it=C2=A0: >=20 > What differs from what and how should it be? >=20 > 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... > > > > Le vendredi 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 s= ame > for > > 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 ht= ml). > > > > > > 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=C2=A0: > > > > > > If your only goal is to create a hyperlink to your picture, you c= an > 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= 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: > > > > > > > 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 Goo= gle > > Groups > > > > "pandoc-discuss" group. > > > > To unsubscribe from this group and stop receiving emails from i= t, > 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:// > > [1]groups.google.com/ > > > d/msgid/ > > > > pandoc-discuss/29a20ffb-c447-4645-8993-3e64938ae105n%[2] > > > [2][2]40googlegroups.com. > > > > > > > > References: > > > > > > > > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > > > [2] [3][3][3]https://groups.google.com/d/msgid/pandoc-discuss/ > > > 29a20ffb-c447-4645-8993-3e64938ae105n%[4][4]40googlegroups.com? > utm_medium=3D > > email& > > > utm_source=3Dfooter > > > > > > > > > -- > > > You received this message because you are subscribed to the Googl= e > Groups > > > "pandoc-discuss" group. > > > To unsubscribe from this group and stop receiving emails from it,= send > an > > email > > > to [4]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > To view this discussion on the web visit [5][5][5]https:// > groups.google.com/ > > d/msgid/ > > > pandoc-discuss/ecffcdcd-1788-4565-881b-db436f030e8an%[6] > > [6]40googlegroups.com. > > > > > > References: > > > > > > [1] [7][7]https://groups.google.com/d/msgid/ > > > [2] [8][8]http://40googlegroups.com/ > > > [3] [9][9]https://groups.google.com/d/msgid/pandoc-discuss/ > > 29a20ffb-c447-4645-8993-3e64938ae105n%[10]40googlegroups.com?utm_me= dium=3D > email& > > utm_source=3Dfooter > > > [4] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > > [5] [10][11]https://groups.google.com/d/msgid/pandoc-discuss/ > > ecffcdcd-1788-4565-881b-db436f030e8an%[12]40googlegroups.com?utm_me= dium=3D > email& > > utm_source=3Dfooter > > > > > > -- > > 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, s= end an > email > > to [11]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [12][13]https:// > groups.google.com/d/msgid/ > > pandoc-discuss/f8ad317a-57d3-490e-b42a-d74769d242f4n%[14] > 40googlegroups.com. > > > > References: > > > > [1] [15]https://groups.google.com/ > > [2] [16]http://40googlegroups.com/ > > [3] [17]https://groups.google.com/d/msgid/pandoc-discuss/ > > [4] [18]http://40googlegroups.com/?utm_medium=3Demail& > > [5] [19]https://groups.google.com/d/msgid/ > > [6] [20]http://40googlegroups.com/ > > [7] [21]https://groups.google.com/d/msgid/ > > [8] [22]http://40googlegroups.com/ > > [9] [23]https://groups.google.com/d/msgid/pandoc-discuss/ > 29a20ffb-c447-4645-8993-3e64938ae105n%40googlegroups.com?utm_medium= =3Demail& > utm_source=3Dfooter > > [10] [24]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] [25]https://groups.google.com/d/msgid/pandoc-discuss/ > f8ad317a-57d3-490e-b42a-d74769d242f4n%40googlegroups.com?utm_medium= =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 [26]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [27]https://groups.google.com/d/= msgid/ > pandoc-discuss/6c9c15fa-d57e-4348-bbf0-44f6a68a2e40n%40googlegroups.com. >=20 > References: >=20 > [1] http://groups.google.com/ > [2] http://40googlegroups.com/ > [3] https://groups.google.com/d/msgid/pandoc-discuss/ > [4] http://40googlegroups.com/?utm_medium=3D > [5] https://groups.google.com/ > [6] http://40googlegroups.com/ > [7] https://groups.google.com/d/msgid/ > [8] http://40googlegroups.com/ > [9] https://groups.google.com/d/msgid/pandoc-discuss/ > [10] http://40googlegroups.com/?utm_medium=3Demail& > [11] https://groups.google.com/d/msgid/pandoc-discuss/ > [12] http://40googlegroups.com/?utm_medium=3Demail& > [13] https://groups.google.com/d/msgid/ > [14] http://40googlegroups.com/ > [15] https://groups.google.com/ > [16] http://40googlegroups.com/ > [17] https://groups.google.com/d/msgid/pandoc-discuss/ > [18] http://40googlegroups.com/?utm_medium=3Demail& > [19] https://groups.google.com/d/msgid/ > [20] http://40googlegroups.com/ > [21] https://groups.google.com/d/msgid/ > [22] http://40googlegroups.com/ > [23] https://groups.google.com/d/msgid/pandoc-discuss/29a20ffb-c447-4645-= 8993-3e64938ae105n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoote= r > [24] https://groups.google.com/d/msgid/pandoc-discuss/ecffcdcd-1788-4565-= 881b-db436f030e8an%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoote= r > [25] https://groups.google.com/d/msgid/pandoc-discuss/f8ad317a-57d3-490e-= b42a-d74769d242f4n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoote= r > [26] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [27] https://groups.google.com/d/msgid/pandoc-discuss/6c9c15fa-d57e-4348-= bbf0-44f6a68a2e40n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoote= r --=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/YrWK2MIKkkx1yG/i%40localhost.