* How to get a \in instead of a \goto in ConTeXt output?
@ 2021-06-20 19:09 'juh' via pandoc-discuss
2021-06-20 19:23 ` BPJ
0 siblings, 1 reply; 4+ messages in thread
From: 'juh' via pandoc-discuss @ 2021-06-20 19:09 UTC (permalink / raw)
To: Pandoc Mailinglist
[-- Attachment #1: Type: text/plain, Size: 639 bytes --]
Hi all,
with this code I get a placefigure with a label id in ConTeXt output.
![My caption](./images/header/souveraenitaet.png){#id width=100%}
How can I get a \in{Figure}[id] in ConTeXt code to get a numbered link
resulting in something like this:
In figure 1.1 you see a dog.
When I simply use [figure](#id) I get the command \goto{figure}[id]
which results in a simple text link.
TIA
Jan Ulrich Hasecke
--
Autoren-Homepage: ......... http://literatur.hasecke.com
Satiren & Essays: ......... http://www.sudelbuch.de
Privater Blog: ............ http://www.hasecke.eu
Netzliteratur-Projekt: .... http://www.generationenprojekt.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to get a \in instead of a \goto in ConTeXt output?
2021-06-20 19:09 How to get a \in instead of a \goto in ConTeXt output? 'juh' via pandoc-discuss
@ 2021-06-20 19:23 ` BPJ
[not found] ` <CADAJKhB0SC1pNFFhfmhmcTojY_jurFaX_Oi1xc=syZgwOqgP8g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: BPJ @ 2021-06-20 19:23 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1: Type: text/plain, Size: 1805 bytes --]
https://github.com/lierdakil/pandoc-crossref
May not give you the most idiomatic ConTeXt but I believe the result will
look right.
Den sön 20 juni 2021 21:10'juh' via pandoc-discuss <
pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> skrev:
> Hi all,
>
> with this code I get a placefigure with a label id in ConTeXt output.
>
> ![My caption](./images/header/souveraenitaet.png){#id width=100%}
>
> How can I get a \in{Figure}[id] in ConTeXt code to get a numbered link
> resulting in something like this:
>
> In figure 1.1 you see a dog.
>
> When I simply use [figure](#id) I get the command \goto{figure}[id]
> which results in a simple text link.
>
> TIA
> Jan Ulrich Hasecke
>
> --
> Autoren-Homepage: ......... http://literatur.hasecke.com
> Satiren & Essays: ......... http://www.sudelbuch.de
> Privater Blog: ............ http://www.hasecke.eu
> Netzliteratur-Projekt: .... http://www.generationenprojekt.de
>
>
> --
> 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/20210620190932.GA25367%40sokrates
> .
>
--
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/CADAJKhB0SC1pNFFhfmhmcTojY_jurFaX_Oi1xc%3DsyZgwOqgP8g%40mail.gmail.com.
[-- Attachment #2: Type: text/html, Size: 3113 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to get a \in instead of a \goto in ConTeXt output?
[not found] ` <CADAJKhB0SC1pNFFhfmhmcTojY_jurFaX_Oi1xc=syZgwOqgP8g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2021-11-10 15:52 ` 'juh' via pandoc-discuss
2021-11-10 16:11 ` Bastien DUMONT
0 siblings, 1 reply; 4+ messages in thread
From: 'juh' via pandoc-discuss @ 2021-11-10 15:52 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 973 bytes --]
Hi all,
sorry for the late reply, but I lost this on my todo list.
Am Sun, Jun 20, 2021 at 09:23:54PM +0200 schrieb BPJ:
> https://github.com/lierdakil/pandoc-crossref
>
> May not give you the most idiomatic ConTeXt but I believe the result will
> look right.
This only works with LaTeX, I fear.
> > with this code I get a placefigure with a label id in ConTeXt output.
> >
> > ![My caption](./images/header/souveraenitaet.png){#id width=100%}
> >
> > How can I get a \in{Figure}[id] in ConTeXt code to get a numbered link
> > resulting in something like this:
> >
> > In figure 1.1 you see a dog.
> >
> > When I simply use [figure](#id) I get the command \goto{figure}[id]
> > which results in a simple text link.
Any other hint?
TIA
juh
--
Autoren-Homepage: ......... http://literatur.hasecke.com
Satiren & Essays: ......... http://www.sudelbuch.de
Privater Blog: ............ http://www.hasecke.eu
Netzliteratur-Projekt: .... http://www.generationenprojekt.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to get a \in instead of a \goto in ConTeXt output?
2021-11-10 15:52 ` 'juh' via pandoc-discuss
@ 2021-11-10 16:11 ` Bastien DUMONT
0 siblings, 0 replies; 4+ messages in thread
From: Bastien DUMONT @ 2021-11-10 16:11 UTC (permalink / raw)
To: 'juh' via pandoc-discuss
Using [figure \ref[number][id]](#id) will produce in the TeX file \goto{figure \ref[number][id]}[fig], which is equivalent to \in{figure}[id]. The addition of the \ref command can be automatized via a filter so as not to overload your md file.
Le Wednesday 10 November 2021 à 04:52:31PM, 'juh' via pandoc-discuss a écrit :
> Hi all,
>
> sorry for the late reply, but I lost this on my todo list.
>
> Am Sun, Jun 20, 2021 at 09:23:54PM +0200 schrieb BPJ:
> > https://github.com/lierdakil/pandoc-crossref
> >
> > May not give you the most idiomatic ConTeXt but I believe the result will
> > look right.
>
> This only works with LaTeX, I fear.
>
> > > with this code I get a placefigure with a label id in ConTeXt output.
> > >
> > > ![My caption](./images/header/souveraenitaet.png){#id width=100%}
> > >
> > > How can I get a \in{Figure}[id] in ConTeXt code to get a numbered link
> > > resulting in something like this:
> > >
> > > In figure 1.1 you see a dog.
> > >
> > > When I simply use [figure](#id) I get the command \goto{figure}[id]
> > > which results in a simple text link.
>
> Any other hint?
>
> TIA
> juh
>
> --
> Autoren-Homepage: ......... http://literatur.hasecke.com
> Satiren & Essays: ......... http://www.sudelbuch.de
> Privater Blog: ............ http://www.hasecke.eu
> Netzliteratur-Projekt: .... http://www.generationenprojekt.de
>
>
> --
> 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/YYvqv37XEp7Xpoif%40sokrates.
--
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/YYvvNm5VP3H0a1WM%40localhost.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-11-10 16:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-20 19:09 How to get a \in instead of a \goto in ConTeXt output? 'juh' via pandoc-discuss
2021-06-20 19:23 ` BPJ
[not found] ` <CADAJKhB0SC1pNFFhfmhmcTojY_jurFaX_Oi1xc=syZgwOqgP8g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-11-10 15:52 ` 'juh' via pandoc-discuss
2021-11-10 16:11 ` Bastien DUMONT
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).