[NTG-context] two framed item lists side by side
Dear context user: I would like to put two itemized lists side by side (1cm between them), top aligned. I inserted each lists in framedtext and tried to use combinations but the distance between the two frames is too big, and the list are not top aligned. What would be a correct solution? I don't need the frame to be drawn. Why distance=1cm and width=12cm have no effect in my code? Thanks, bcsikos code: \setupitemize[each][packed,joinedup,n][stopper=.~,itemalign=flushright] \setupframedtext[width=5.5cm,frame=off,offset=0pt] \setupcombinations[width=12cm,distance=1cm] \starttext \startcombination[2] {\startframedtext \startitemize \item In The Flesh? 3:19 \item The Thin Ice 2:29 \item Another Brick In The Wall (Part 1)3:09 \item The Happiest Days Of Our Lives1:50 \stopitemize \stopframedtext }{}{ \startframedtext \startitemize \item Hey You 4:41 \item Is There Anybody Out There? 2:40 \stopitemize \stopframedtext }{} \stopcombination \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] align text and formula
Dear list members, The below solution stopped working in the latest bet (2017.01.27 14:39 MKIV beta) It is still workig fine using the wiki ConTeXt online. Has anything changed using this align feature? Kind regards, Jan Willem Flamma > > >> On 25 aug. 2016, at 13:52, Henri Menkewrote: >> >> Hi Jan, >> >> if I understood you correctly, this should produce what you are after. >> >> \starttext >> >> \startformula >> E = mc^2 >> \stopformula >> >> \startformula >> \startalign[m=3,align={middle},distance=0pt plus 1 fil] >> \NC \rlap{\text{Text1}} \NC\NC E=mc^2 \NR >> \NC \rlap{\text{This is an explanation}} \NC\NC E=mc^2 \NR >> \NC \rlap{\text{This is a very very very long explanation}} \NC\NC >> E=mc^2 \NR >> \stopalign >> \stopformula >> >> \stoptext >> >> The inner workings of this solution are quite messy. You *have* to have the >> \NC\NC between text and formula and the formula must not contain any further >> alignment points; text has to be enclosed in \rlap. As you can see it >> centers the formula unconditionally and just flows into the text if it >> doesn't fit. Just don't do it like this. >> >> Cheers, Henri >> >> On 08/24/2016 05:38 PM, Jan Willem Flamma wrote: >>> Hi Otared, >>> >>> I apologize for not explaining it better. >>> >>> Maybe the below example will illustrate better what I’m trying to achieve. >>> - The first formula is perfectly aligned. >>> - The bottom three formulas do not line up with the top formula >>> >>> I’m trying to align all formulas regardless of the amount of text added to >>> the left of the formula. >>> Of course I could add \qquad or \quad to try and manually align but >>> basically I’m interested to know if a fool proof method exist that aligns >>> all without using \\qquad or \quad >>> >>> \starttext >>> >>> % Mid-aligned formula >>> \startformula >>> E = mc^2 >>> \stopformula >>> >>> \setupformulas[align=flushleft] >>> \startformula >>> \startalign[n=3,align={left,middle}] >>> \NC \text{Text1} >>> \NC \qquad \NC E = mc^2\NR >>> \NC \text{This is an explanation} \NC \qquad >>> \NC E = mc^2 \NR >>> \NC \text{This is a longer explanation} \NC \qquad \NC E = >>> mc^2\NR >>> \stopalign >>> \stopformula >>> >>> \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 ___
[NTG-context] Evaluating a lua expression at the end (again)
Dear ConTeXt users, Last time, this is what I wanted, and Hans provided me an example: https://www.mail-archive.com/ntg-context@ntg.nl/msg78079.html However, the example given in that e-mail does not work with my Debian context 2016.05.17.20160523-1. Could you please help me out again? I get: /usr/share/texmf/tex/context/base/mkiv/core-uti.lua:165: attempt to index upvalue 'tobesavedmacros' (a nil value) Thanks. Kumar -- Kumar Appaiah ___ 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] \Umathquad\displaystyle not set
On Thu, Feb 9, 2017 at 2:31 AM, Aditya Mahajanwrote: > On Wed, 8 Feb 2017, Kumar Appaiah wrote: > >> Dear ConTeXt users, >> >> I have a custom slide template that I borrowed from another source >> years ago. It works well on my Debian machine, but when I try to build >> the PDF on a docker vm on Gitlab, I run into the >> \Umathquad\displaystyle not set error. Surprisingly, that error > > > This usually means a missing math font. > > Note that your log file says > > fonts > typescripts > unknown library 'neoeuler' > > Have you installed the font in your docker image? Thanks Aditya. Indeed, euler.otf was missing. BTW, did I steal this slide style from you, by any chance? I couldn't find out from a cursory search. Kumar ___ 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 ___