Whoops!!!
I didn’t see the backslash in there!!
It is a simple typo.
Thanks Wolfgang.
Best regards,
Dalyoung
> 2024. 8. 14. 오전 4:33, Wolfgang Schuster
> 작성:
>
> Jeong Dal via ntg-context schrieb am 13.08.2024 um 21:21:
>> Hi,
>> I draw a figure using MetaFun and ins
Hi,
I draw a figure using MetaFun and insert it \startplacefigure and
\stopplacefigure.
(Sample file is listed below)
But, I got an error as following:
Missing \endcsname inserted
\defcsname
\mult_interfaces_get_parameters_item_okay
#1=#S#2,->\ifarguments \or \mult_interfaces
Dear Hans and Mikael,
I appreciate for all the efforts to make a nicer math output and for the math
manual.
I hope that a few problems in math are gone away in this new version.
The math writing in ConTeXt was getting better and better to this point.
I’ll learn many things from this manual.
Tha
Hi,
In Korea, LaTeX is popular rather than ConTeXt since mathematicians initiated
the use of TeX in Korea and they use LaTeX mainly.
But right now, there are so many non-math people who developed many things for
Korean & LaTeX.
Many years ago, Hans and Taco visited the seminar held by KTUG.
The
Dear Otared,
I am using Korean as main language.
I used use typescript file, but recently I use \definefontfamily.
Since using Japanese font is similar to use Korean font, I show my example of
using Noto fonts. It was made by the help of expert of this list long time ago.
You may change "Noto S
Dear Otared,
Thank you for testing.
I run the sample after changing the column command to ‘\startsimplecolumns …
\stopsimplecolumns’.
I got the same result as your output. And it is same as the result using
\startcolumns … \stopcolumns.
If ‘\vfill’ works, then it is OK for me, but it isn’t.
Dear all,I have a little problem to use “columns” in the following example.If I use “\startcolumnset”, then I have the following problems: 1. The figures is aligned left even though I use \startplacefigure[]. 2. In the second column, the first item located at the end of the page.However, \vfill wor
Dear Otared,
I installed upload version today.
And, your example,
\starttext
The derivative of $f$ is denoted $f'$ or $f^\prime$ or is it $f^'$\dots
\stoptext
works well.
I think that you will have the same good result.
Best wishes,
Dalyoung
__
Dear Hans,
Thanks for the new upload.
It clears the issue of the math alignment.
Thanks again.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an entry to the
Wiki!
mailli
Dear Otared,
I got the same output in which there is an overlap of the formula on the last
line of the paragraph. The following line shows the version of my installation.
system >
system > ConTeXt ver: 2024.01.08 11:23 LMTX fmt: 2024.1.17 int:
english/english
system
작성:
>
>
>
>> On 12 Jan 2024, at 14:05, Jeong Dal via ntg-context
>> wrote:
>>
>> Dear all,
>>
>> I’d like to make a ticket on A4 as follows:
>>
>> 1. Use all of A4(no margin, no header, no footer,…)
>> 2. Arange 12 tickets in the
Dear all,I’d like to make a ticket on A4 as follows:1. Use all of A4(no margin, no header, no footer,…)2. Arange 12 tickets in the form of 3 x 4 on one page,3. Two rows are same,4. Numbers in the center of the ticket which is increasing.I use the following code to make it.but I think that there is
Dear all,
I tried to draw a flow chart using the module[chart].
Following the examples, I draw one.
The problem is that the size of the chart is not changed even though I changed
the numbers dx,dy, width, height, and maxwidth in the \setupFLOWcharts
Please tell me how to resize the chart.
Than
Dear Willi and Wolfgang,
Thank you for the answer.
After adding the fix, no error messages.
I’ll wait the upload of new version.
Best regards,
Dalyoung
> 2023. 12. 26. 오전 1:45, Wolfgang Schuster
> 작성:
>
> Jeong Dal via ntg-context schrieb am 25.12.2023 um 16:09:
>> H
Hi,
I got an error message as following:
Control sequence expected instead of undefined
If I comment out the “\externalfigure[][]” line, then there is no error message.
I don’t know what is wrong in the sample code.
Please check the code.
Thank you for reading.
Best regards,
Dalyoung
%%%***
Dear Hraban,
When I wrote a class material for Linear Algebra, it is nice to use \pmatrix
and \bmatrix etc.
But, for example, to write a result matrix of the product of two matrices, I
need to calculate it somewhere and copy it to my text. Hence, I tried to use
Lua to handle it in the ConTeXt.
오후 9:05, Jeong Dal via ntg-context 작성:
>
> Dear all,
>
> I copied the code of defining chapter command from metafun-000.tex, and run
> it.
> But the result is different from that in MetaFun Manual.
> There is a big spaces between the number and the title which yields the
Dear all,
I copied the code of defining chapter command from metafun-000.tex, and run it.
But the result is different from that in MetaFun Manual.
There is a big spaces between the number and the title which yields the number
cannot be seen.
I commented out several lines which seems to be not-re
Dear Alex,
I don’t know what you want exactly.
I hope that it may help.
\startMPpage
def myLabel(expr xpos, ypos)(text t) =
dotlabel.top(textext(t),(xpos,ypos));
enddef;
myLabel(1cm, 1cm, "Position");
\stoppage
Good luck.
Best regards,
Dalyoung
Dear Otared,
>
> I think there is an issue with the size of math fonts in \frac when used in
> math alignments, as it is is shown in the following example.
>
I confirm what you said.
However, if I use \dm{} instead of \displaystyle as following, then the output
is correct.
\placeformula
\st
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
>
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
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 b
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 without
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,
Da
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 than
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?
Thanks
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 m
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
\setupexternalfigures[location
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
&
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 prov
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 A
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
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
\definefontfami
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 modern-de
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 c
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 well
p ä
>\ :call tex#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 :
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: “E4
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 other
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 regards
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
___
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
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 test
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 messag
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}
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 tit
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
_
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 i
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
\setupinteraction[stat
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
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}
{\useM
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.
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 \
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 \processMPbuff
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 regar
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 intersec
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 / http
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, usin
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
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},
> width=fi
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]}}
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 ot
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 blan
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
\
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 ar
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.
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 wo
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
,
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
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 modern-designsi
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
___
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 wro
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
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”.
Co
.
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
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 = {
fa
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
'/Users/graph/ConTeXtL/tex/texmf-context/tex/context
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 \
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 shorten the
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
__
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 i
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
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,
>>
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 f
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 wrote:
>
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 ~ \stop
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 rega
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
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
else
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, whe
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
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
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
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,
D
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
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 wor
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 \startte
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 of
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”.
\s
1 - 100 of 328 matches
Mail list logo