Re: [NTG-context] Math alignment question

2022-09-24 Thread Jeong Dal via ntg-context
Dear Hans, >> Thank you for your explanation. >> I just wonder \alinghere can be applicable to multiple formula. >> It is OK to use \NC \NR for multiple formulas. > What probably can be done, is to let the next formula start with the align of > the previous one .. Mikael can add it to our todo

Re: [NTG-context] Math alignment question

2022-09-24 Thread Jeong Dal via ntg-context
Dear Aditya, Mikael, Thank you for your explanation. I just wonder \alinghere can be applicable to multiple formula. It is OK to use \NC \NR for multiple formulas. Best regards, Dalyoung ___ If your question is of

[NTG-context] Math alignment question

2022-09-22 Thread Jeong Dal via ntg-context
Dear Mikael and Hans, Recently, you introdued the new command “\alignhere, \breakhere, \skiphere” which works fine. Since I usually use the following code that is adopted from My Way(Mathalign.pdf), I’d like to know that there is a way to use “\alignhere, \breakhere, \skiphere” for the case

[NTG-context] \startcolumnset ... \stopcolumnset is working.

2022-09-14 Thread Jeong Dal via ntg-context
Dear all, I didn’t test “\startcolumnset … \stopcolumnset” for some time, because I got error whenever I tested it under Mac OS Big Sur. However, two days ago, I tested it, and found that it was working. I install updated version today and run a test file again. Finally, I get an output

Re: [NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-09-07 Thread Jeong Dal via ntg-context
Dear Taco, The following mail came every hour since a few days ago. But I don’t get any other mail from the list. I think that there is something wrong between my mail system and the server. However, I don’t know how to solve it. Would you please tell me what to do? Thank you. Best regards,

[NTG-context] Write a long chapter title in two lines

2022-08-18 Thread Jeong Dal via ntg-context
Dear all, A few days ago, I sent an email as follows. But it is linked to another subject because I choose reply of another subject. So, I send the same mail again. Thank you for reading. Best regards, Dalyoung ** I’d like to write a long chapter title in two lines if it is longer

[NTG-context] Write a long chapter title in two lines

2022-08-15 Thread Jeong Dal via ntg-context
Dear all, I’d like to write a long chapter title in two lines if it is longer than the textwidth. It is OK when I use just bigger fonts. But it writes the long title in one line if I use outlined font for title as in MWE. Is there a way to write it in two lines using the outlined font?

Re: [NTG-context] update

2022-08-05 Thread Jeong Dal via ntg-context
Dear Hans, Mikael, The alignment problem which occurred when I put aligned formulas and a figure side by side is solved. Thank you for the update. Best regards, Dalyoung > On Aug 5, 2022, at 6:52 PM, Hans Hagen via ntg-context > wrote: > > Hi, > > I uploaded a new lmtx that fixes a few

Re: [NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-07-29 Thread Jeong Dal via ntg-context
Dear Hans, Thank you for the new way to align math formulas. It is great to use “\alignhere”, “\breakhere”. However, I got a problem today. If I use it with figures side by side, then the alignment is broken. Please try the following MWE. Best regards, Dalyoung

Re: [NTG-context] new upload

2022-04-19 Thread Jeong Dal via ntg-context
20. 오전 4:18, Jeong Dal via ntg-context 작성: > > Dear Hans, > > A new upload solves the math font problem in MetaFun. The code > label(textext("$\sin\theta$”),origin); > is working well. > Also, your sample file adaptive-001.tex is also working without error which &

Re: [NTG-context] new upload

2022-04-19 Thread Jeong Dal via ntg-context
Dear Hans, A new upload solves the math font problem in MetaFun. The code label(textext("$\sin\theta$”),origin); is working well. Also, your sample file adaptive-001.tex is also working without error which is not compiled before. However, \vfill is not working in column mode while it

[NTG-context] $\sin \theta$ behave differently in metafun

2022-04-15 Thread Jeong Dal via ntg-context
Dear all, I use $\sin \theta$ and $\cos \theta$ behave differently in text and in metafun. It works well sometime before but it doesn’t in metafun now. What is wrong in my example? Thank you for reading. Best regards, Dalyoung Here is a MWE. \startbuffer[pointCircle] numeric u; u:=1cm; pair

Re: [NTG-context] right item marks for associative questions?

2022-04-11 Thread Jeong Dal via ntg-context
Dear Damien, Using the “columns" feature is one way to go if you don’t mind the vertical alignment mismatch in the third items. Best regards, Dalyoung \starttext \startitemize [8,columns]%,two] \startitem Nietzsche \stopitem \startitem Woody Allen \stopitem \startitem God \stopitem \startitem

Re: [NTG-context] context manuals -- absence of \definefontfamily

2022-01-04 Thread Jeong Dal via ntg-context
Dear Aditya and Youssef Cherem, To: Aditya, > > There is the talk that Wolfgang gave in this year's context meeting: > > https://meeting.contextgarden.net/2021/talks/2021-09-23/definefontfamily.pdf > Thank you for letting me know the talk which gives me more understanding about

Re: [NTG-context] upload

2021-12-25 Thread Jeong Dal via ntg-context
Dear Hans, I installed the new upload and compiled “helloWorld.tex” created Sanjoy Mahajan. It runs well except the dummy figures are not appeared in the pdf output. However, I still got error message when try to compile “\startcolumnset … \stopcolumnset”. fonts > 'fallback

[NTG-context] \startcolumnset ... \stopcolumnset fatal error: return code 11

2021-12-16 Thread Jeong Dal via ntg-context
Hi, I have used newcolumnset module to make a test sheet. It was made by the help of experts in the list. It worked fine a month ago and also worked via TeXlive 2021. But I got error using the recent version. Thanks Nicola and John for testing. I have listed it before and tried to find out the

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-15 Thread Jeong Dal via ntg-context
Dear Jan-Erik, Thank you for sharing your code. It will be very helpful for me. I hope that my problem is solved soon. Thank you again. Best regards, Dalyoung ___ If your question is of interest to others as

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jeong Dal via ntg-context
goto_texshop(expand("%:p"), line('.'), col('.'), 1, 1) > > Here is my snippet from my personal context.vim file > > I see that you have :! and that means that you instruct vim to execute a > shell command. > > Just write :ConTeXt and it should work fine > >>

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-13 Thread Jeong Dal via ntg-context
Dear John, Nicola, I created a file context.vim under the folder ~/.vim/after/ftplugin/ which contains map > :w:!ConTeXt let g:context_mtxrun = 'PATH=$HOME/ConTeXtLM/tex/texmf-osx-64/bin:$PATH mtxrun' let g:tex_flavor = "context" The result is 1. using “:ConTeXt” issued an error message:

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-13 Thread Jeong Dal via ntg-context
Dear John, Nicola, Thank you for your help. I have to check the wiki carefully first. I’ll do what you said and report it later. Thank you again. Best regards, Dalyoung ___ If your question is of interest to

[NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-11 Thread Jeong Dal via ntg-context
Hi, Recently, I have a problem to use vscode, so I tried MacVim for ConTeXt. It worked fine. But it uses context in TeXLive instead of using it in ConTeXtLMTX. I’d like to use LMTX which is installed in ~/ConTeXtLM/tex/... How to redirect the path for ConTeXt in MacVim? Thank you. Best

Re: [NTG-context] using the newcolumnsets module

2021-12-09 Thread Jeong Dal via ntg-context
Dear Hans, Bruce Horrocks, I test the file using MacVim and confirm that it works fine. Thus, something happened in my system or environment of vscode. I may reinstall vscode. Thank you. Best regards, Dalyoung ___

Re: [NTG-context] using the newcolumnsets module

2021-12-09 Thread Jeong Dal via ntg-context
editors. Thank you. Best regards, Dalyoung > Message: 4 > Date: Thu, 9 Dec 2021 17:19:48 + > From: Bruce Horrocks >> On 9 Dec 2021, at 16:32, Hans Hagen via ntg-context >> wrote: >> >> On 12/9/2021 1:27 PM, Jeong Dal via ntg-context wrote: >> &g

Re: [NTG-context] using the newcolumnsets module

2021-12-09 Thread Jeong Dal via ntg-context
Dear Hans, >> Documents/com~apple~CloudDocs/texMain/ColumnsetTest.tex''" terminated >> with exit code: 1.* > no clue ... does lmtx also fail? is it an apple binary issue? I am running LMTX now. It opens and closes "*-newcolumnsets.mkiv” files(we can find the lines in the log file). I also

[NTG-context] using the newcolumnsets module

2021-12-09 Thread Jeong Dal via ntg-context
Dear all, I made an exam form by the help of the experts in this list. However, it was not working after recent update. Here is a code which I made for the test. If I use “\startcolumns \stopcolumns”, then it has no problem. But using “\startcolumnset[exam] … \stopcolumnset” produces error

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

  1   2   3   4   >