Re: [NTG-context] adding url as a footnote in the caption of figure

2020-12-30 Thread Jeong Dal
Dear Pablo,

Thank you for your reply.
I just search wiki not the mailing list. I never used \setupnote before.

> I would say that LMTX is causing an issue here (but for sure Hans knows
> better).
> 
> The issue with your MWE is solved by adding:
> 
>  \setupnote[footnote][width=\textwidth]

It works fine.

Thanks again.

Best regards,

Dalyoung___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] adding url as a footnote in the caption of figure

2020-12-29 Thread Jeong Dal

Hi,

I am trying to add a url as a footnote in the caption.
There is no error, but it is written in two lines in the footnote.
I also try \hyphenatedurl, \letterslash in the wiki, but it is no use.
I am using "ConTeXt  ver: 2020.12.22 22:14 LMTX”.

Thank you for reading.

Best regards,

Dalyoung

Here is a MWE.

\useMPlibrary[dum]
\unexpanded\def\myurl#1{%
\bgroup{\hyphenatedurl{#1}}\egroup}

\starttext
\startplacefigure[]
{\startcombination[2*1]
{\externalfigure[dummyz][width=.35\makeupwidth]}{Pegasus\footnote{\myurl{https://www.mcescher.com/gallery\letterslash
 recognition-success/no-105-pegasus/}}}
{\externalfigure[dummy][width=.35\makeupwidth]}{Birds\footnote{\myurl{https://www.mcescher.com/gallery/recognition-success/no-128-bird/}}}
\stopcombination}
\stopplacefigure

\stoptext

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] adding url as a footnote in the caption of figure

2020-12-29 Thread Pablo Rodriguez
On 12/29/20 8:23 PM, Jeong Dal wrote:
> [...]
> I am trying to add a url as a footnote in the caption.
> There is no error, but it is written in two lines in the footnote.
> I also try \hyphenatedurl, \letterslash in the wiki, but it is no use.
> I am using "ConTeXt  ver: 2020.12.22 22:14 LMTX”.

Hi Dalyoung,

I would say that LMTX is causing an issue here (but for sure Hans knows
better).

The issue with your MWE is solved by adding:

  \setupnote[footnote][width=\textwidth]

Just in case it helps,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___