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 ;

Re: [NTG-context] About the macro path intersectionpoint path with Metapost

2019-02-03 Thread Jeong Dal
Dear Fabrice, Metapost is great for drawiang figures but it is not easy for me to use it. > b:= fullcircle scaled 2cm shifted (0,-3cm); > pair A, B ; > A:= p intersectionpoint r ; > B:= p intersectionpoint r ; > path u ; > u:= A--B--cycle ; A and B are the same point. One of “r” should

[NTG-context] about the location of subscript of integral sign

2019-02-01 Thread Jeong Dal
Hi, Four days ago, I updated the standalone ConTeXt and found a strange behavior in the integral sign. The number at the bottom is far from the integral sign while the number at the top is OK. I don’t know when it began since I didn’t use \int for a few month. Here is a small sample. In the

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-16 Thread Jeong Dal
Dear Hans, > vardef textlength(text t) = >save n ; n := 0 ; >for i = t : > n := n + 1 ; >endfor; >n > enddef; > Thank you for a good method! It can be used in another program. Best regards, Dalyoung

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-15 Thread Jeong Dal
작성: > > On 1/14/2019 10:44 PM, Jeong Dal wrote: >> Dear all, >> In the following sample, it draws squares with label which is given. >> I’d like to know how to check the number of elements in the second argument? >> If it is 0, then I just draw grids only. >>

[NTG-context] MetaFun: how to check the number of arguments

2019-01-14 Thread Jeong Dal
Dear all, In the following sample, it draws squares with label which is given. I’d like to know how to check the number of elements in the second argument? If it is 0, then I just draw grids only. Thank you for reading. Best regards, Dalyoung \startbuffer[defs] def drawGridF (expr

Re: [NTG-context] two different outputs.

2019-01-01 Thread Jeong Dal
%\startbackmatter %\stopbackmatter \stopproduct > 2019. 1. 2. 오전 5:13, Wolfgang Schuster 작성: > > Jeong Dal schrieb am 01.01.19 um 01:33: >> Dear all, >> First, Happy new year! >> I tried to make a style of title as following. The first code creates the >> title

[NTG-context] two different outputs.

2018-12-31 Thread Jeong Dal
Dear all, First, Happy new year! I tried to make a style of title as following. The first code creates the title as I wanted, but the second which uses “\title” creates the title strange. they are almost same code. To include it in the list of contents, I use “\title”. Is there a way to make

Re: [NTG-context] How to adjust the sistance between a letter and subscript

2018-11-22 Thread Jeong Dal
Dear Huseyin, Thank you. It works well. And, I didn’t see any side effect either. Thanks again. Best regards, Dalyoung ___ If your question is of interest to others as well, please add an entry to the Wiki!

[NTG-context] How to adjust the sistance between a letter and subscript

2018-11-22 Thread Jeong Dal
Hi, In the following example, the distance between a letter ${\cal T}$ and its subscript is too big. It is not an error, but it looks a little bit strange. How to reduce it for a good looking? Thank you. Best regards, Dalyoung * \starttext Compare the distance between a letter and its

Re: [NTG-context] ntg-context Digest, Vol 172, Issue 2

2018-10-01 Thread Jeong Dal
Dear Aditya, Thank you for the reply. > > As I said, I fixed the post. I see why I have no problem. Thank you for sharing your nice samples. Best regards, Dalyoung___ If your question is of interest to others as

Re: [NTG-context] xtables with lua

2018-09-30 Thread Jeong Dal
Dear Otared, What do you mean “does not typeset correctly as expected”? I copied and tested the last example and got the result without error. One problem is that the vertical alignment is not centered as the example of Aditya’s. Would you please tell me what I miss? Thank you. Best regards,

Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-28 Thread Jeong Dal
Dear Hans, Thank you so much for a new code which works fine. It can be used for the title of chapters. I will play with this to make a nice title. Thank you again. Best regards, Dalyoung > 2018. 9. 28. 오전 12:43, Hans Hagen 작성: > > On 9/27/2018 5:06 PM, Jeong Dal wrote: >

Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-27 Thread Jeong Dal
English letters. In one glyph, there are several parts, which makes the job difficult. Thank you so much. Best regards, Dalyoung > 2018. 9. 27. 오후 5:49, Hans Hagen 작성: > > On 9/26/2018 11:38 PM, Jeong Dal wrote: >> Dear Hans, >>> 2018. 9. 26. 오후 9:24, Hans Hagen >

Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-26 Thread Jeong Dal
Dear Hans,2018. 9. 26. 오후 9:24, Hans Hagen <j.ha...@xs4all.nl> 작성:On 9/26/2018 2:14 PM, Jeong Dal wrote:Dear Hans,I tested for more characters and found an interesting fact.If the first consonant and the vowels are connected in a glyph, then the outlining works OK, otherwise, it makes o

Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-26 Thread Jeong Dal
eanOutline("\KoreanFont 논") ; \stopMPpage \startMPpage KoreanOutline("\KoreanFont 왕") ; \stopMPpage \startMPpage KoreanOutline("\KoreanFont 닭") ; \stopMPpage \startMPpage KoreanOutline("\KoreanFont 박") ; \stopMPpage \startMPpage KoreanOutline("\K

Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-26 Thread Jeong Dal
Dear Hans, I have tested using your code. I just replace “N”, “T” with Korean letters. Here is an MWE which is a simplified version of your code. I tested using two fonts, and the outputs are different. Thank you for your concern. Best regards, Dalyoung %%%

Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-25 Thread Jeong Dal
Dear Hans, First, it is great to know a new method of drawing an outlined font! I have applied it to Korean fonts. As you know, every Korean character is composed with “consonant+vowel(+consonant)” type. If consonant and vowel are connected (for example, “호”), then it draws correctly,

Re: [NTG-context] labeling in meta post

2018-09-07 Thread Jeong Dal
Dear Henri Menke, I always use “btex etex” for labeling math. But “…..” is simpler and it works fine. Thank you. Best regards, Dalyoung >> >> \startbuffer[delta] >> label.bot(btex ${\delta}$ etex, (1cm,0));% >> %label.bot(btex $\delta$ etex, (3cm,0)); > > Why not just > >

[NTG-context] labeling in meta post

2018-09-06 Thread Jeong Dal
Hi, What is the difference between {\delta} and \delta? Former is OK, but the second is not compiled. Here is a MWE. \startbuffer[delta] label.bot(btex ${\delta}$ etex, (1cm,0)); % %label.bot(btex $\delta$ etex, (3cm,0)); label.bot(btex $\frac{2-\delta}{2}$ etex, (5cm,0)); %

Re: [NTG-context] Strange vertical result with itemize in columns

2018-09-03 Thread Jeong Dal
Dear Mikael, I have had the similar experience. Hans suggested another command “\NI” and “\itemtag” for this case. Please check the following mail and wiki. https://mailman.ntg.nl/pipermail/ntg-context/2017/089872.html

[NTG-context] split long formula in two pages

2018-08-28 Thread Jeong Dal
Dear all, Sometime ago, I asked about the splitting the long formula. Since it is seldom to have a long formula, I manually break the formula using \startformula\startalign … formula \stopalign\stopformula \startformula\startalign … formula

Re: [NTG-context] closesymbol on same line as displayed formula

2018-08-28 Thread Jeong Dal
Dear Aditya, Thank you for the reply. >> \startproof >> \startitemize[n] >> \item first line. >> \item second line > > Add: \placeclosesymbol here > >> \stopitemize >> \stopproof >> >> \stoptext > It works in many cases that item content ends with words. But it is not working if the item

[NTG-context] split long formula in two pages

2018-08-26 Thread Jeong Dal
Dear all, Sometimes, I wrote a long formula using \startformula\startalign … \stopalign\stopformula. In that case, if the remaining space in the current page is not enough to contain the formula, then it adds ‘page break’ and write the whole formula int the new page. I have read a discussion

Re: [NTG-context] closesymbol on same line as displayed formula

2018-08-26 Thread Jeong Dal
Hi, I am sorry to bring up old topic “Re: closesymbol on same line as displayed formula” again. (ntg-context Digest, Vol 153, Issue 40) Is there any progress after that? It seems to me that there is no more discussions about it. The same thing happens after the itemization as in the following

Re: [NTG-context] unwanted page break in contents

2018-08-26 Thread Jeong Dal
Dear Wolfgang, > > \setuplist > [section] > [width=10mm, > style=, > textstyle=\ss, > after={\blank[preference]}] It works perfectly. Thank you so much. Best regards, Dalyoung ___ If your question is of

[NTG-context] unwanted page break in contents

2018-08-26 Thread Jeong Dal
Hi, In the table of contents, there is a unwanted blank space after chapter 2. There is a page break if the remaining space is not enough to cover the list of the next chapter. For example, page break after ch 2. in the following example. Is it possible to list them continuously? Best regards,

  1   2   3   >