adding url as a footnote in the caption of figure
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
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
participants (2)
-
Jeong Dal
-
Pablo Rodriguez