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.

I guess in latex, the result should also be the same as headers: \protect\hyperlink{header}{Header}\ldots{} Le vendredi 24 juin 2022 à 11:10:24 UTC+2, Bastien Dumont a écrit : > What differs from what and how should it be? > > Le Friday 24 June 2022 à 02:00:47AM, Louis a écrit : > > I agree, but as I wrote in my fist post, the result is different... > > > > Le vendredi 24 juin 2022 à 10:50:54 UTC+2, Bastien Dumont a écrit : > > > > 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: > > > > ``` > >

Header

> >

Reference to [myhead].

> >

Reference to my header.

> > ``` > > > > Le Friday 24 June 2022 à 01:41:33AM, Louis a écrit : > > > 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 à 10:33:38 UTC+2, Bastien Dumont a écrit : > > > > > > If your only goal is to create a hyperlink to your picture, you can > refer > > > to it with, e.g., [my picture](mypic). > > > > > > Le Friday 24 June 2022 à 01:27:28AM, Louis a écrit : > > > > 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 Google > > Groups > > > > "pandoc-discuss" group. > > > > To unsubscribe from this group and stop receiving emails from it, > 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= > > email& > > > utm_source=footer > > > > > > > > > -- > > > 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...-/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=email& > > utm_source=footer > > > [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=email& > > utm_source=footer > > > > > > -- > > 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...-/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. > > > > References: > > > > [1] https://groups.google.com/ > > [2] http://40googlegroups.com/ > > [3] https://groups.google.com/d/msgid/pandoc-discuss/ > > [4] http://40googlegroups.com/?utm_medium=email& > > [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%40googlegroups.com?utm_medium=email&utm_source=footer > > [10] > https://groups.google.com/d/msgid/pandoc-discuss/ecffcdcd-1788-4565-881b-db436f030e8an%40googlegroups.com?utm_medium=email&utm_source=footer > > [11] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [12] > https://groups.google.com/d/msgid/pandoc-discuss/f8ad317a-57d3-490e-b42a-d74769d242f4n%40googlegroups.com?utm_medium=email&utm_source=footer > > -- 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/6c9c15fa-d57e-4348-bbf0-44f6a68a2e40n%40googlegroups.com.