Re: [NTG-context] footnotes in captions in floatcombinations
Hi, I still would be happy about answers to the following questions: > Am 02.10.2020 um 12:13 schrieb Henning Hraban Ramm : > > - Would it be possible to do the footnote numbering after the float > placement, so that a footnote in a float caption keeps the reading order of > numbers and gets its place on the right page? > > – As a workaround, how can I use \placefigure in the middle of a paragraph > without breaking it? And I isolated another problem, or even two: \usemodule[visual] \definecolor[fakerulecolor][c=.2,m=.1,k=.2] \useMPlibrary[dum] \automigrateinserts % nop in LMTX \showframe \setupcaptions[ headstyle={\ss\bfx}, align={flushleft,high}, prefixsegments=none, location={bottom,low}, hang=yes, ] \setupfootnotes[ width=\textwidth, ] \starttext \startplacefigure[location=page,title={\fakewords{5}{7}\footnote{\fakewords{20}{30}}}]% rId128 \externalfigure[dummy][width=\textwidth,height=.66\textheight] \stopplacefigure \fakewords{5}{10} \stoptext In this example, the footnote is broken to the next page, even if there’s plenty of space. How can I avoid that? If I put it in a \vbox, the footnote number is too low. Additionally and strangely, the float page is doubled. I experienced that sometimes with last pages of documents. That must be a bug. Hraban ___ 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] Beamer --> ConTeXt (sample)
On Fri, Oct 09, 2020 at 04:01:39PM -0400, Aditya Mahajan wrote: > Agreed. I find that all beamer presentations look the same and it can > be difficult to change the look and feel of beamer presentations. Indeed. > A presentation is just a regular document with small margins and some > color :-) :-) > Here is an old blog post on how to get to a decent presentation layout > step-by-step. > > https://adityam.github.io/context-blog/post/presentation-40-commits-redux/ Wow! This is very useful, thanks a lot!! > I also extensively use layers for absolute placement of content, which > is more powerful than the simple two columns which beamer provides. Thank youm will study them... Sincerely, Gour -- The senses are so strong and impetuous, O Arjuna, that they forcibly carry away the mind even of a man of discrimination who is endeavoring to control them. ___ 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] Beamer --> ConTeXt (sample)
On Fri, Oct 09, 2020 at 07:57:56PM +0200, Henning Hraban Ramm wrote: > If you need columns, look into columnsets: > https://wiki.contextgarden.net/Columns#Column_Sets > > Read https://wiki.contextgarden.net/Layers and play around with layers. > (But your example doesn’t need layers at all.) > > Here’s an example of the drop shadow: > https://wiki.contextgarden.net/Drop_shadows > > Also, there’s a number of presentation styles in the distribution. > The wiki page https://wiki.contextgarden.net/Presentation_Styles is outdated > but might give you some hints. > Feel free to update it. Thank you very much for all the links as well as for download link (from another msg)!! Sincerely, Gour -- One must deliver himself with the help of his mind, and not degrade himself. The mind is the friend of the conditioned soul, and his enemy as well. ___ 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] Lua equivalent of \getvariable{}{}
Dear list, I have the following sample: \starttext \ctxlua{ context.setvariable("environment", "filename", "abc123") } \ctxlua{ c = context.getvariable("environment", "filename") or "a" } \ctxlua{ d = [[\env{filename}]] } c: \cldcontext{c}\\ \doifelse{\cldcontext{c:match("\letterpercent d+")}} {123}{yes}{no}\\ d: \cldcontext{d}\\ \doifelse{\cldcontext{d:match("\letterpercent d+")}} {123}{yes}{no} \stoptext Which is the Lua equivalent of \getvariable{}{}? I get nil now. BTW, I wonder why \setvariable prints the variable, botn in Lua and ConTeXt. Many thanks for your help, 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 ___