Re: [NTG-context] \sciteinlinebuffer inherits margin properties

2022-06-04 Thread Otared Kavian via ntg-context
an argument.» I don’t know where the error comes from… Best regards: OK > On 4 Jun 2022, at 19:54, Pablo Rodriguez via ntg-context > wrote: > > On 6/4/22 16:13, Otared Kavian via ntg-context wrote: >> Hi Pablo, >> >> Typesetting your two examples, I can reproduce o

Re: [NTG-context] \sciteinlinebuffer inherits margin properties

2022-06-04 Thread Otared Kavian via ntg-context
Hi Pablo, Typesetting your two examples, I can reproduce on MacOS and Context version 2022.05.11 11:36 what you are reporting. Best regards: Otared > On 4 Jun 2022, at 14:11, Pablo Rodriguez via ntg-context > wrote: > > Dear list, > > I have my third sample with scite: > >

Re: [NTG-context] fatal error in LMTX

2022-04-12 Thread Otared Kavian via ntg-context
Hi Pablo, Your example works fine on my machine (MacOS 11.6.4) with LMTX version 2022.04.11. However in your example the \stopfrontmatter is missing. Best regards: Otared > On 12 Apr 2022, at 19:14, Pablo Rodriguez via ntg-context > wrote: > > Hi Hans, > > I have a minimal sample that

Re: [NTG-context] upload

2022-03-30 Thread Otared Kavian via ntg-context
\stoptext % end math-cases-numbered.tex Best regards: Otared > On 29 Mar 2022, at 18:08, Aditya Mahajan via ntg-context > wrote: > > On Tue, 29 Mar 2022, Mikael Sundqvist via ntg-context wrote: > >> On Tue, Mar 29, 2022 at 6:37 AM Otared Kavian wrote: >>> &

Re: [NTG-context] upload

2022-03-28 Thread Otared Kavian via ntg-context
, it seems that it is still not possible to number each equation, but I may be overlooking something. I’ll try a few examples and will let you know, as well as Hans. Best regards: Otared > On 28 Mar 2022, at 23:54, Mikael Sundqvist wrote: > > On Mon, Mar 28, 2022 at 11:23 PM Otar

Re: [NTG-context] upload

2022-03-28 Thread Otared Kavian via ntg-context
Hi Hans, Thank you for the new upload and the improvements you mention about the handling of math stuff. Thanks also to Mikael for the follow up of these matters. I noticed that in math mode the command \cal does not work anymore and one has to use \mathcal. However in almost all of my

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-19 Thread Otared Kavian via ntg-context
beginning of the > bodymatter. > > Thanks! > Kind regards > > Willi > >> On 19 Mar 2022, at 16:52, Otared Kavian via ntg-context >> wrote: >> >> Hi Willi, >> >> Your test file works fine if I place >> \setups{Thumb-pictures

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-19 Thread Otared Kavian via ntg-context
Hi Willi, Your test file works fine if I place \setups{Thumb-pictures} before \starttext (using version 2022.03.12 17:56 LMTX). However in the file you sent the choice of the command \setups{Thumb-pictures} is between chapter A and B, which seems starnge to me... Best regards:

Re: [NTG-context] Why isn't bold + italics working together?

2022-01-29 Thread Otared Kavian via ntg-context
> On 29 Jan 2022, at 18:03, Denis Maier via ntg-context > wrote: > > IDK, but then it's probably a font issue? > […] > This thread is outdated, you can now stack styles. > > \starttext > > text {\italicface text {\boldface text} text} text > > \stoptext > > Wolfgang However there seems

Re: [NTG-context] OT world history: other measuring systems?

2022-01-26 Thread Otared Kavian via ntg-context
> On 26 Jan 2022, at 00:17, Hans Hagen via ntg-context > wrote: > […] > times (clocks) were definitely different per city Regarding the issue of the absolute necessity of defining a standard time the book by Peter Galison « Einstein’s Clocks, Poincaré’s Maps » gives some interesting insight.

[NTG-context] definemathcommand and Lucida OT

2022-01-18 Thread Otared Kavian via ntg-context
Hi Hans, Some time ago I reported about an issue with \definemathcommand, and the issue is still present, as one can see with following example. Best regards: Otared % begin liminf-Argmin.tex \setupbodyfont[lucidaot] %\setupbodyfont[termes] \definemathcommand [Argmin] [limop]

Re: [NTG-context] Bug in alignment with LMTX version 2022.01.15 17:32

2022-01-18 Thread Otared Kavian via ntg-context
Hi Hans and Aditya, Thanks for the clarification. Since for some documents I still use mkiv, I ended up using a definition which depends on whether one is using mkiv or lmtx, as in the example below. I wonder if there is a better solution. Best regards: Otared % begin bug-aligned-solved.tex

[NTG-context] Bug in alignment with LMTX version 2022.01.15 17:32

2022-01-17 Thread Otared Kavian via ntg-context
Hi Hans and Mikael, While investigating the latest version regarding the math environment, I found that the alignments are not correct. Here is an example: % begin bug-alignment.tex \definemathmatrix[alignedcases] [align={right,left,left}, distance=3pt,

[NTG-context] Simpleslides and LMTX

2022-01-17 Thread Otared Kavian via ntg-context
Hi Aditya and Thomas, Following the hint given by Thomas about fixing the behaviour of the visual counter in the simpleslides module, I tried all the possible styles and found that once the PageNumber is changed into RealPageNumber in the s-simpleslides-*.tex style files. All the

Re: [NTG-context] SimpleSlides and Visual counters

2022-01-16 Thread Otared Kavian via ntg-context
nput ward.tex \SlideTitle{Lorem} \input lorem.tex \SlideTitle{Thuan} \input thuan.tex \stoptext % end interactive-visual-counter.tex > On 16 Jan 2022, at 16:14, Thomas A. Schmitz via ntg-context > wrote: > > > On 16.01.22 15:56, Otared Kavian via ntg-context wrote: >

Re: [NTG-context] SimpleSlides and Visual counters

2022-01-16 Thread Otared Kavian via ntg-context
ter does not show up. Thanks for your help: Otared K. bug-visual-counter.tex Description: Binary data bug-visual-counter.pdf Description: Adobe PDF document > On 16 Nov 2021, at 23:11, Otared Kavian wrote: > > Hi Aditya, > > Thank you for your attention and your kind reply.

Re: [NTG-context] Why mtxrun fails ?

2022-01-07 Thread Otared Kavian via ntg-context
Hi Jean-Pierre, In which directory (or « folder », speaking MacOS…) have you installed the ConTeXt tree ? For instance, on my machine, I have installed the ConTeXt LMTX tree in /Applications/context-osx-arm64/ and then if for example I need to execute the mtxrun coming with this tree,

Re: [NTG-context] critical fun

2022-01-06 Thread Otared Kavian via ntg-context
Hi Jean-Pierre, You need to update your ConTeXt LMTX: the example works fine on MacOS when one has the version 2022.01.06 19:51. Best regards: Otared K. > On 6 Jan 2022, at 22:09, Jean-Pierre Delange via ntg-context > wrote: > > This ‘CriticalFun’ test failed, and CTX complains that

[NTG-context] Math in LMTX and definemathcommand

2021-11-17 Thread Otared Kavian via ntg-context
Hi Hans, Thank you for the new upload and the rewriting of the math fonts stuff, thanks also to Mikael S. I did several tests on real size math projects and did not notice important issues. The two issues I noticed, show up mainly with LucidaOT, and are explained in the following example:

Re: [NTG-context] SimpleSlides and Visual counters

2021-11-16 Thread Otared Kavian via ntg-context
> On Mon, 15 Nov 2021, Otared Kavian via ntg-context wrote: > > Hi Otared, > >> It seems that the visual counter in SimpleSlides module (the version I have >> from ConTeXt Garden is from 2014) does not work fine with the latest LMTX. >> Is the issue i

Re: [NTG-context] new upload

2021-11-16 Thread Otared Kavian via ntg-context
Hi Hans, Thank you for the new upload and the rewriting of the math fonts stuff, thanks also to Mikael S. I did several tests on real size math projects and did not notice important issues. The two issues I noticed, show up mainly with LucidaOT, and are explained in the following example:

[NTG-context] SimpleSlides and Visual counters

2021-11-15 Thread Otared Kavian via ntg-context
Hi all, in particular Aditya M. and Thomas A.S., It seems that the visual counter in SimpleSlides module (the version I have from ConTeXt Garden is from 2014) does not work fine with the latest LMTX. Is the issue is known ? If so, is there a new version of SimpleSlides in which the issue has

Re: [NTG-context] \externafigure and \at do not work together

2021-10-31 Thread Otared Kavian via ntg-context
Hi, Your example has two issues, since you invoke \externalfigure before \starttext, and moreover you don’t use the place figure mechanism. The following gives the result you want: \setupinteraction[state=start] \starttext \startplacefigure[reference=clock] \externalfigure[clock.jpg]

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Otared Kavian via ntg-context
> On 11 Aug 2021, at 10:19, Thomas A. Schmitz via ntg-context > wrote: > > >> On 11. Aug 2021, at 10:09, Otared Kavian via ntg-context >> wrote: >> >> Thanks for the example and the fix, but I would rather think that the « >> french » par

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Otared Kavian via ntg-context
> On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context > wrote: > (…) > core-con.lua (line 1155): > > local ordinals = { > [...] > french = function(n) > if n == 1 then > return "er" > + else > + return "e" > end > end, > } Hi

Re: [NTG-context] Strange new behaviour of the mailing list

2021-07-31 Thread Otared Kavian via ntg-context
> On 31 Jul 2021, at 00:05, Bruce Horrocks wrote: > […] > I see the same thing, also on Macos. Looking at an older message, I see that > the Reply-To: header has changed from > > Reply to: Bruce Horrocks , > mailing list for ConTeXt users > > to > > Reply to: mailing list for ConTeXt users

Re: [NTG-context] Strange new behaviour of the mailing list

2021-07-31 Thread Otared Kavian via ntg-context
> On 31 Jul 2021, at 00:47, Henning Hraban Ramm via ntg-context > wrote: >> […] > > If you click on that name, you can see the actual address. > > Hraban Sure, but I don’t understand why the behaviour has changed. It seems to me a regression… Best regards: Otared

[NTG-context] Strange new behaviour of the mailing list

2021-07-30 Thread Otared Kavian via ntg-context
Hi all, I noticed that beginning July 27th, the messages distributed by the ConTeXt mailing list appear to be from Mailing list for ConTeXt users without the actual name of the sender appearing. It may be dependent on the mail client I am using (Mail.app on MacOS 11.4), but I wonder

Re: [NTG-context] Metapost Animation of Sine

2021-07-22 Thread Otared Kavian
00)*i)*u,sin(omega*(mylength/100)*(i + tt))*u) > endfor ; > draw p withpen pencircle scaled .5pt withcolor darkred ; > \stopMPcode > \stopframe} > } > \stopanimation > } > > \stoptext > > Op wo 21 jul. 2021 om 23:26 schreef Otared Kavian <mailto:ota...@gmail.

Re: [NTG-context] Metapost Animation of Sine

2021-07-21 Thread Otared Kavian
Hi, Adding to my previous message, if you are looking for an animation of the wave equation for a string with fixed endpoints, one has to use something like the following: % begin wave-sine-string.tex \usemodule[animation] \setupinteraction[state=start] \starttext \startTEXpage[offset=2pt]

Re: [NTG-context] Metapost Animation of Sine

2021-07-21 Thread Otared Kavian
Hi, I wonder whether something like the following is what you are looking for: % begin wave-sine.tex \usemodule[animation] \setupinteraction[state=start] \starttext \startTEXpage[offset=2pt] \startanimation[menu=yes,framerate=10] \dorecurse{100}{\expanded {\startframe

[NTG-context] Hyphens broken with lucidaot

2021-06-30 Thread Otared Kavian
Hi Hans, I noticed that with the recent LMTX version 2021.06.27 16:59 the hyphens do not show up correctly with lucidaot. Here is a minimal example and the resulting PDF \setupbodyfont[lucidaot,10pt] \startTEXpage c'est-à-dire sous-ensemble sous-préfet \stopTEXpage Best regards: Otared

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

2021-06-22 Thread Otared Kavian
Dear Dalyoung, dear Mikael Thank you both for your explanations: indeed this « whatever » command in MetaPost is magic and very useful (I am not sure whether it is a command only in MetaFun, or it exists also in the original MetaPost). Regarding the way Aditya uses \startuseMPgraphic, it is

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.

  1   2   3   4   5   6   7   8   9   10   >