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

2021-06-21 Thread Otared Kavian
t z3 should be on the line through z0, > perpendicular to the line between z1 and z2. Since MetaPost solves > linear equations, this defines z3, and we need not to think more about > the actual values of the "whatevers" (note that they are not in > general equal in this example!). >

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

2021-06-21 Thread Otared Kavian
Hi Aditya, Thanks for the detailed file you sent to answer Dalyoung’s question and file. And going through both files I have a question. I see that both of you use a function « whatever » (but is it a function ?): what does this do and where can it be used (actually I have seen Hans using this

Re: [NTG-context] Functionnames disappearing (sometimes)

2021-06-20 Thread Otared Kavian
Hi Hans, Many thanks ! Yes the new engine fixes the issues. Best regards: Otared > On 19 Jun 2021, at 23:27, Hans Hagen wrote: > > On 6/19/2021 10:01 PM, Otared Kavian wrote: >> Hi, >> I don’t know whether the issue reported by Mikael S. is related to the >> fo

Re: [NTG-context] Functionnames disappearing (sometimes)

2021-06-19 Thread Otared Kavian
Hi, I don’t know whether the issue reported by Mikael S. is related to the following: since last week (I guess) some math sympbols are not shown either, such as \bigcap and \bigcup, even using version 2021.06.18 23:37. An example is: \starttext $A \cup B = X \cap Y$ \startformula A \bigcup B =

Re: [NTG-context] mathfun

2021-05-21 Thread Otared Kavian
Hi Hans, Thanks for the new features you have introduced in the module mathfun. Actually I have been using commands such as the one mentioned by Aditya, \ctxlua{myfunction(args)} but for the formatting of the output, that is when one wants only 3 or four decimal digits, that approach is

Re: [NTG-context] No math fonts in latest LMTX 2021.05.15 22:45

2021-05-20 Thread Otared Kavian
Thanks Hans ! Everything works fine again (regarding math fonts…). Best regards: Otared > On 20 May 2021, at 11:18, Hans Hagen wrote: > > Hi, > > I uploaded a new version. Hopefully this one is complete. > > Hans > > - >

[NTG-context] No math fonts in latest LMTX 2021.05.15 22:45

2021-05-20 Thread Otared Kavian
Hi, After updating to LMTX version 2021.05.15 22:45 the following does not show any math italic font: \starttext Let $f(x) := \sin(x)$. \stoptext Please, can someone confirm this behavior ? Many thanks in advance: Otared

[NTG-context] Error when updating LMTX

2021-05-17 Thread Otared Kavian
Hi Hans, I just tried to update LMTX, but at the end no format is made and I get the message: error loading file: trac-set.lmt (aborting)resolvers and I cannot anymore typeset any file. Best regards: Otared

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-16 Thread Otared Kavian
:53, Hans Hagen wrote: > > On 5/16/2021 2:52 PM, Otared Kavian wrote: >> Hi Hans, >> I have been noticing for some time that \setupsynctex does not work >> properly, at least in TeXShop on MacOS. >> A « filename.synctex » file is created but on most occasions it does no

[NTG-context] Synctex broken in LMTX ?

2021-05-16 Thread Otared Kavian
Hi Hans, I have been noticing for some time that \setupsynctex does not work properly, at least in TeXShop on MacOS. A « filename.synctex » file is created but on most occasions it does not contain many lines, and one cannot go from the PDF file to the right location in the source file. Has

Re: [NTG-context] \prime is too high

2021-05-10 Thread Otared Kavian
Hi Jairo, Indeed \prime seems a littl ebit too high, but using the apostrophe sign for derivation gives the expected result: \starttext $s''$ or $s’$ is fine but not $s^{\prime}$. \stoptext (Using LMTX version 2021.05.09 17:14). Best regards: Otared > On 9 May 2021, at 02:46, Jairo A. del

Re: [NTG-context] custom zig zag sidebars

2021-04-29 Thread Otared Kavian
Hi Massi, Thank you and Hans for this nice feature: is it going to be included in the built-in sidebar ? Best regards: Otared > On 29 Apr 2021, at 11:52, mf wrote: > > Il 28/04/21 17:53, Hans Hagen ha scritto: >> On 4/28/2021 5:27 PM, mf wrote: >>> Hello, >>> >>> I made an experiment to add

Re: [NTG-context] arm osx

2021-04-11 Thread Otared Kavian
Hi, Thank you Mojca and Hans for the new binary for MacOS ARM: yesterday I installed it on my new MacBook Pro ARM and everything works like a charm. Just for the persons who run into difficulties when running sh install.sh and see that MacOS 11 prevents mtxrun to run properly, in the

Re: [NTG-context] lmtx update / teaser

2021-03-01 Thread Otared Kavian
Hi Hans, Thank you for the new upload. The teaser examples work fine, many thanks ! I have a question though: how can one center within a page a text, for example typeset in a circular shape? I tried with \startalignment, and also with \startplacefigure but none of these gives a centered

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Otared Kavian
Sorry, I didn't send the correct example… \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline}\dontleavehmode\hairline \startformula \margintext{Me}

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Otared Kavian
Hi Uschi, You may add \dontleavehmode at the right place as in the following: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext

Re: [NTG-context] metafun

2021-02-20 Thread Otared Kavian
Hi Hans, Thanks for the new upload. For your information, I would like to report that the metafun.tex file typesets almost corretly (actually I often typeset it for testing a new upload…) but I get a PDF with 400 pages instead the 448 you are mentionning… The issues are typically some figures

Re: [NTG-context] \showmathcharacters, mk ii, how can I get the list, is not working!!

2021-02-16 Thread Otared Kavian
Hi Uschi, Maybe you need to get all math commands which result in a special character: in this case you may use the following, and uncomment other commands below to see what they give you. \usemodule[s-math-coverage] % \setupbodyfont[lucidaot] % Put here the font you are going to use

Re: [NTG-context] composing commands

2021-02-09 Thread Otared Kavian
Hi Hans, Thanks for the new composing commands. I made several tests and everything works great. I guess when you say something like > \withgrave {a} == \\`{a} you mean \withgrave {a} == \`{a} (this is what I tested…). Regarding the characters æ and œ, the command \chr produces

Re: [NTG-context] composing commands

2021-02-05 Thread Otared Kavian
On 5 Feb 2021, at 22:30, Hans Hagen wrote: > […] > Is this ok for you? > > tex error > tex error on line 6 in file ./oeps.tex: Undefined control > sequence > > \v > > 4 > 5 \starttext > 6 >> \v > 7 \stoptext > 8 In that case the error message could say tex error > tex

Re: [NTG-context] composing commands

2021-02-05 Thread Otared Kavian
Hi Hans, I agree that nowadays most composed characters can be input directly from the keyboard (at least judging from my experience with MacOS), but nevertheless it may happen that one uses an old file used as an input source file (for instance extracting a math exercise from a database) in

Re: [NTG-context] code 139

2021-01-29 Thread Otared Kavian
Hi Thomas, Out of curiosity I tested your MWE and I get mtx-context | fatal error: return code: 11 with LMTX (version 2021.01.28 18:22), while with mkiv it typesets correctly. Best regards: Otared > On 29 Jan 2021, at 14:42, Thomas A. Schmitz > wrote: > > > On 1/29/21 12:56 PM,

Re: [NTG-context] LMTX isn't typesetting math correctly with Pagella

2021-01-15 Thread Otared Kavian
Hi Jack,I tested your example both with Pagella and Lucida OT: indeed typesetting with the latest LMTX, with Pagella the math italic « f » runs into the right bar of « |f| ».However the result with mkiv is correct.I am attaching the PDF output with LMTX.Best regards: Otared bar-distance-f.pdf

Re: [NTG-context] Randomize order of blocks

2021-01-06 Thread Otared Kavian
edList[\recurselevel]]}(x) := \cldcontext{ListOfFunctions[ShuffledList[\recurselevel]]}$. Prove that \startformula \cldcontext{ListOfNames[ShuffledList[\recurselevel]]}'(x) = \cldcontext{ListOfDerivatives[ShuffledList[\recurselevel]]} \stopformula \stopbuffer \dorecurse{6}{\blank[medium]{\b

Re: [NTG-context] Randomize order of blocks

2021-01-06 Thread Otared Kavian
Hi Jairo, One can indeed make quizzes and exams with randomized order of problems, randomized values and even randomized names of functions and variables. I have some examples which I have been using for several years (they are useful especially in these days of giving exams online…): I can

Re: [NTG-context] dutch calendars 3 months

2021-01-05 Thread Otared Kavian
Best wishes for the new year ! Talking of calendars, this one is even more compact: each year is shown on one page, and when changing the year only the three lines where the months are shown will change:

Re: [NTG-context] Math align not working

2020-12-29 Thread Otared Kavian
Hi Johann, The example you sent works fine here with LMTX version 2020.12.28 01:41. Which version of ConTeXt are you using ? Best regards: Otared > On 29 Dec 2020, at 14:36, Johann Birnick wrote: > > Hi there, > > I noticed that Math align is not working properly. In particular I mean the >

[NTG-context] Metafun: dotlabel issue in latest LMTX

2020-12-27 Thread Otared Kavian
Hi Hans, The following (due to you and Aditya, discussed a few days ago) used to work with LMTX until version 2020-12-10, but it does not work anymore with LMTX version 2020-12-24 17:30. I wonder whether this is due to some changes you have made recently. %% begin squaredot-test.tex

[NTG-context] freedotlabel not defined in LMTX ?

2020-12-26 Thread Otared Kavian
Hi Hans, When I was testing your example with freelabel in another thread, I noticed that freedotlabel does not work in LMTX. Here is the code from the Metafun manual which works with ConTeXt version 2020.06.25 10:55 MKIV, but not with ConTeXt version 2020.12.24 17:30 LMTX. %% begin

Re: [NTG-context] MetaFun - "remove the paths of text" from a rectangle to let the background visible

2020-12-23 Thread Otared Kavian
Hi Garulfo, Thank you for sharing your nice example: it typesets correctly with mkiv, but it seems to me that with LMTX the text does not appear (at least on my installation of the latest LMTX). Best regards: Otared > On 24 Dec 2020, at 00:14, Garulfo wrote: > > Thanks Taco, > > I made

Re: [NTG-context] Problem with \Caps

2020-12-21 Thread Otared Kavian
Hi Joaquín, Actually it depends on the font you are using, but on th eother hand it seems that \Caps is broken in LMTX. The following gives a correct result in mkiv but results in an error in LMTX: \setupbodyfont[lucidaot] \starttext Test {\sc Test} {\Caps Test} {\smallcaps Test}

Re: [NTG-context] Title in enumeration not working?

2020-12-21 Thread Otared Kavian
stopexample > > and that has been working before. Reading in setup-en.pdf, it also looks to > me as if that should work. > > Best, > > Mikael > > On Mon, Dec 21, 2020 at 11:47 AM Otared Kavian <mailto:ota...@gmail.com>> wrote: > Hi Mickael, > >

Re: [NTG-context] Title in enumeration not working?

2020-12-21 Thread Otared Kavian
Hi Mickael, Maybe this is what you want: \defineenumeration[example] [text=Example, title=yes, titleleft=, titleright={.}, ] \starttext \startexample{Title} This is a test. \stopexample \stoptext Of course is you say text=, then you get only «

Re: [NTG-context] upload / metafun

2020-12-15 Thread Otared Kavian
Hi Hans, Thanks for the new upload. With your comments, I understand that, following the discussion with Aditya, when using the new version I should not define in Metafun a new function named dotlabel in order to have a square dot… Actually I called it mydotlabel in order to be able to

Re: [NTG-context] issue with link and margin in LMTX

2020-12-12 Thread Otared Kavian
Hi Pablo, I don't know which kind of problems you are having with your example, but it seems to me that I get the same result with mkiv and LMTX. Best regards: Otared > On 11 Dec 2020, at 19:00, Pablo Rodriguez wrote: > > Dear list, > > I have the following sample: > >

Re: [NTG-context] Metafun: is it possible to redefine dotlabel to draw a square ?

2020-12-10 Thread Otared Kavian
it is safer for me to call it something like « dotshapelabel » ? Best regards and agin many thanks: Otared > On 10 Dec 2020, at 18:44, Aditya Mahajan wrote: > > On Thu, 10 Dec 2020, Otared Kavian wrote: > >> Hi all, >> >> In Metafun when representing a point

[NTG-context] Metafun: is it possible to redefine dotlabel to draw a square ?

2020-12-10 Thread Otared Kavian
Hi all, In Metafun when representing a point I woul dlike to have some dots represented by a square (or even by another scalable symbol): for instance in the following I would like the dot at the point B to be a square: \starttext \startMPcode draw (2cm,3cm) -- (3cm,5cm) ;

Re: [NTG-context] Metafun: how to draw a straight line past the end points

2020-12-09 Thread Otared Kavian
Thanks Aditya! One can learn a lot with your answers ! In the Metafun manual I see enlonged but I did not know to use it. Best regards: Otared > On 9 Dec 2020, at 21:38, Aditya Mahajan wrote: > > On Wed, 9 Dec 2020, Otared Kavian wrote: > >> Hi Aditya, >> >> Tha

Re: [NTG-context] Metafun: how to draw a straight line past the end points

2020-12-09 Thread Otared Kavian
)) shifted z1 ; draw z1 -- z3 ; draw z4 -- z1 ; draw z1 -- z2 withcolor red ; \stopMPcode \stoptext Best regards: Otared > On 9 Dec 2020, at 18:37, Aditya Mahajan wrote: > > On Wed, 9 Dec 2020, Otared Kavian wrote: > >> Thanks a lot ! Indeed that does the job, which s

Re: [NTG-context] Metafun: how to draw a straight line past the end points

2020-12-09 Thread Otared Kavian
Hi Fabrice, Thanks a lot ! Indeed that does the job, which shows how wonderful Metafun is ! Best regards: Otared > On 9 Dec 2020, at 17:19, Fabrice L wrote: > > Hi, > >> Le 9 déc. 2020 à 10:57, Otared Kavian a écrit : >> >> Hi, >> >> I have a sil

[NTG-context] Metafun: how to draw a straight line past the end points

2020-12-09 Thread Otared Kavian
Hi, I have a silly question: given two points in the plane z1 = (1cm,3cm) ; z2 = (5cm, 9cm) ; the command draw z1 -- z2 withpen pencircle scaled .5pt ; draws the line segment joining z1 and z2. How could I draw the line segment which goes a little further (say 1cm) than

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Otared Kavian
Hi Pablo, You may use \text in math formulas as in: \startitemize[packed] \item Valor actual neto: $\text{beneficios} - \text{costes}$. \item Beneficio por euro: $\frac{\text{beneficios}}{\text{costes}}$. \item Beneficio obtenido el primer año. \stopitemize Best regards: Otared > On 3 Dec

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Otared Kavian
» do not give the suffix « tex »: shoul dthey give « tex » or am I misintrepreting these commands? Best regards: Otared > On 1 Dec 2020, at 18:23, Wolfgang Schuster > wrote: > > Otared Kavian schrieb am 01.12.2020 um 18:10: >> Thanks Hraban, this might be also us

Re: [NTG-context] Context install for Apple Silicon M1 mac mini

2020-12-01 Thread Otared Kavian
Hi Keith, You may try to copy to your new machine the whole folder where you have installed LMTX on your old machine, and then run context --make there. Indeed if this works for your current LMTX folder you'll need someone to prepare a whole working folder of updated LMTX. As long as I

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Otared Kavian
Thanks Hraban, this might be also useful and I'll keep it somewhere on my mind, but for the project I was asking my question \jobname is enough. Best regards: Otared > On 1 Dec 2020, at 17:33, Henning Hraban Ramm wrote: > > > >> Am 01.12.2020 um 16:20 schrieb Otared Kavi

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Otared Kavian
Thanks Tomás! Indeed \jobname does the job :-) Best regards: Otared > On 1 Dec 2020, at 15:25, Tomas Hala wrote: > > Hi Otared, > > try \jobname. > > Best wishes, > > Tomáš > > > Tue, Dec 01, 2020 ve 02:45:18PM +0100 Otared Kavian napsal(a): > #

[NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Otared Kavian
Hi everyone, I have to typeset a few files which get each an input file named in a certain way. For instance, a file named « myfile.tex » in which another file named « myfile-buffer.tex » is used as an \input file, as in % content of myfile.tex % \starttext This is a test. \input

Re: [NTG-context] mathmatrix and internal lines

2020-11-29 Thread Otared Kavian
Great! Well done. I'll ask Taco about LMTX on the wiki. Best regards: Otared > On 29 Nov 2020, at 19:59, Jean-Philippe Rey > wrote: > > I added some details and examples to the wiki, however, as you said, they are > not typeset correctly. > >> Le 29 nov. 202

Re: [NTG-context] mathmatrix and internal lines

2020-11-28 Thread Otared Kavian
> On 26 Nov 2020, at 23:23, Hans Hagen wrote: > […] > A bit more code needed but the next upload will have it. Of course you have > to wikify it. > > Hans Hi, I created a page on the wiki: https://wiki.contextgarden.net/Matrix_in_maths

Re: [NTG-context] mathmatrix and internal lines

2020-11-27 Thread Otared Kavian
Hi Hans, Thanks for your insight! Indeed I'll wikify what you explained, once I have tested it with the next upload. Would \HL and \VL be also available in mkiv ? Best regards: Otared > On 26 Nov 2020, at 23:23, Hans Hagen wrote: > > On 11/26/2020 8:43 PM, Otared Kavian wrote: &

Re: [NTG-context] mathmatrix and internal lines

2020-11-26 Thread Otared Kavian
gt; For the MkIV version I haven't been able to add an optional parameter to \HR > the code > > \def\HR{\dosingleempty\doHR} > \def\doHR[#1]{\noalign{\hrule #1}} > > complains about "Misplaced \noalign" > > Best regards, > > > >> Le

Re: [NTG-context] mathmatrix and internal lines

2020-11-26 Thread Otared Kavian
Hi Jean-Philippe, The following is better than the one I sent earlier: \definemathmatrix[mymatrix] [left={\left(\,}, right={\ \right)}] \starttext \startformula \startmymatrix \NC A \NC\hskip-.5em \vrule \NC\hskip-.5em B \NR

Re: [NTG-context] mathmatrix and internal lines

2020-11-26 Thread Otared Kavian
Hi Jean-Philippe, For a simple case like the one you sent, a rather not optimal solution can be this: \definemathmatrix[mymatrix] [left={\left(\,}, right={\ \right)}] \starttext \startformula \startmymatrix \NC A \hskip .5em |\hskip-.5em \NC B

Re: [NTG-context] upload

2020-11-23 Thread Otared Kavian
Hi Hans, On MacOS X I obtain the same error when doing: context --make --all (or mtxrun --make --all). The error is csname overload > fatal error, protection level 4, control sequence 'textcontrolspace', properties 'immutable', file 'enco-ini.mkxl', line 315 Best regards: Otared > On 23 Nov

Re: [NTG-context] \noindentation not working

2020-11-20 Thread Otared Kavian
Hi Pablo, I can confirm that with LMTX version 2020.11.19 11:28, the behaviour is as the one you report (the behaviour is correct with mkiv version 2020.06.25 10:55). Best regards: Otared > On 20 Nov 2020, at 17:41, Pablo Rodriguez wrote: > > Dear list, > > I have the following MWE: > >

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread Otared Kavian
Hi Johann, Here is an example (extracted from one of my files…) which might give what you want: you can change some of the specifications easily. % begin proclaim-leftbar.tex %%% \startuseMPgraphic{mpos:region:leftbar} draw_multi_pars;

Re: [NTG-context] new upload

2020-11-19 Thread Otared Kavian
Hi Hans, Thanks for the new upload and the fix for the install script: it works again also for MacOS. Best regards: OK > On 19 Nov 2020, at 11:35, Hans Hagen wrote: > > Hi, > > A new upload. Hopefully with the linux install fixed. > > Hans > > >

[NTG-context] Fatal error 11

2020-11-14 Thread Otared Kavian
Hi Hans, With the latest LMTX (current version: 2020.11.13 19:13), a project (which used to typeset correctly until last week) cannot be typeset anymore. I did try to typeset smaller parts of my files but this did not help: I keep getting fatal error: return code: 11 and no PDF

Re: [NTG-context] new upload

2020-11-07 Thread Otared Kavian
Hi Pablo, I had the same issue as the one you were reporting (on MacOS 10.14.6). I removed the three files texmf-context.tma texmf-osx-64.tma texmf.tma before issuing the command sh install.sh Now I am getting fetching

Re: [NTG-context] cannot update LMTX

2020-11-04 Thread Otared Kavian
: Otared > On 4 Nov 2020, at 16:38, Pablo Rodriguez wrote: > > On 11/4/20 4:18 PM, Otared Kavian wrote: >> Hi Pablo, >> >> I get the same result as you. I think the reason is that Hans has not >> yet issued a newer version (he said in a message a few days ago that >

Re: [NTG-context] cannot update LMTX

2020-11-04 Thread Otared Kavian
Hi Pablo, I get the same result as you. I think the reason is that Hans has not yet issued a newer version (he said in a message a few days ago that by mistake he might have uploaded a new version, but that we should be careful not to update yet…). Best regards: Otared > On 4 Nov 2020, at

Re: [NTG-context] index entries postponed if sections are empty

2020-10-31 Thread Otared Kavian
Hi Hraban, Maybe you can add some « virtual » text in the section with an invisible color such as \startcolor[white] a \stopcolor I don't know whether the following can solve your problem, but the entries of the index appear correctly: \usemodule[visual] \starttext \dorecurse{5}{%

[NTG-context] Is synctex broken in lmtx ?

2020-10-18 Thread Otared Kavian
Hi Hans, It seems that \setupsynctex[state=start] does not have any effect in LMTX version 2020.09.20 23:02, while it works fine with mkiv version 2020.06.25 10:55. Best regards: Otared ___ If your question

Re: [NTG-context] Modules installation in a ConTeXt LMTX distribution

2020-10-18 Thread Otared Kavian
Hi Tommaso, I met the same problem at the beginning of LMTX and I used a workaround: I copied manually the folder (in MacOS speaking, or directory) context-minimal/tex/texmf-modules in my ConTeXt standalone mkiv directory, to the corresponding location in my

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

2020-09-21 Thread Otared Kavian
> On 21 Sep 2020, at 16:42, Aditya Mahajan wrote: > > On Mon, 21 Sep 2020, Wolfgang Schuster wrote: > >> Aditya Mahajan schrieb am 21.09.2020 um 16:35: >>> […] > > You gave the same reply 11 years ago :-) which is also listed in the blog > post. … Which shows that some things don't change

Re: [NTG-context] Math fonts for Nimbus fonts

2020-09-21 Thread Otared Kavian
> On 21 Sep 2020, at 16:45, Wolfgang Schuster > wrote: > > Otared Kavian schrieb am 21.09.2020 um 15:30: > […] > I don't understand your problem because you tell ConTeXt to use upright > letters (normal = upright) in math mode with the following setup. > >&

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

2020-09-21 Thread Otared Kavian
s of ntg-context digest..." >> >> >> Today's Topics: >> >> 1. Parallel text support (Denis Maier) >> 2. Re: Parallel text support (Taco Hoekwater) >> 3. Re: ZapfDingbats Unicode differences MKIV vs LMTX >> (Christoph Reller) >> 4.

[NTG-context] Math fonts for Nimbus fonts

2020-09-21 Thread Otared Kavian
Hi, I wish to use the Nimbus fonts, but since I didn't know which Math fonts is best adapted to this family, I tried several fonts such as Stix Math, TeX Gyre Math, and so on, but doing this the math-italic does not appear in these fonts: does this mean that I have to set explicitely

Re: [NTG-context] \startstructurelevel

2020-09-20 Thread Otared Kavian
Hi Denis, Does \startstructurelevel[title={Bibliography},number=no] \stopstructurelevel give what you want? Best regards: Otared K. > On 20 Sep 2020, at 10:39, Denis Maier wrote: > > Hi, > > I'm using \startstructurelevel so I can nest sections without

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Otared Kavian
Hi Felix, Some time ago I encountered the same problem and we had a thread on this list about this: https://www.mail-archive.com/ntg-context@ntg.nl/msg95355.html The problem on my Mac came from the fact that a directory /opt/local/etc/texmf/ existed (installed by MacPorts,

Re: [NTG-context] latest lmtx

2020-09-05 Thread Otared Kavian
Hi Alan, Where did you install LuaMetaTeX? For instance my LuaMetaTeX.engine contains the following three lines: #!/bin/bash export PATH=/context-osx-64/tex/texmf-osx-64/bin:/context-osx-64/bin:/context-osx-64/tex/texmf-osx-64/bin /context-osx-64/tex/texmf-osx-64/bin/mtxrun --autogenerate

Re: [NTG-context] defining font family for several options

2020-09-01 Thread Otared Kavian
Hi Julian, What Aditya means is that you define two (or more) font families: one is named mainface as yu have already done, the other named mychapterfont (for instance) where you attribute whatever fonts you wish to sans serif and else. Then when you want to use the special font in some of the

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Otared Kavian
Hi, If there are a few special numberings of floats, and one wants floats numbered 1.6a and 1.6b, the following seems to work: Best regards: Otared %%% begin ownnumber-in-floats.tex \useMPlibrary[dum] \starttext \startsection[title=One] \startplacefigure[title=Test] \externalfigure[dummy]

Re: [NTG-context] Chapter heading with rules

2020-08-21 Thread Otared Kavian
Hi Julian, Indeed you can acchieve what you want, but it is better to define a command which takes care of the number and the title of the chapter at the same time (as in \ myChapterCommand below). %% begin example.tex \definefiller[ChapterRule] [alternative=rule, color=gray,

Re: [NTG-context] memoir-style chapter heading

2020-08-18 Thread Otared Kavian
Hi Julian, Indeed you can modify slightly what Aditya said to obtain what you want: you can put the overlay into a framed environment as in the following example. Though, to my taste the number is a little bit too low… %% begin example \setuppagenumbering[state=start,location=footer]

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-14 Thread Otared Kavian
gt; On Thu, 13 Aug 2020 at 11:05, Otared Kavian wrote: >> >> Indeed following your suugestion, I removed the >>/opt/local/etc/texmf/ >> directory, as well as all other tex related directories and files in >> /opt/local/, and then installed again MacTeX2020.

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-13 Thread Otared Kavian
files in /opt/local/, which is used by MacPorts… I hope to be able to explain to my colleague how to run ConTeXt (LuaTeX) within TeXShop from MacTeX2020. Thanks to eveyone! Best regards: Otared > On 12 Aug 2020, at 08:26, Axel Kielhorn wrote: > > > >> Am 11.08.2020 um 16

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-11 Thread Otared Kavian
Hi Hans, Thanks for your explanations, which clarify why sometimes ConTeXt may not work straight of TeXLive. Nevertheless I will contact the people who maintain MacTeX in order for them to be aware of the issue I encounter, so that hopefully in the future releases people would be able to use

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-11 Thread Otared Kavian
ile > '/opt/local/etc/texmf/texmfcnf.lua' > > So maybe it is something completely different, but it does look like it's > something around those configs... > > Have a look and if not, then sorry for the noise. > > Regards, > Adam > > > On Mon, Aug 10, 2020

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Otared Kavian
Hi Axel, > On 10 Aug 2020, at 16:11, Axel Kielhorn wrote: > […] > Well, one more suggestion: > Use TeX Live Manager to update TeX-Live. > I didn’t see any comments about context not working, but maybe the update > fixes something. > (You can filter for context related packages.) > > There has

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Otared Kavian
Aug 2020, at 15:20, Hans Hagen wrote: > > On 8/10/2020 2:59 PM, Otared Kavian wrote: >> Hi Alex, >> Thank you and Taco for helping. >> In order to help solve the problem of running ConTeXt from MacTeX, I >> installed MacTeX2020 (which is the same as TeXLive2020). Now

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Otared Kavian
Aug 2020, at 12:39, Axel Kielhorn wrote: > > > >> Am 10.08.2020 um 12:03 schrieb Otared Kavian : >> >> Hi all, >> >> I suggested to a friend, who is using plain TeX and LaTeX, to switch to >> ConTeXt, and since he is using TeXShop on MacOSX with a

[NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Otared Kavian
Hi all, I suggested to a friend, who is using plain TeX and LaTeX, to switch to ConTeXt, and since he is using TeXShop on MacOSX with a version of TeXLive2020 (named MacTeX2020), I thought he would just typeset a simple test document with the option « ConTeXt (LuaTeX) » from the menu in

[NTG-context] Defining \qed (was: Bug with \wordright...)

2020-08-08 Thread Otared Kavian
Hi Wolfgang, Thanks for your explanations and the correct definition of the close symbol in an enumeration. Following up the discussions with Hans, in order to put a close sympbol at the end of a formula, I have the following for the definition of \qed: %% begin example-qed.tex \showframe

Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-04 Thread Otared Kavian
of the formula. \qed \stoptext end-example-qed.tex Thanks a lot for everything: Otared > On 4 Aug 2020, at 13:24, Hans Hagen wrote: > > On 8/4/2020 11:17 AM, Otared Kavian wrote: >> Thanks Hans for your explanations. >> The problem I encountered is that, the command \qed i

[NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-03 Thread Otared Kavian
Hi Hans, A file which used to be typeset correctly with the previous versions of lmtx, now produces an error. Despite the error message being extremely cryptic: Error ! Missing number, treated as zero I could guess the origin of the bug, which seems to be \wordright, but although the

Re: [NTG-context] margin notes (was: lmtx update)

2020-08-01 Thread Otared Kavian
is here to see what happens in the next page\dots\par \input knuth.tex} \par \dorecurse{3}{\input knuth.tex } \stoptext > On 1 Aug 2020, at 23:01, Henning Hraban Ramm wrote: > > >> Am 01.08.2020 um 22:36 schrieb Otared Kavian : >> >> Hi Hraban, >> >>

Re: [NTG-context] margin notes (was: lmtx update)

2020-08-01 Thread Otared Kavian
is not helpful to find the error… (LMTX considers \footnote as an undefined control sequence…). Best regards: Otared > On 1 Aug 2020, at 19:19, Henning Hraban Ramm wrote: > > > >> Am 01.08.2020 um 18:57 schrieb Otared Kavian : >> >> Hi Hraban, >> >> Thank y

Re: [NTG-context] lmtx update

2020-08-01 Thread Otared Kavian
cannot avoid them). Best regards: Otared > On 1 Aug 2020, at 18:41, Henning Hraban Ramm wrote: > > >> Am 01.08.2020 um 15:20 schrieb Otared Kavian : >> >> Regarding footnotes, would it be possible to have a built-in support for >> writing the footnotes in th

Re: [NTG-context] lmtx update

2020-08-01 Thread Otared Kavian
> On 1 Aug 2020, at 16:17, Hans Hagen wrote: > > On 8/1/2020 3:20 PM, Otared Kavian wrote: >>> On 31 Jul 2020, at 10:32, Hans Hagen wrote: >>> >>> […] >>> >>> Other work in progress is: better columns in itemize, esp proper footnote >

Re: [NTG-context] lmtx update

2020-08-01 Thread Otared Kavian
> On 31 Jul 2020, at 10:32, Hans Hagen wrote: > > […] > > Other work in progress is: better columns in itemize, esp proper footnote > support (not that I ever need that but I know users do so ...), experiments > work ok, but I need to check spacing. In general, footnotes (will) behave a >

[NTG-context] Error with latest upload

2020-07-28 Thread Otared Kavian
Hi Hans, After updating to current version: 2020.07.28 23:04, typestting the minimal test: \starttext test \stoptext results in: runtime error : input file 'page-mcl.mkxl' is not found, quitting. Best regards: OK

[NTG-context] Bug in latest LMTX

2020-07-21 Thread Otared Kavian
Hi Hans, It seems that \cap is not anymore defined in the latest LMTX: the following gives an error \starttext $A \cap B$ \stoptext with current version: 2020.07.21 18:39. Also, I would like to place a request about the reporting of errors: can we get back the nice reporting of errors we had

Re: [NTG-context] issue with current latest (2020.07.20)

2020-07-20 Thread Otared Kavian
Hi, As far as I can see the latest LMTX does not create the format, so on my machine, when typesetting a file I get error loading file: mult-fmt.lua (aborting)resolvers . mtx-context | error, no format found with name: cont-en, aborting So the problem is

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

2020-07-18 Thread Otared Kavian
> On 18 Jul 2020, at 23:35, Otared Kavian wrote: > > > >> On 18 Jul 2020, at 22:25, Fabrice Couvreur >> wrote: >> >> Hi Wolfgang, >> >> It works but why did you ask this question since I finally use context ? >> Are you sure you want

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

2020-07-18 Thread Otared Kavian
> On 18 Jul 2020, at 22:25, Fabrice Couvreur > wrote: > > Hi Wolfgang, > > It works but why did you ask this question since I finally use context ? > Are you sure you want to use context(...) here? > How not to display the .0 ? Besides what Wolfgang suggested, ou can also use

Re: [NTG-context] Text around a figure

2020-07-16 Thread Otared Kavian
d not do > better. > Fabrice > > Le mer. 15 juil. 2020 à 22:25, Otared Kavian a écrit : > Hi Fabrice, > > I think what Wolfgang suggests is something like the following: > > \useMPlibrary[dum] > \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] > \definetex

Re: [NTG-context] Text around a figure

2020-07-15 Thread Otared Kavian
Hi Fabrice, I think what Wolfgang suggests is something like the following: \useMPlibrary[dum] \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \definetextbackground[fondpaille] [background=color, backgroundcolor=fondpaille, frame=off, location=always] \starttext

Re: [NTG-context] Combining colors with matrices

2020-07-15 Thread Otared Kavian
Hi David, Regarding matrices, below is an example. You can choose the names pmatrix, etc as you wish. There is even a module which allows you to compute the product of two matrices, etc (with \usemodule[m-matrix], see m-matrix.mkiv). %% defining matrix with parentheses

Re: [NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Otared Kavian
Hi Fabrice, You should enclose the table into \startplacetable... \stopplacetable as in: \startplacetable[number=no] % here put your xtable \stopplacetable Best regards: Otared > On 14 Jul 2020, at 11:28, Fabrice Couvreur > wrote: > > Hello, > In my lessons,

<    1   2   3   4   5   6   7   8   9   10   >