[NTG-context] footnote textseparator with interactions
Hello, See this MWE: \setupinteraction[state=start]%,focus=standard] \setupnote[footnote][textseparator=\textcomma] \starttext Sample \footnote{First} \footnote{Second} \stoptext With textseparator, the color of the two footnotes change. Why is that? Thanks, Hossein ___ 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] add more blank space when using \starteffect[hidden]
Dear Hans, I found a command \determinenoflines by googling. I made a MWE as following. It is working well. But I have to write the paragraph twice for couning. Is there a better way? Thank you again. Best regards, Dalyoung %%% \def\StartHide{\doifmode{hideSolution}{\starteffect[hidden]}} \def\StopHide{\doifmode{hideSolution}{\stopeffect\blank[\the\noflines*line + \the\noflines*halfline]}} \enablemode[hideSolution] \starttext The first line. \hrule \StartHide \samplefile{knuth} \determinenoflines{\samplefile{knuth}} \StopHide \hrule The second line. \hrule \StartHide \samplefile{ward} \determinenoflines{\samplefile{ward}} \StopHide \hrule The last line. \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] \binom has fraction line
On 3/16/2021 3:11 PM, Jacob Kauffmann wrote: Dear list, lmtx draws a fraction line in \binom{n}{k}, ConTeXt ver: 2021.02.23 17:47 LMTX fmt: 2021.2.26 int: english/english The same happens with {n \choose k}. The other version I tested draws it correctly (without the bar): ConTeXt ver: 2019.03.21 21:39 MKII fmt: 2019.11.14 int: english/english Is this a bug, or has the user interface changed? a bug .. i added some more control over the rule (more implcit than setting the line to zero) and forgot about atop .. i'll fix it Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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] Bug in lmt_shade[...=...,...=...]
On 3/16/2021 6:19 PM, Keith McKay wrote: Hi All I think a bug has appeared quite recently in the command, lmt_shade. A MWE below followed by the error output. indeed, fixed in next upload - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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] \binom has fraction line
Dear list, lmtx draws a fraction line in \binom{n}{k}, ConTeXt ver: 2021.02.23 17:47 LMTX fmt: 2021.2.26 int: english/english The same happens with {n \choose k}. The other version I tested draws it correctly (without the bar): ConTeXt ver: 2019.03.21 21:39 MKII fmt: 2019.11.14 int: english/english Is this a bug, or has the user interface changed? Best, Jacob Kauffmann ___ 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] Bug in lmt_shade[...=...,...=...]
Hi All I think a bug has appeared quite recently in the command, lmt_shade. A MWE below followed by the error output. Best Wishes Keith McKay \setuppapersize[A4,landscape][A4,landscape] \starttext \startMPpage StartPage; width := PaperWidth ; height := PaperHeight ; unit := cm ; definecolor [ name = "MyColor1", r = 0.781, g = 0.5, b = 0.5 ] ; definecolor [ name = "MyColor3", r = 1, g = 1, b = 0.7983 ] ; draw lmt_shade [ path = unitsquare xscaled width yscaled height, direction = "up", alternative = "linear", colors = { "MyColor1", "MyColor3" }, ] ; StopPage; \stopMPpage \stoptext %%%Error Log%%% system > system > ConTeXt ver: 2021.03.13 11:22 LMTX fmt: 2021.3.16 int: english/english system > system > 'cont-new.mkxl' loaded metapost > initializing instance 'metafun:1' using format 'metafun' and method 'default' metapost > loading 'metafun' as 'metafun.mpxl' using method 'default' metapost > initializing number mode 'scaled' metafun > log > metafun > log > error: Not a cycle metafun > log > metapost > log > metapost > log > withprescript metapost > log > ...asparameter"vector":center_a:=point(getparameter"vector"1)of.mfun_shade_path;center_b:=point(getparameter"vector"2)of.mfun_shade_path;fi.fill.mfun_shade_path.withprescript metapost > log > "sh_domain="... metapost > log > image->begingroup.save.currentpicture;picture.currentpicture;currentpicture:=nullpicture;(TEXT3) metapost > log > ;currentpicture.if.str(SUFFIX2)<>"":shifted(mfun_labxf(SUFFIX2)*lrcorner.p+mfun_labyf(SUFFIX2)*ulcorn... metapost > log > lmt_do_shade->...ve="circular":draw.fullcircle.scaled(radius_a)shifted.center_a.dashed.evenly;draw.fullcircle.scaled(factor*radius_b)shifted-center_b.dashed.evenly;fi.fi.popparameters;) metapost > log > endgroup metapost > log > lmt_do_shade metapost > log > metapost > log > <*> ...3", r = 1, g = 1, b = 0.7983 ] ; draw lmt_shade [ path = unitsquare xscaled width yscaled height, direction = "up", alternative = "linear", colors = { "MyColor1", "MyColor3" }, ] metafun > log > metafun > log > That contour should have ended with '.. cycle' or '& cycle'. So I'll not change anything just now. metafun > log > metapost > log > ; StopPage; ; metapost > log > ___ 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 ___