Re: [NTG-context] Equation alignment

2021-09-07 Thread Jeong Dal via ntg-context
Dear Sylvain, I am using ’\startalign’ > > \starttext > \startformula > \eqalign{ > ax^2+bx+c &= 0 \cr > x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \cr > } > \stopformula > \stoptext > \starttext \startformula \startalign \NC ax^2 + bx + c \NC = 0 \NR \NC x \NC = = \frac{-b \pm \sqrt{b^2-4ac}}{2a}

[NTG-context] using a red frame as an overlay

2021-08-02 Thread Jeong Dal via ntg-context
Hi, I used red frame which is in the metafun manual for long time. But it is not working now. Here is a MWE and a part of the log file. What should I change in the definitions? I am using "ConTeXt ver: 2021.07.10 21:51 LMTX fmt: 2021.7.12 int: english/english”. framed Text with

Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Jeong Dal
Dear Hans, Wolfgang, Both of your methods are working well. Using \frame, the \dorecurse problem is solved. \starttext \startanimation[menu=yes] \dorecurse{10} { \frame{\useMPgraphic[stacking={#1}]{demo}}} \stopanimation \stoptext Thank you for your solutions. Best regards, Dalyoung

Re: [NTG-context] weekend upload

2021-07-13 Thread Jeong Dal
Dear Aditya, > You cannot use [offset=2mm] here. Just use \startuseMPgraphic{boxes}. > After remove [offset=smm], it is working well. Thank you for the solution. Best regards, Dalyoung ___ If your question is of

Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Jeong Dal
Dear Hans, Aditya, Now, I understand the stacking method. I made a simple animation using it. \startuseMPgraphic{demo} for i=1 upto 10: draw fullcircle scaled (.3*i*cm) withcolor (.1*i*red) withpen pencircle scaled (.5*bp) withstacking i; endfor; \stopuseMPgraphic

Re: [NTG-context] weekend upload

2021-07-12 Thread Jeong Dal
Dear Aditya, Thank you for your code and an explanation. > Let's assume that the last MPpage was a \startuseMPgraphic{boxes} > \stopuseMPgraphic. Suppose I wanted to use these pictures in a presentation. > On the first slide, I can use > >\useMPgraphic[stacking=0]{boxes} > > to show

Re: [NTG-context] Delivering the value of a variable in MetaFun to ConTeXt

2021-06-25 Thread Jeong Dal
Dear Aditya and Hans, Thank you for your suggestion. I add > \startMPcalculation > > \stopMPcalculation and it works. \setupinteraction[state=start] \usemodule[animation] \starttext %\startanimation[menu=yes] %{ \startMPcalculation path p; \stopMPcalculation \dorecurse{\udCount}

Re: [NTG-context] simplifying repeated macro calls in metafun

2021-06-25 Thread Jeong Dal
Dear Aditya, > A while back, I wrote some code to easily generate metapost animations. > > https://adityam.github.io/context-blog/post/metapost-animation/ > > I haven't used it much because I am mostly on linux, and its is a PITA to get > an older version of Adobe Reader to work under wine.

Re: [NTG-context] Delivering the value of a variable in MetaFun to ConTeXt

2021-06-24 Thread Jeong Dal
Dear Hans, Your code works fine. > \starttext > > \startMPcode >numeric maxCount; >maxCount := 10; >setglobalmacro("MyMacro",decial maxCount); >setglobalcount("MyCount",maxCount); > \stopMPcode > > > \dorecurse{\MyMacro}{It is \recurselevel. }\par > \dorecurse{\MyCount}{It is

Re: [NTG-context] simplifying repeated macro calls in metafun

2021-06-23 Thread Jeong Dal
Dear Otared, > > Regarding the way Aditya uses \startuseMPgraphic, it is also very > instructive. > Dalyoung, can you also share the animation example for the foldings ? I am > sure we are a few on the list to learn something… > 1. Here is the working sample of animation using

[NTG-context] Delivering the value of a variable in MetaFun to ConTeXt

2021-06-23 Thread Jeong Dal
Hi, Is there a way to deliver the value of a variable in MetaFun to ConTeXt. For example, I want to do the following: \starttext \startMPcode numeric maxCount; % … some code maxCount := 10; \stopMPcode dorecurse{maxCount} {It is \recurselevel.\par} \stoptext Thank you for reading. Best

Re: [NTG-context] simplifying repeated macro calls in metafun

2021-06-21 Thread Jeong Dal
Dear Otared, I received list mail in condensed form, I didn’t see your mail before I sent one. As Mikael explained, “whatever” is very nice to find the intersection point of two lines. You can see nice examples which use “whatever” in MetaFun manual. In my code, the next point is the

Re: [NTG-context] simplifying repeated macro calls in metafun

2021-06-21 Thread Jeong Dal
Dear Aditya, Your code works perfectly. Thank you for your help. 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 /

[NTG-context] simplifying repeated macro calls in metafun

2021-06-20 Thread Jeong Dal
Hi, I defined a macro definition in metafun, and draw figures using \startbuffer[] … \stopbuffer and \processMPbuffer[]. As you see in the attached code, the same macro definition is used repeatedly by changing the numeric argument. Is there a better way to simplify the code, for example,

Re: [NTG-context] mathfun (Hans Hagen)

2021-05-21 Thread Jeong Dal
Dear Hans, Thank you for your new module for math. If possible, I prefer to use $ \sqrt(x) = \compute\sqrt[.3N] {2} $ $ \pi = \mathexpr[.40N]{pi}$ It is more direct to use and good to write a text in which we need some math calculation. It is another good news for me. I

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-17 Thread Jeong Dal
Dear Hans, It is very interesting example. Thank you for a new method. Best regards, Dalyoung > > \def\determinednoflines#1% > {\localcontrolled{\determinenoflines{#1}}\noflines} > > \startbuffer >\input tufte > \stopbuffer > > \fillinrules[n=\determinednoflines{\getbuffer}, >

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-16 Thread Jeong Dal
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]}}

Re: [NTG-context] missing "{ }" in metafun.

2021-03-14 Thread Jeong Dal
Dear Hans, > \$ \_ \& \{ \} > > become letters when we flush a mp graphic, so use > > \lbrace \rbrace instead > It works well. Thank you so much. Best regards, Dalyoung ___ If your question is of interest to

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-14 Thread Jeong Dal
Dear Hans, Thank you for your answer. > > \framedtext[empty=yes] > Yes, it clears everything in the frame. But the frame is also clean when I disable \hideSolution. In that case, texts should be appeared. What I want is the following: If \hideSolution then hide text and add more

[NTG-context] missing "{ }" in metafun.

2021-03-14 Thread Jeong Dal
Hi, Set notation “{}” is OK in TeX mode. But it is missing in the output of the metafun code. Here is an MWE. It is same in two different versions. ConTeXt ver: 2021.01.17 21:42 LMTX fmt: 2021.2.4 int: english/english ConTeXt ver: 2021.03.13 11:22 LMTX fmt: 2021.3.14 int: english/english

[NTG-context] add more blank space when using \starteffect[hidden]

2021-03-12 Thread Jeong Dal
Hi, Sometimes, I need to hide the solution of a problem. So I use \doifmode{} and \starteffect[hidden] as in the following sample file. Since I want to set more blank space if it is hidden, I add \blank[5cm] when it is in the \enablemode[hideSolution]. It works well except the figures and bars

Re: [NTG-context] question about vardef variables

2021-01-17 Thread Jeong Dal
Dear Damien Thiriet, If you change ‘vardef’ to ‘def’, you will get the figure. There is a difference between ‘vardef’ and ‘def’. AFAIK, vardef returns the value of the last statement in the macro. Please see the examples in Metafun manual from page 32 ~ . I hope that you find your answer there.

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

[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

Re: [NTG-context] removing many lines about font in log.

2020-11-10 Thread Jeong Dal
, Dalyoung > 2020. 11. 10. 오전 1:12, Hans Hagen 작성: > > On 11/8/2020 8:05 PM, Jeong Dal wrote: >> Hi, >> The following example creates so many lines of messages about fonts in the >> log. >> \definefontfeature [default] [default] [script=hang,language=k

[NTG-context] removing many lines about font in log.

2020-11-08 Thread Jeong Dal
Hi, The following example creates so many lines of messages about fonts in the log. \definefontfeature [default] [default] [script=hang,language=kor] \starttext \definedfont[file:notoserifcjkkrregular*default] Korean sentences. 한글이 아름답습니다. \stoptext fonts > 'fallback

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Jeong Dal
Dear Aditya, Jairo, Wolfgang, and Otared, Thank you for the replies and explanations. I also read the blog. In this case, using '##1’ is an easy way. For more complex table, I may use luacode. Thanks again. Best regards, Dalyoung

[NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Jeong Dal
Hi, I tried to make a table using \dorecurse or \doloop as in the example. There is no error but \recurselevel is not increased, all are 0 in the first example and only two rows are created with the \recurselevel 0 and 2 only in the second example. Does the tabulate cause the error? What is

Re: [NTG-context] Installing VSCode extension?

2020-08-05 Thread Jeong Dal
Dear Mikael, > 2) Is there a nice way to compile the tex file from > within vs code? As of > now, I opened a terminal and compiled from that, but that feels like the > wrong way of doing it. For the first question, I don’t know either. For the second question, I’d like to explain what I did for

Re: [NTG-context] Installing VSCode extension?

2020-07-30 Thread Jeong Dal
Dear Alasdair McAndrew, I am using vscode in iMac, so my setting may not work for you. 1. First, find files for vscode in your TeX folder. In my case, /ConTeXt-homefolder/tex/texmf-context/context/data/vacode/extensions/context/*.* 2. In a homefolder, there is a hidden folder “.vacode”.

Re: [NTG-context] Code lua in a table

2020-07-20 Thread Jeong Dal
. Best regards, Dalyoung > 2020. 7. 20. 오후 5:36, Hans Hagen 작성: > > On 7/20/2020 7:56 AM, Jeong Dal wrote: >> Dear Fabrice, >> You may split Binom(n,k) function into two functions as following: > > see original mail > > >> Dalyoung > Best stay in a

Re: [NTG-context] Code lua in a table

2020-07-20 Thread Jeong Dal
Dear Fabrice, You may split Binom(n,k) function into two functions as following: * \startluacode P={} combi = P function P.fact (n) if n <= 0 then return 1 else return n * P.fact(n-1) end end function P.ncr(n,r) return P.fact(n)/(P.fact(r)*P.fact(n-r)) end combi = {

[NTG-context] error during the installation of luametatex

2020-05-09 Thread Jeong Dal
Hi, I tried to update luametatex which was running well(it was installed following the process in the wiki>installation> MacOsX catalina), but I got the following error after all the files are downloaded. resolvers > lua > loading file

Re: [NTG-context] Vertical lines in matrices

2020-05-04 Thread Jeong Dal
Dear Weber Mattias, Please see page 10 of “mathalign.pdf” made by Aditya. He showed the way of writing aligned math including matrices. For example, \startformula \startmatrix[left={\left(\,},right={\,\right)}] \NC 1 \NC 0 \NC 0 \NR \NC 0 \NC 1 \NC 0 \NR \NC 0 \NC 0 \NC 1

Re: [NTG-context] animation using \startuseMPgraphic

2020-04-21 Thread Jeong Dal
there are many experts who willingly give the solutions in the list mail I appreciate you and your team. Best regards, Dalyoung > 2020. 4. 21. 오전 2:19, Hans Hagen 작성: > > On 4/20/2020 4:40 PM, Jeong Dal wrote: > >> Of course, it runs so fast that it is meaningless to s

Re: [NTG-context] animation using \startuseMPgraphic

2020-04-20 Thread Jeong Dal
Dear Hans, Of course, it runs so fast that it is meaningless to shorten the runtime. It is my old habit to check the algorithmic efficiency. It is just my interest. Thank you for your concern. Best regards, Dalyoung

Re: [NTG-context] animation using \startuseMPgraphic

2020-04-19 Thread Jeong Dal
Dear Aditya, Thank you for your link. It is good to see your nice code. I’ll see how to apply \startMPanimation … \stopMPanimation to my sample. Thank you again. Best regards, Dalyoung ___ If your question is of

Re: [NTG-context] animation using \startuseMPgraphic

2020-04-19 Thread Jeong Dal
Dear Wolfgang, I’d like to ask you one more. To make an animation, almost same graphics are drawn repeatedly. In my code, for example, The base figure(two circles, line, boundingbox) is fixed and only points are moved. But it draws the base figure every time and it is not inefficient. Is there

Re: [NTG-context] animation using \startuseMPgraphic

2020-04-19 Thread Jeong Dal
Dear Wolfgang, Thank you for your help. It works fine. As you said, I need to use boundingbox for stable animation. Thank you again. Best regards, Dalyoung > 2020. 4. 19. 오후 4:19, Wolfgang Schuster > 작성: > > Jeong Dal schrieb am 19.04.2020 um 07:08: >> Dear all, >

[NTG-context] animation using \startuseMPgraphic

2020-04-18 Thread Jeong Dal
Dear all, I am trying to make an animation using the animation module. But it draws 10 figures instead of creating animation. Is there anything I have to do more? Or, is there a better way to do this? Thank you for reading. Best regards, Dalyoung \startuseMPgraphic{inversionPoint}{n} vardef

Re: [NTG-context] \startMPcode and \startMPpage

2020-04-16 Thread Jeong Dal
Dear Hans, Thank you for the reply. Since \startMPcode … \stopMPcode form is used in the manual, I think that it is OK to use it for all cases. Thank you again. Best regards, Dalyoung > 2020. 4. 17. 오전 5:01, Hans Hagen 작성: > > On 4/16/2020 8:36 PM, Jeong Dal wro

[NTG-context] \startMPcode and \startMPpage

2020-04-16 Thread Jeong Dal
Hi, The following sample code is working well in the \startMPpage ~ \stopMPpage, but is not working in the \startMPcode ~ \stopMPcode. The error message is \textfont0 is undefined (character 63) l.6 \setstrut\strut $A$ If I remove “$” from the code, it is also working in \startMPcode ~

Re: [NTG-context] running lua in metafun and in ConTeXt

2020-04-12 Thread Jeong Dal
Dear Hans, Thank you for your new code. Frankly speaking, it is hard to follow your code right now because of my little knowledge about these matter. I need some time to understand your code fully, especially lmtx. I’ll do more exercises using your code. Thank you for your concern. Best

Re: [NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Jeong Dal
Dear Hans, Thank you for your nice code. lua.MP.Whatever is something! Have a nice weekend. Best regards, Dalyoung > 2020. 4. 12. 오전 2:08, Hans Hagen 작성: > > On 4/11/2020 4:15 PM, Jeong Dal wrote: >> Dear all, >> The problem is solved by using the namespace of lua as be

[NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Jeong Dal
Dear all, The problem is solved by using the namespace of lua as below: I am not sure what I did is the right way. If it is not the right way, please let me know. Thanks for reading. Best regards, Dalyoung \startluacode P={} combi = P function P.fact (n) if n <= 0 then return 1

[NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Jeong Dal
Dear all, I draw Pascal’s triangle with the label of each point created by using lua functions. As you see in the code below, I defined fact(n) and combi(n,r) using lua. For the calculation tt, I used two different methods. Both are working well when I run the given code. But I got an error,

Re: [NTG-context] write a subtitle under the title of a chapter using outlined font

2020-03-21 Thread Jeong Dal
Dear Hans, Your method perfectly works! The number of chapter use the same font as the main title font and there is no big space between main title and the subtitle. Thank you. Best regards, Dalyoung > > On 3/20/2020 11:07 AM, Jeong Dal wrote: >> Dear Hans, >> Here

Re: [NTG-context] write a subtitle under the title of a chapter using outlined font

2020-03-19 Thread Jeong Dal
Dear Hans, I found how to. By removing ‘& ditto’, then it works! > draw outlinetext.b ("\framed[align=normal]{" & \MPvar{tt} & "}”) Thank you so much. Best regards, Dalyoung ___ If your question is of interest

Re: [NTG-context] write a subtitle under the title of a chapter using outlined font

2020-03-19 Thread Jeong Dal
Dear Hans, Thanks for the reply. Your method works partly. > >draw outlinetext.b ("\framed[align=normal]{" & ditto & \MPvar{tt} & ditto > & "}”) > It allows to write it in two lines. However, the title is surrounded by ‘ “ ‘. How to remove it? Thank you Best regards, Dalyoung

[NTG-context] write a subtitle under the title of a chapter using outlined font

2020-03-19 Thread Jeong Dal
Hi, long time ago, I can use outlined fonts for the title of a chapter by the help of the experts in this list. Now, I’d like to write a subtitle under the title, but \crlf is not working. I tried in several ways, but I couldn’t make it. How to write them in two lines? Thanks. Best regards,

Re: [NTG-context] ConTeXt support for Atom

2020-01-15 Thread Jeong Dal
Hi, Thanks for "language-context”. > >> what are the key shortcuts to compile the context file at hand? >> i try the atom editor on Linux platform. >> Can't find the way to feed the tex file into context luatex... > > There are no key shortcuts. I use a terminal. > As I wrote: > >> So there’s

Re: [NTG-context] background color of text in contour(former: ntg-context Digest, Vol 186, Issue 61)

2019-12-29 Thread Jeong Dal
Dear Wolfgang, Now, I understand why the error messages “\texfont0 is undefined”, “ you used the started character from an undefined font family.” are appeared. Thank you for your clear explanation. Best regards, Dalyoung >> 3. removing \starttext, \stoptext, and functionstyle=“math”, it

Re: [NTG-context] background color of text in contour(former: ntg-context Digest, Vol 186, Issue 61)

2019-12-29 Thread Jeong Dal
Dear Hans, I run the following code which is in page 24,25 luametafun.pdf. 1. adding \starttext and \stoptext, it works fine. No overlapping. Also, functionstyle = “math” is working nicely. 2. removing \starttext and \stoptext, then functionstyle =“math” invoked an error. 3. removing

Re: [NTG-context] background color of text in contour(former: ntg-context Digest, Vol 186, Issue 61)

2019-12-28 Thread Jeong Dal
Dear Hans, Thank you for the fix. Background color is OK now. A new problem in the caption: Since width of the figure is narrower than the width of the line "x = [0,12.555]; y = [-6,6];”, “y =“ is written over 12.555. Is there any option to suppress the caption x, y since there are numbers

Re: [NTG-context] ntg-context Digest, Vol 186, Issue 61

2019-12-26 Thread Jeong Dal
Dear Hans, I read the “luametafun.pdf” and run the codes one by one. It is a really nice to have those figures easily. During the reading, I found that there is a difference between the figure in the manual and the output of my run. I run the following code at page 24-25 in “luametafun.pdf”.

Re: [NTG-context] math align broken

2019-12-16 Thread Jeong Dal
Dear Hans, I reinstall a new beta and test the previous file. (LuaMetaTeX: version 2.03.4, ConTeXt version: 2019.12.16 18:54, format: 2019.12.17) The problem is gone! The space in the aligned display math mode is normal. Thank you so much. Best regards, Dalyoung

Re: [NTG-context] math align broken

2019-12-16 Thread Jeong Dal
Dear Hans, Here is a small example which shows a strange spacing in the aligned display math mode. The same code is OK in both inline mode and just display mode, but it is not good in aligned mode. I hope that it helps your fix . Thank you. Best regards, Dalyoung % running luametatex

Re: [NTG-context] math align broken

2019-12-15 Thread Jeong Dal
Dear Mikael, I also confirm your problem. I am using "ConTeXt ver: 2019.12.06 21:40 MKIV beta fmt: 2019.12.9 int: english/english” However, if you change “\Bigl(“ to “\left(“, then the space between left parenthesis and text become narrower. I hope that it will be fixed soon. Best

Re: [NTG-context] lmtx

2019-12-13 Thread Jeong Dal
Dear Otared, > I updated the wiki page for installing LuaMetaTeX on MacOS: > > https://wiki.contextgarden.net/installing_luametatex Thank you for the wiki. It explains the complicate processes well. As I wrote in the last mail, I don’t have a problem of installation as before. At this

Re: [NTG-context] lmtx

2019-12-12 Thread Jeong Dal
Dear Hans, I downloaded the new beta today. It installs files and makes format file well. I compiled a test file without any problem. Of course, there is a security issue of OSX, but allowing the execution in the preference>security once, it doesn't ask about again. I also run a test file

Re: [NTG-context] problem with a new installation of LMTX

2019-12-08 Thread Jeong Dal
gt; for you: you can try to install it on your Mac running MacOS 10.15 Catalina. > Could you please tell me if you succeed to implement the procedure I > described in the other email? > > Best regards: OK > >> On 8 Dec 2019, at 13:31, Jeong Dal wrote: >> >> For t

Re: [NTG-context] problem with a new installation of LMTX

2019-12-08 Thread Jeong Dal
Dear Hans, Alan, and Mojca, Thank you for your concern. For me, it is a difficult problem, so I may return to the previous version of OSX. > I have no problem on Catalina, however wiping-out the cache and rebuilding > the format often gives me errors finding the lua scripts (so I have taken

Re: [NTG-context] problem with a new installation of LMTX

2019-12-08 Thread Jeong Dal
For test, I installed again after removing ConTeXtLMTX folder. But it is same as before. I looked files in “/tex/texmf-osx-64/bin”. There are 5 files: context, context.lua, luametatex, mtxrun, mtxrun.lua. context and mtxrun are symbolic linked to luametatex. But luametatex is not executable, so

Re: [NTG-context] problem with a new installation of LMTX

2019-12-08 Thread Jeong Dal
Dear Hans and Otared, Thank you again for your attempt to find a solution. Catalina(MacOS 10.15.1) prohibits an unauthorized program run. So I have to allow the execution of “mtxrun” manually in the preference. Since "mtxrun —generate” ends with the message “unknown script mtxrun-context.lua

Re: [NTG-context] problem with a new installation of LMTX

2019-12-07 Thread Jeong Dal
Dear Hans, Otared, Thank you for your concern. The version of luametatex is 20191206. I followed what Otared said, but texmf-cache is not created after mtxrun. "context —make" is running, but no format. I checked folders after the installation. Folders, texmf-cache, texmf-fonts, texmf-local,

[NTG-context] problem with a new installation of LMTX

2019-12-07 Thread Jeong Dal
I read some reports about the problems of a new installation of LMTX. Today, I did fresh install and also have a problem in compilation. I did the following: 0. Open the terminal 1. Remove all files in the folder “ConTeXtLMTX” 2. Download install files from PRAGMA ADE. 3. run “install.sh”(at

Re: [NTG-context] Transparency (Metapost)

2019-12-01 Thread Jeong Dal
Dear Fabrice, I run your code using ConTeXt LMTX and got the figure. (LuaMetaTeX 2.00, ConTeXt version: 2019.11.14.) I don’t know why you have errors. Here is the beginning of log file: resolvers | formats | executing runner 'run luametatex format':

Re: [NTG-context] Transparency (Metapost)

2019-11-30 Thread Jeong Dal
> \ Dear Fabrice, I got color and transparency using the following command in LMTX(metafun). fill p withcolor yellow withtransparency(1, .75); I hope that it helps. Best regards, Dalyoung___ If your question is

Re: [NTG-context] new (lmtx) beta

2019-10-11 Thread Jeong Dal
Dear Hans, >> Though it calculates function using “x^2 + y^2”, it is better to write the >> name of it as the output of $x^2 + y^2$. >> Is it possible to write it as in mathematical form? > >functionstyle = "math”, > It works nicely. >> Is there any reason to use two different

Re: [NTG-context] new (lmtx) beta

2019-10-11 Thread Jeong Dal
Dear Hans, I read the manual of luametafun and do some examples. Thanks for many new features. It is really great. I’d like to ask two things. 1. On page 26,27, in the manual, > > http://www.pragma-ade.com/general/manuals/luametafun.pdf >

Re: [NTG-context] MetaPost with Multiple Variable Sections

2019-09-18 Thread Jeong Dal
Dear Jeroen, If you change “pair a;” to “numeric a;” in the second MPcode, it draws a circle without error. Best regards, Dalyoung > > \placefloatright{}{ > \startMPcode > pair a; numeric a; > a := 2cm; > draw fullcircle scaled (2*a); > \stopMPcode} > > \stoptext >

Re: [NTG-context] :Re: How to use ConTeXt extensions with VS Code

2019-09-03 Thread Jeong Dal
. Thank you again. Best regards, Dalyoung > 2019. 9. 3. 오후 9:43, Jeong Dal 작성: > > Dear Hans, > > I tried to install your vscode extension for context using the command : > > code --extensions-dir > /Users/graph/ConTeXtLMTX/tex/texmf-context/context/data/vscode/extension

[NTG-context] :Re: How to use ConTeXt extensions with VS Code

2019-09-03 Thread Jeong Dal
Dear Hans, I tried to install your vscode extension for context using the command : code --extensions-dir /Users/graph/ConTeXtLMTX/tex/texmf-context/context/data/vscode/extensions --install-extension context Then I got a following error message: Installing extensions... Extension 'context'

Re: [NTG-context] ntg-context Digest, Vol 183, Issue 4

2019-09-02 Thread Jeong Dal
Dear Hans, By adding “setuptex” in the task file, it runs well and makes a pdf output. { "label": "ConTeXt Compile", "type": "shell", "command": "source ~/ConTeXtLMTX/tex/setuptex;context '${file}'", "args": [], "group": {

Re: [NTG-context] How to use ConTeXt extensions with VS Code

2019-09-02 Thread Jeong Dal
Dear Hans, >> But I cannot see any syntax coloring and don’t know how to compile a TeX >> file. >> Would you please help me more? > I think you also need to choose the context color scheme > Yes, syntax coloring works after choosing the context color scheme. I find a following task file to

Re: [NTG-context] How to use ConTeXt extensions with VS Code

2019-09-02 Thread Jeong Dal
Dear Hans, Thank you for a quick reply. > > tex/texmf-context/context/data/vscode > I copied all the file …/vscode/extensions/context to ~/.vscode/extexsions/ When I open vacode, there is “ConTeXt 1.0.0, ConTeXt Syntax Highlignting…” in the extensions tab. It is installed and enabled. But I

Re: [NTG-context] How to use ConTeXt extensions with VS Code

2019-09-01 Thread Jeong Dal
Dear Hans, > 2019. 8. 19. 오후 4:21, ntg-context-requ...@ntg.nl 작성: > > there is an vscode-context.cmd file > Where can I find a vscode-context.cmd file? I couldn’t locate it using google search. > this could also work: > >> mtxrun --script vscode --start > Thank you. Best regards,

Re: [NTG-context] balanced vertical spaces under \startcolumnset

2019-08-26 Thread Jeong Dal
Dear Sytse, Thank you for your suggestion. > > Maybe paragraphs work for you? > (https://wiki.contextgarden.net/Columns) I will check it. BTW, Use “\column” and don’t print a blank page is the simplest way. Thank you again. Best regards, Dalyoung

Re: [NTG-context] balanced vertical spaces under \startcolumnset

2019-08-22 Thread Jeong Dal
Dear Sytse Knypstra, Thank you for your reply. I read the manual “Columns” as you suggested. The command \setupcolumnsetstart made a balanced output. But my problem is little different from it. I want exam paper of two columns in a page and in each column two problems located with the same

[NTG-context] balanced vertical spaces under \startcolumnset

2019-08-20 Thread Jeong Dal
Dear all, I use the following code to make test. To make the same height blank spaces after the problems, I use \vfill before \column. The problem is that the second \column creates extra blank page. But, without the second \column, the height of blank spaces of the second column are different.

[NTG-context] align figures verticaly centered in \startcombination mode

2019-08-08 Thread Jeong Dal
Dear all, In the following example, “align=middle” works for horizontal center. Is there any way to align two figures with different height in vertically centered? Thank you. Best regards, Dalyoung \useMPlibrary[dum] \setupinteraction[state=start] \usemodule[pre-60]

Re: [NTG-context] about \startMPanimation

2019-05-13 Thread Jeong Dal
and thanks Wolfgang! Best regards, Dalyoung > 2019. 5. 13. 오후 10:04, Hans Hagen 작성: > > On 5/13/2019 2:14 PM, Jeong Dal wrote: >> Dear Wolfgang, >> I found the following code with a comment “code by Wolfgang” at >> https://adityam.github.io/context-blog/post/metapos

[NTG-context] about \startMPanimation

2019-05-13 Thread Jeong Dal
Dear Wolfgang, I found the following code with a comment “code by Wolfgang” at https://adityam.github.io/context-blog/post/metapost-animation/ \unprotect \installnamespace{MPanimationvariables} \unexpanded\def\startMPanimation

Re: [NTG-context] follow up

2019-04-08 Thread Jeong Dal
Dear Otared, I checked the both cases in the terminal and found that there is no problem in the installation. It call “mtxrun" in right place depending on MKIV or LMTX. Actually, files which doesn’t need files in texmf-local folder are compiled well in both installations. The problem is

Re: [NTG-context] follow up

2019-04-05 Thread Jeong Dal
200 > From: Hans Hagen > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] follow up > Message-ID: <8f908232-5516-b2a7-df76-51eba0c51...@xs4all.nl> > Content-Type: text/plain; charset=utf-8; format=flowed > > On 4/5/2019 12:17 AM, Jeong Dal wrote: >> De

Re: [NTG-context] follow up

2019-04-04 Thread Jeong Dal
Dear Hans, I have installed both ConTeXt LMTX and ConTeXt MKIV side by side. But I have a problem to run it. If it is OK to run a file in LMTX environment, then I got a following error when I run it in MKIV environment. “I can’t fine a file …../defFonts.tex” even though it is there. To

Re: [NTG-context] follow up

2019-04-02 Thread Jeong Dal
Dear Hans and Alan, First, thanks for your wonderful work! I followed your instruction to install ConTeXt LMTX. For the record, I wrote what I did. Any comment is welcome to improve my installation. - create directory: ConTeXtLMTX - download install files. - run “sudo sh ./install.sh” - after

Re: [NTG-context] about the color of sidebar

2019-02-25 Thread Jeong Dal
Dear Mohammad Hossein Bateni, > 2019. 2. 25. 오후 1:27, ntg-context-requ...@ntg.nl 작성: > > I have never used the sidebar mechanism, but there is a "rulecolor" option > in setupsidebar. Maybe that's what you're looking for. > > You can look up the commands and their options in "i-context.pdf"

[NTG-context] about the color of sidebar

2019-02-24 Thread Jeong Dal
Dear Hans, > 2019. 2. 24. 오후 7:17, ntg-context-requ...@ntg.nl 작성: > > On 2/24/2019 12:25 AM, mf wrote: >> BTW \startsidebar ... \stopsidebar stopped working too. > i'll upload a fix later today > > Hans It is good to know the commnad "\startsidebar … \stopsidebar” because I used the same

Re: [NTG-context] When newsizing an external figure by [width=], what will be its height in pt and viceversa?

2019-02-24 Thread Jeong Dal
Dear Rudolf, > 2019. 2. 24. 오후 7:17, ntg-context-requ...@ntg.nl 작성: > > If you convert your sp-sizes into pt-sizes (1pt = 65536sp) you will get: > (45126287sp,31048991sp) = (688.5725pt,473.7700pt) > > What do you think, are these pt-values ok to you? In my opinion they seem to > be too >

Re: [NTG-context] When newsizing an external figure bei [width=], what will be its height in pt and viceversa?

2019-02-23 Thread Jeong Dal
Dear Rudolf, It is working for me. Using my figure, I got (45126287sp,31048991sp) (1372,944) As Hans said, either change ~ to some path or set the directory of externalfigure. Best regards, Dalyoung > 2019. 2. 24. 오전 5:58, ntg-context-requ...@ntg.nl 작성: > > I fear it doesn't work. I

Re: [NTG-context] baseline of outlined font

2019-02-16 Thread Jeong Dal
Dear Wolfgang, Thank you for the solution. BTW, what is the difference between “deeptextcommand” and “textcommand”? Best regards, Dalyoung ___ If your question is of interest to others as well, please add an entry

[NTG-context] baseline of outlined font

2019-02-16 Thread Jeong Dal
Dear all, Recently, I used outlined font described in MetaFun for titles. But the baselines of the number and the title of chapter are different. What is wrong in the following code? Thank you for reading. Best regards, Dalyoung \definefont[BigFontOne][NotoSansCJKkr-Bold sa 4]

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
Dear Wolfgang, >> I couldn’t figure out what relation is there between Theorems and Exam. > The numbers are correct with the latest beta. > > mtx-context | current version: 2019.02.10 17:43 > You are right. The example which I sent last time had no problem in numbers. I checked it by

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
Dear all, Since the customized Theorem structure is already complicate, I just extract \index from the title as following: \startTheorem{\bf title of theorem} \index{title of theorem} bla bla bla \stopTheorem In this way, I cleared the message "[entry not flushed]” in the indices. There may be

[NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
Dear all, I just found that the counter problem has no relation with theorems. It happened without theorems while some examples worked correctly. There may be another problem in my definitions in environment file. I’ll do more tests. Thank you for reading. Best regards, Dalyoung

[NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
Dear all, I used a customized Theorem structure which is made by the help of experts in this list. I have two questions. 1. Recently I added titles of theorems which was indexed and found a strange error message "[entry not flushed]” in the list of index. Please run the following sample

Re: [NTG-context] about vertical alignment

2019-02-10 Thread Jeong Dal
Dear Wolfgang, > \startitemize[n][stopper=),width=0pt] > > You have to set the width for the item symbol to 0pt because it’s now part of > the table. It works perfectly. A short argument "width=0pt” solves my problem. Thank you so much. Best regards,

[NTG-context] about vertical alignment

2019-02-08 Thread Jeong Dal
Dear all, I used \itemtag in \starttabulate to make columns in itemization for some reasons. Actually, it works fine. For more detailed alignment, I’d like to ask about the fine tuning of vertical alignment. Here is an MWS. %%% \showframe \starttext \startitemize[n] \item Prove the

[NTG-context] outlined font using MetaFun

2019-02-08 Thread Jeong Dal
Dear all, The following code which is borrowed from MetaFun manual is working nicely. %% \setupMPvariables[outlineT][tt="Hello"] \startuseMPgraphic{outlineT} draw outlinetext.b (\MPvar{tt}) (withcolor .5white) (withcolor .625blue withpen pencircle scaled .2pt) scaled 3 ;

  1   2   3   >