Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-07 Thread Otared Kavian
Thanks Wolfgang! Your patch seems to fix also another issue with the cross references in ConTeXt at least on MacOS and TeXShop. In principle a document typeset with TeXShop, in the resulting PDF when the pointer hovers above a link to a reference, TeXShop shows a small pop-up window where the

Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Otared Kavian
Hi Jairo, If you remove focus=standard the interaction works fine. Best regards: Otared K. > On 6 Jul 2020, at 01:15, Jairo A. del Rio wrote: > > The following: > > \setupinteraction[state=start,focus=standard,color=black,contrastcolor=black] >

[NTG-context] Converting a CSV file to a Lua table and Lua file

2020-07-04 Thread Otared Kavian
Hi all, I have a bash script which converts a CSV file into a Lua table, which is then used in ConTeXt. It works fine, but I wonder whether there is a code within LuaMetaTeX for doing this directly there (writing a new file which contains the Lua table). This would be more efficient and

Re: [NTG-context] How to define an array of pens

2020-06-22 Thread Otared Kavian
ote: > > > >> On 22 Jun 2020, at 09:17, Otared Kavian wrote: >> >> Hi Hans, >> >> After learning from you how to define an array of colors and paths, I would >> like to know how is it possible to define a variable pen size. >> In the fo

[NTG-context] How to define an array of pens

2020-06-22 Thread Otared Kavian
Hi Hans, After learning from you how to define an array of colors and paths, I would like to know how is it possible to define a variable pen size. In the following working example below, I would like to replace MyPens[j] := pencircle scaled 2pt ; by something like MyPens[j]

[NTG-context] How to define an array of colors in Metafun

2020-06-20 Thread Otared Kavian
Hi all, I have a family of graphs to draw in Metapost and I would like to attribute a different color to each of them according to the value of a certain variable. Assuming that the path mygraph(j) depends on the variable j, which is computed within a lua code and passed to Metapost, I wonder

[NTG-context] Asymptote and lmtx

2020-06-13 Thread Otared Kavian
Hi all, Recently I have been using (in a very elementary way) Metafun in order to visualize a small set of data in 2 dimensions, as a scattered set of labeled dots, and I wanted to do the same in 3 dimensions. Indeed one can write an analogous Metafun code for 3d, but I thought using Asymptote

Re: [NTG-context] \startplacefigure and \startframedtext in lmtx

2020-06-10 Thread Otared Kavian
Hi, I tried today's new version 2020.06.09, to see whether the issue I was reporting below is fixed. Unfortunately it is not, and my fix with \dontleavehmode does not work anymore. Is there a way to fix the problem ? Thanks in advance: Otared > On 9 Jun 2020, at 11:04, Otared Kavian wr

[NTG-context] \startplacefigure and \startframedtext in lmtx

2020-06-09 Thread Otared Kavian
Hi all, I just noticed that in lmtx, the commands \startplacefigure and \startframedtext, when used together, do not behave in the same way as they do in mkiv. I wonder whether this is a permanent change or rather a buglet. I found a fix around the issue, but since in my document I have a

Re: [NTG-context] Updating lmtx

2020-06-07 Thread Otared Kavian
11:34 AM, Otared Kavian wrote: >> Hi all, >> When I run >> sh install.sh >> in order to update my installation of LuaMetaTeX, I keep getting version >> 2020.05.25 23:39. >> Is this the latest version, or have I an issue with the install script? > There hav

[NTG-context] Updating lmtx

2020-06-07 Thread Otared Kavian
Hi all, When I run sh install.sh in order to update my installation of LuaMetaTeX, I keep getting version 2020.05.25 23:39. Is this the latest version, or have I an issue with the install script? Thanks in advance for any help: Otared K.

Re: [NTG-context] Numbers inside \sqrt are small

2020-06-06 Thread Otared Kavian
Hi Mikael, Thanks to your message I discovered that in all my recent documents typeset with lmtx the \sqrt has a bug… Indeed the argument under the square root is too small. (The version I have right now is 2020.05.25 23:39, after running sh install.sh). It may be that it is related to the

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Otared Kavian
h=10cm]} %{f} > > \stopcombination} > {}% > \stopcombination > \stopplacefigure} > \stopplacefigure > > \stoptext > > %% > > > Mon, Jun 01, 2020 ve 04:58:52PM +0200 Otared Kavian napsal(a): > # Hi To

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Otared Kavian
image-3.pdf][width=4cm]} % c > appears above image-3 > \stopcombination}{} > \stopplacefigure > > Best wishes, > > Tomáš > > Mon, Jun 01, 2020 ve 02:30:49PM +0200 Otared Kavian napsal(a): > # Hi all, > # > # Is it possible to write the individual ca

[NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Otared Kavian
Hi all, Is it possible to write the individual captions for each element of a combination of floats above it, while the caption for the figure appears below? \startplacefigure[title={A combination of three figures}] % this title appears below the figure \startcombination[3*1]

[NTG-context] Is it possible to have a rotated label in Metafun?

2020-05-24 Thread Otared Kavian
Hi all, In a graph which I am trying to draw with LuaMetafun, I have a variable the values of which I want to show on the graph rotated 90 degrees (or whatever other value). Is it possible to do that? An example is: numeric a, u ; u := 10mm ; a := 4.5 ; label.bot(a,

[NTG-context] \mathopen, \Uover and friends

2020-05-09 Thread Otared Kavian
Hi Hans, Thanks for the quick fix of today's upload. I could typeset your examples with \mathopen, \mathclose and these are great features in order to fine tune the spacing in math mode. Regarding the new command \Uover, I thought maybe it would be more consistent to have the usual structure

Re: [NTG-context] Use \unit for value and uncertainty

2020-05-09 Thread Otared Kavian
Hi Benjamin, Thanks for sharing your nice code, which is very useful. However I wanted to let you know that it seems it does not work correctly with LuaMetaTeX version 2020.04.30 11:10, even though it works fine with ConTeXt mkiv. Best regards: Otared K. > On 9 May 2020, at 12:39, Benjamin

[NTG-context] Current version 2020.05.09 08:55 not working

2020-05-09 Thread Otared Kavian
Hi Hans, I just updated to the latest version 2020.05.09 08:55 but when trying your examples with \mathopenup and friends noticed that ConTeXt is stuck with resolvers > lua > loading file '/context-osx-64/tex/texmf-context/tex/context/base/mkiv/math-spa.lua' succeeded or with

Re: [NTG-context] updating mkiv

2020-04-18 Thread Otared Kavian
Thanks Mojca! After updating I have now current version: 2020.04.08 14:34 Best regards: Otared > On 18 Apr 2020, at 11:28, Mojca Miklavec > wrote: > > On Sat, 18 Apr 2020 at 11:25, Mojca Miklavec wrote: >> On Sat, 18 Apr 2020 at 11:00, Otared Kavian wrote: >

[NTG-context] updating mkiv

2020-04-18 Thread Otared Kavian
Hi all, Is the latest version of ConTeXt mkiv the following: current version: 2020.01.30 14:13 I am asking this because after running sh firstsetup.sh that is what I get. Best regards: OK ___ If your

[NTG-context] Colors in lmt_surface and luametafun

2020-04-17 Thread Otared Kavian
Hi Hans, On page 36 of luametafun.pdf there is the following example of using lmt_surface: \startMPcode{doublefun} draw lmt_surface [ preamble = "local sin, cos = math.sin, math.cos", code = "sin(x*x) - cos(y*y)", color = "f, f/2, 1-f",

Re: [NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Otared Kavian
Hi Dalyoung, I tested your code: it works fine with both definitions of the variable tt in your code. I am using the current LMTX version 2020.04.08 14:38. Best regards: Otared > On 11 Apr 2020, at 14:32, Jeong Dal wrote: > > Dear all, > > I draw Pascal’s triangle with the label of each

Re: [NTG-context] Exercise file with statements and correction

2020-03-17 Thread Otared Kavian
Hi Fabrice,Here is a model written with the help of Wolfgang Schuster.Let me know if you need more help. interactive-question-hint-answer-2.tex Description: TeX document interactive-question-hint-answer-2.pdf Description: Adobe PDF document On 17 Mar 2020, at 21:14, Fabrice Couvreur

Re: [NTG-context] Quizz

2020-03-16 Thread Otared Kavian
> On 16 Mar 2020, at 11:14, Hans Hagen wrote: > > On 3/15/2020 10:34 AM, Fabrice Couvreur wrote: >> […] > > there are some examples of form stuff in the test suite (widgets) > > i'll send you a file from 2000 that does some mpc magic (including feedback > and score calculations) but it's

Re: [NTG-context] How do I set TeXShop to use mtxrun on a .tex file?

2020-02-29 Thread Otared Kavian
Hi Gerben, There is a dedicated page for this: https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_on_MacOS Please have a look to the section Running LMTX from TeXShop Best regards: OK > On 29 Feb 2020, at 12:34, Gerben Wierda wrote: > > I’d like to use TeXShop.app for

[NTG-context] margintext and floats in the margin

2020-01-29 Thread Otared Kavian
Hi, Is it possible to put some short notes in the margin, together with a float? Below is an example, which puts the float on top of the text in the margin. The option « stack=yes » works fine for the margintext when there is no float, but it does not seems to be an option which puts the figure

[NTG-context] margintext and floats in the margin

2020-01-26 Thread Otared Kavian
Hi, Is it possible to put some short notes in the margin, together with a float? Below is an example, which puts the float on top of the text in the margin. The option « stack=yes » works fine for the margintext when there is no float, but it does not seems to be an option which puts the figure

Re: [NTG-context] typing+framedtext: different behaviour between TL2017 and 2019

2020-01-17 Thread Otared Kavian
Hi Wolfgang,Indeed the sample sent by Tomas works fine with recent lmtx and mkiv, but with the mkiv version in TeXLive2019 one gets the result attached.This means that Tomas has to update to a newer version of ConTeXt…Best regards: OK typing-and-framedtext.pdf Description: Adobe PDF document On

[NTG-context] Historic ligatures with lucidaot

2020-01-16 Thread Otared Kavian
Hi all, How can I add the so-called « historic ligatures », such as in st, ct, to a font (assuming it has that feature)? For instance \setupbodyfont[lucidaot] \starttext construction \stoptext does not show the historic ligature in « st » and in « ct »: how can I get them? Best regards:

[NTG-context] How to use in Metafun, a function defined in Lua

2019-12-28 Thread Otared Kavian
Hi all, I would like to use a math function defined in lua in Metafun in order to draw its graph, together with the graphs of some other functions. As a simple example consider the following: %%% begin lua-metafun-example.tex \startluacode function document.myfunction(n,x)

[NTG-context] How to use together lmt_axis, lmt_grid and lmt_function

2019-12-22 Thread Otared Kavian
Hi, I am experimenting the new LuaMetaTeX features introduced recently, but I can't get the built-in features together. To explain the problem I encounter, I want to draw the graph of a function on a grid in which the x-axis and the y-axis are alos drawn. Now lmtx has the « instances » (if I

Re: [NTG-context] Style for captions

2019-12-18 Thread Otared Kavian
=smallitalic makes sense and one can remember it. Best regards: OK > On 18 Dec 2019, at 17:32, Wolfgang Schuster > wrote: > > Aditya Mahajan schrieb am 18.12.2019 um 13:52: >> On Wed, 18 Dec 2019, Otared Kavian wrote: >> >>> Hi all, >>> >>> I

Re: [NTG-context] Style for captions

2019-12-18 Thread Otared Kavian
Thanks Aditya! That solve smy issue. However, it is a bit of magic to know that \setupinterlinespace makes also the math font small, even for inline math. Best regards: OK > On 18 Dec 2019, at 13:52, Aditya Mahajan wrote: > > On Wed, 18 Dec 2019, Otared Kavian wrote: >

[NTG-context] Style for captions

2019-12-18 Thread Otared Kavian
Hi all, In the example below, I would like to have the style of the figure's caption to be \itx, but the inline formula is set with a larger body font: is it possible to setup the caption of a float so that a smaller size applies also to the math formula? Best regards: Otared PS: here is the

[NTG-context] Very strange behaviour of itemize, \quotation and \dots

2019-12-17 Thread Otared Kavian
Hi Hans, Last week I sent you a PDF showing a strange behaviour of \startitemize and \quotation in LMTX. I finally could nail down the origin of the problem: it seems that if the command \setupsynctex[state=start] is present twice at the beginning of the document, then the

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Otared Kavian
Hi Rik, I can confirm that with lmtx the issue persists with 2019.12.15 17:34. However it works fine with mkiv version 2019.12.12 19:23. Best regards: OK > On 16 Dec 2019, at 00:17, Rik Kabel wrote: > > Tested with 20191212 and 20191215, still not working. Is anyone else been > able to

Re: [NTG-context] math align broken

2019-12-15 Thread Otared Kavian
Hi Mikael, II tested your example and can confirm the issue, using lmtx version: 2019.12.15 17:34 on MacOS. Best regards: OK > On 15 Dec 2019, at 16:54, Mikael P. Sundqvist wrote: > > Hi, > > I hope this report is not a duplicate of another one. I updated lmtx today > (from

[NTG-context] Bug inline math in lmtx

2019-12-14 Thread Otared Kavian
Hi Hans, It seems that the bug which was reported recently is again there: inline math does not show some symbols (lmtx version 2019.12.12 19:35). However mkiv version 2019.12.12 19:23 MKIV beta fmt: 2019.12.14 works fine. Here is a minimal example. \starttext Let $f(x) := \sum_{n \geq

Re: [NTG-context] "error not related to input file"

2019-12-14 Thread Otared Kavian
Hi, Since I have also suffered somewhat from the cryptic (and often useless…) error messages, I understand your frustration :-) Now, maybe if you do context --directives="system.showerror" myfile.tex then you get a file named « myfile-status.html » which is more helpful. Best regards:

Re: [NTG-context] lmtx

2019-12-13 Thread Otared Kavian
Hi Dalyoung, I updated the wiki page for installing LuaMetaTeX on MacOS: https://wiki.contextgarden.net/installing_luametatex It would be useful if someone using Linux or Windows could add analogous instructions on that page. Best regards: OK > On 13 Dec 2019, at 00:48, Jeong Dal

[NTG-context] Using lmtx and new metafun

2019-12-12 Thread Otared Kavian
Hi Aditya, Following your explanations in https://adityam.github.io/context-blog/post/new-metafun-interface/ I wrote an environment in order to display the graph of a function on a grid which can be adapted to each case. Assuming that I have an MPinstance named GridAxis (for example)

Re: [NTG-context] lmtx

2019-12-11 Thread Otared Kavian
Actually I did the update with a new install.sh downloaded from Pragma's site, but in fact I got again the older version 2019.12.06 21:40… So the issues I was reporting concern 2019.12.06 21:40 version. > On 12 Dec 2019, at 06:28, Otared Kavian wrote: > > Hi Hans, > > Thank

Re: [NTG-context] lmtx

2019-12-11 Thread Otared Kavian
Hi Hans, Thank you for the new beta. I tested a few things and they work nicely as expected. However I would like to ask you to put back into lmtx the nice error messages handling we had in early November: now when there is an error it is impossible to locate it and the file

Re: [NTG-context] problem with a new installation of LMTX: Solved!

2019-12-09 Thread Otared Kavian
Dear Dalyoung, Thank you for the good news! Now I will add to the wiki the procedure I described, which you followed, but we have to find a way for people to get a zip file containing a complete tree of LuaMetaTeX which can be installed « by hand » under MacOS 10.15 Catalina. Maybe Hans or

Re: [NTG-context] problem with a new installation of LMTX

2019-12-08 Thread Otared Kavian
Dear Dalyoung, I looked again at what is happening when installing LuaMetaTeX under MacOS 10.15. In fact, even after completely disabling Gatekeeper and SIP (System Integrity Protection), when running sh install.sh if the three files sitting in ~/context-os-64/bin/

Re: [NTG-context] problem with a new installation of LMTX

2019-12-07 Thread Otared Kavian
Hi Dalyoung, I installed MacOS 10.15 Catalina on a partition of my Mac and tried to install LuaMetaTeX there. I did not succeed … Indeed I had to disable completely the Gatekeeper from the Terminal by issuing the command sudo spctl --master-disable (which, one can re-enable again by

Re: [NTG-context] problem with a new installation of LMTX

2019-12-07 Thread Otared Kavian
> On 7 Dec 2019, at 20:39, Hans Hagen wrote: > […] > Can you add this to the wiki someplace? Done: https://wiki.contextgarden.net/installing_luametatex Best regards: OK ___ If your question is of interest to

Re: [NTG-context] Filling a page with \thinrules

2019-12-07 Thread Otared Kavian
Thanks Rik! The \phantom stuff is following me since the good old Plain TeX days… :-) Now I know how to get rid of it. Best regards: OK > On 7 Dec 2019, at 16:33, Rik Kabel wrote: > […] > > Replace the \hphantom{...} with \dontleavehmode. > > -- > Rik

Re: [NTG-context] problem with a new installation of LMTX

2019-12-07 Thread Otared Kavian
Hi Dalyoung, May be you could do the following steps (I recently had some issues too with installing the new beta, and these are what I did): • In Terminal type: which luametatex in order to see whether /context-osx-64/tex/texmf-osx-64/bin/luametatex is present or

Re: [NTG-context] Filling a page with \thinrules

2019-12-07 Thread Otared Kavian
ote: > > On 12/6/2019 17:50, Otared Kavian wrote: >> Hi all, >> >> I am preparing a test for my students where I would like to have the >> statement of the problem on the top of a page and the remainder to the >> bottom of that page filled with \thinrules, for them t

[NTG-context] Filling a page with \thinrules

2019-12-06 Thread Otared Kavian
Hi all, I am preparing a test for my students where I would like to have the statement of the problem on the top of a page and the remainder to the bottom of that page filled with \thinrules, for them to write the solution. And sometimes there might be an empty page filled with thinrules when

Re: [NTG-context] new beta

2019-12-06 Thread Otared Kavian
Hi Hans, Thanks a lot for the new beta and for having fixed the issue with luametatex binaries. Everything works great with version 2019.12.06 21:40. Best regards: OK > On 6 Dec 2019, at 15:05, Hans Hagen wrote: > > On 12/6/2019 1:34 PM, Otared Kavian wrote: > >&g

Re: [NTG-context] Some questions regarding math typesetting

2019-12-06 Thread Otared Kavian
Hi, Regarding the first two issues your are reporting on, your file typesets correctly with my installation of LMTX (version 2019.12.04 21:35). I get the three different sizes of \sum as expected, and the underbrace has $n$ under the middle of the brace. The third issue is present, as you are

Re: [NTG-context] new beta

2019-12-06 Thread Otared Kavian
from Pragma's site? Thanks for any help, Best regards: Otared K. > > On 6 Dec 2019, at 06:21, Wolfgang Schuster > wrote: > > Otared Kavian schrieb am 06.12.2019 um 04:23: >> Dear Hans, >> >> The problem I described in my previous message comes indee

Re: [NTG-context] new beta

2019-12-05 Thread Otared Kavian
Dec 2019, at 20:28, Otared Kavian wrote: > > Hi Hans, > > Thanks for the new features and the new release. > I could download the new installer for MacOS which installs the latest > version but it cannot make the formats ending with the error message which I > copy below. &g

Re: [NTG-context] new beta

2019-12-05 Thread Otared Kavian
Hi Hans, Thanks for the new features and the new release. I could download the new installer for MacOS which installs the latest version but it cannot make the formats ending with the error message which I copy below. Best regards: OK PS: this is the error message when installing: tex error

[NTG-context] LMTX install issue

2019-12-04 Thread Otared Kavian
Hi all, I cannot update to the latest lmtx, using the install.sh downloaded from http://www.pragma-ade.com/install.htm more precisely the version for MacOS from http://lmtx.pragma-ade.nl/install-lmtx/context-osx-64.zip I keep getting the version from 2019.11.29 21:58. What is

Re: [NTG-context] beta 2019.12.02 18:38 fails to build format

2019-12-04 Thread Otared Kavian
Hi, I can confirm that there is an issue with the script install.sh, since last Saturday, I guess. Indeed I keep having version 2019.11.29 21:58, but at some point I got a version from 2019.12.02 which did not work and upon updating again I got version 2019.11.29 21:58. Also the error

Re: [NTG-context] eqalign

2019-11-22 Thread Otared Kavian
ote: > > OK, thanks for the tip! It works indeed. > > PS: There appears to be no mention of \startalign in the manual. Is this > going to be a stable interface? \eqalign, \eject used to work in ConTeXt. > > On November 20, 2019 11:41:09 AM UTC, Otared Kavian wrote: > Hi,

Re: [NTG-context] eqalign

2019-11-20 Thread Otared Kavian
Hi, Indeed in ConTeXt one has better to use \startalign. Please see the excellent explanations by Aditya http://dl.contextgarden.net/myway/mathalign.pdf Best regards: OK > On 20 Nov 2019, at 09:01, no...@posteo.org wrote: > > Dear All, > > The command \eqalign does not work as

Re: [NTG-context] layers and \llap

2019-11-19 Thread Otared Kavian
Hi Pablo, I can reproduce the issue on MacOS on Acrobat Reader, and also on Adobe Acrobat Pro. In fact turning off any last viewerlayer makes the text disappear. Best regards: OK > On 19 Nov 2019, at 22:10, Pablo Rodriguez wrote: > > On 11/19/19 9:48 PM, Henri Menke wrote: >> On 11/20/19

Re: [NTG-context] developer not verified error

2019-11-16 Thread Otared Kavian
Hi Alan, I don't know on which MacOS you are, but I am on MacOS 10.14.6, and never had such an issue with my installations of ConTeXt. I looked into my options of the so-called Gatekeeper on my machine, and remembered that I have done the following: go to Apple menu -> Preferences ->

[NTG-context] Help wanted: index with chapter and section numbers

2019-11-10 Thread Otared Kavian
Hi, In a math text book, I would like to create an index of some material where chapter and section numbers are given instead of a page number. For instance if the result « 3.2.5 Banach Fixed Point Theorem » is stated in section 2 of chapter 3, and is the fifth numbered statement in that

Re: [NTG-context] Small integral signs

2019-11-10 Thread Otared Kavian
Hi Mikael, I was going to write the same message… I confirm that with the latest lmtx, no matter the font, the integral signs are incorrectly shown in dispalyed formulas. Best regards: OK > On 10 Nov 2019, at 09:20, Mikael P. Sundqvist wrote: > > Hi, > > in latest lmtx I get small integral

Re: [NTG-context] Issue with text running into footnotes

2019-11-09 Thread Otared Kavian
know how to setup a different penalty, nor what would be its influence in some other parts of my text. Best regards: OK > On 9 Nov 2019, at 11:04, Pablo Rodriguez wrote: > > On 11/4/19 9:49 PM, Wolfgang Schuster wrote: >> Otared Kavian schrieb am 04.11.2019 um 20:30: >>>

[NTG-context] index with chapter and section numbers

2019-11-07 Thread Otared Kavian
Hi, In a math text book, I would like to create an index of some material where chapter and section numbers are given instead of a page number. For instance if the result « 3.2.5 Banach Fixed Point Theorem » is stated in section 2 of chapter 3, and is the fifth numbered statement in that

[NTG-context] Issue with text running into footnotes

2019-11-04 Thread Otared Kavian
Hi all, I have a lecture note in which a few footnotes are given, but in some cases the text runs into the footnote, and it has been impossible for me to exhibit a minimal example where the issue appears. In the link https://www.dropbox.com/s/o9h0j6i21emyw2v/footnote-issue.pdf?dl=0

[NTG-context] Bug in latest LMTX?

2019-10-29 Thread Otared Kavian
Hi Hans, Last night I updated to th elatest beta LMTX (version 2019.10.28 18:57), and noticed that several things don't work as usual. I have not yet been able to find all the examples, but here is one in math: \definemathfence[abs][bar][command=yes,factor=auto] \starttext \startformula

Re: [NTG-context] Fails with MkIV works with LMTX

2019-10-28 Thread Otared Kavian
Hi Rik, Yes I get an error message with th eversion of mkiv you are mentioning (on MacOS 10.14.6). The error message is: Undefined control sequence ...es \inheritmaintextcolor \strc_itemgroups_push \handlenoteinsert ... \the

Re: [NTG-context] LMTX distorts PDF aspect

2019-10-19 Thread Otared Kavian
Hi Pablo, Yes, I can confirm that the PDF file is distorted by LMTX (version 2019.10.11 15:47) when included in another file with the command \externalfigure (even when the latter command is surrounded by \startplacefigure... \stopplacefigure). Hower the output is correct with mkiv (and

[NTG-context] lmtx and Asana Math

2019-10-17 Thread Otared Kavian
Hi Hans, Today I noticed that the OT font Asana math was absent from my installation of lmtx, that is from /context-osx-64/tex/texmf/fonts/opentype/public and that was the reason I kept obtaining in my documents different script fonts from the ones I have with mkiv. I copied the font

Re: [NTG-context] Unexpected symbol with Enumeration

2019-10-17 Thread Otared Kavian
: Adobe PDF document test-scriptfonts-lmtx.pdf Description: Adobe PDF document On 17 Oct 2019, at 08:00, Aditya Mahajan <adit...@umich.edu> wrote:On Wed, 16 Oct 2019, Otared Kavian wrote:I use Lucida OT fonts for all my documents, but since I prefer the script fonts from another font

Re: [NTG-context] Unexpected symbol with Enumeration

2019-10-16 Thread Otared Kavian
, > It seems to me that these fonts are not free. > Thank you for your help. > Fabrice > > Le mer. 16 oct. 2019 à 05:28, Otared Kavian <mailto:ota...@gmail.com>> a écrit : > Hi Fabrice, > > I use Lucida OT fonts for all my documents, but since I prefer the script &

Re: [NTG-context] Unexpected symbol with Enumeration

2019-10-15 Thread Otared Kavian
n is to define your own mixture of math fonts and text fonts." > I thought you should not mix several fonts in one text. I know you're a > teacher, what are you doing to write your documents ? > Fabrice > > Le mar. 15 oct. 2019 à 19:11, Otared Kavian <mailto:ota...@gmail.co

Re: [NTG-context] Unexpected symbol with Enumeration

2019-10-15 Thread Otared Kavian
Hi Fabrice, Wolfgang gave the right answer, but I wanted to point out that it is better not to use \setupbodyfont in the middle of your document, as you did in the excerpt below: in this case it is better to use \switchtobodyfont[xits] or even better define the character you want before

Re: [NTG-context] PDF viewer poll

2019-10-14 Thread Otared Kavian
> On 13 Oct 2019, at 12:43, Henning Hraban Ramm wrote: > > Hi, I’d like to update my list of (usable!) PDF viewers. > Which one do you use? (Current version?) Hi Hraban, I am on MacOS and use the PDF viewer included in TeXShop (which is based on Preview.app of MacOS). For my presentations I

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Otared Kavian
Hi Fabrice, Is this what you are looking for? Best regards: OK \setuptextrules[width=.5cm] \define[1]\ProprieteHeadcommand {\textrule[top]{Propriété}} \defineenumeration[propriete] [headstyle={bold}, style=italic, number=no,

[NTG-context] Extracting a column from an array in lua

2019-09-20 Thread Otared Kavian
Hi, Probably this is a silly question… In lua, I have an array named t which is determined in a piece of lua code, having (say) two columns and I want to extract for example the first column of t and call the new array tt. In Matlab, Scilab and friends, this can done by saying tt = t[:,1].

Re: [NTG-context] Command completion in TeXShop

2019-09-19 Thread Otared Kavian
Hi, I did not know the post by Herb Schulz, but I do use TeXShop and ConTeXt on a Mac, although actually I have never used the command completion mechanism. However I use extensively the autocompletion mechanism which is a way to key-in more rapidly some commands: for instance pressing

Re: [NTG-context] odd processing error with latest standalone

2019-09-18 Thread Otared Kavian
Hi Alan, I had an analogous issue and after cleaning the luatex-cache and re-installing it was solved (working under MacOS 10.14). Maybe you can try that too? Best regards: OK > On 18 Sep 2019, at 21:41, Alan Bowen wrote: > > In processing a book that I have edited, there is no problem

Re: [NTG-context] mathring circle above a letter

2019-09-14 Thread Otared Kavian
if not please ignore this. > > Best regards, > Atsuhito Kohda > > 2019年9月14日(土) 20:51 Otared Kavian <mailto:ota...@gmail.com>>: > > Thanks for your attention, but in fact \mathring and what you suggest, that > is \dotlessring, give the same result. What I

Re: [NTG-context] mathring circle above a letter

2019-09-14 Thread Otared Kavian
t; Sorry for my mistake. Of course you will need more fine tuning but > \unexpanded\def\dotlessring#1{\tfb\normalring{\tfx\mathdotless#1}} > might help you a bit. But if not please ignore this. > > Best regards, > Atsuhito Kohda > > 2019年9月14日(土) 20:51 Otared Kavian <

Re: [NTG-context] mathring circle above a letter

2019-09-14 Thread Otared Kavian
hda wrote: > > Dear Otared and all, > > This is very naive idea but anyway please try this. > Just before the \starttext insert the following line: > \unexpanded\def\dotlessring#1{\tfa\normalring{\mathdotless#1}} > > Best regards, > Atsuhito Kohda > &g

[NTG-context] mathring circle above a letter

2019-09-14 Thread Otared Kavian
Hi all, The \mathring command puts a small circle above a letter, but in some fonts (namely Lucida OT) that circle is too small. So thanks to a hint by Hans and Wolfgang some years ago I use the following definition which works fine when used alone. But in maths, one needs sometimes to use it

Re: [NTG-context] Problem of displaying a date with a macro

2019-09-09 Thread Otared Kavian
Hi, On my installation of lmtx (version 2019.08.20 17:34), as well as mkiv (version 2019.08.24 22:42 MKIV) the following gives: \starttext \date[d=25,m=10,y=1999] \stoptext October 09, 1999. So the month and the year are correct, but not the day. Best regards: OK > On 9 Sep 2019, at

Re: [NTG-context] metafun 2

2019-09-08 Thread Otared Kavian
Hi Aditya, As usual you show us a very nice and very clear example to taech nice features of ConTeXt: thank you so much! I wanted also to point out a typo on that page (two occurrences), namely "ploles" instead of "poles", in the explanations before the actual code. Best regard: > On 8 Sep

Re: [NTG-context] Math \not

2019-09-07 Thread Otared Kavian
Hi you should use \nequiv as in \starttext Let $f \nequiv 0$ be a function \stoptext Best regards: OK > On 7 Sep 2019, at 18:35, Rogers, Michael K wrote: > > In plain TeX you can get a slash through $\equiv$ with $\not\equiv$. When I > do the same in ConTeXt, the slash next to the $\equiv$.

[NTG-context] [OT] PreTeXt

2019-09-05 Thread Otared Kavian
Hi all, Has anyone on this list experimented the markup language PreTeXt? > https://pretextbook.org/ Best regards: OK___ If your question is of interest to others as well, please add an

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-05 Thread Otared Kavian
> On 5 Sep 2019, at 09:32, Aditya Mahajan wrote: >> […] > > You can move the leftbartex to the left by using `frameoffset=dimension` key. > > Aditya Thanks! That solves the issue. Best regards: OK___ If your

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Otared Kavian
to the left. Best regards: OK > On 5 Sep 2019, at 06:45, Aditya Mahajan wrote: > > On Thu, 5 Sep 2019, Otared Kavian wrote: > >> Hi Wolfgang, >> >> Thanks for your answer. I tried Hans' suggestion to use \textbackground >> instead of background: indeed it

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Otared Kavian
exercise does not work properly neither, because it is difficult to control precisely where it ends. Best regards: OK > On 4 Sep 2019, at 18:32, Wolfgang Schuster > wrote: > > Hans Hagen schrieb am 04.09.2019 um 17:58: >> On 9/4/2019 2:24 PM, Otared Kavian wrote: >>&

[NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Otared Kavian
Hi all, I have a document which typesets correctly in mkiv giving a PDF file with 7 pages, but the same document typeset with lmtx gives two pages with a strange pagebreak on the second page. Up to now, unfortunately, I could not create a minimal example to show this behaviour, so I put the

Re: [NTG-context] LMTX: Space in file names

2019-08-20 Thread Otared Kavian
completely logical! Thanks a lot for your time! Best regards: OK > On 20 Aug 2019, at 10:25, Hans Hagen wrote: > > On 8/20/2019 9:36 AM, Otared Kavian wrote: >> I'll try the lua file you sent me, thank you. > > just run the file with "mtxrun --script oeps.lua" > &g

[NTG-context] LMTX: Space in file names

2019-08-19 Thread Otared Kavian
Hi Hans, I noticed that the lmtx beta from 2019.08.18 22:27 does not anymore accept spaces in file names, while the mkiv version does accept it. I am aware that putting a space in a file name is a very bad habit, but I am convincing some people who were used to use MS Word in order for them to

[NTG-context] Bug in lmtx with \Bbb is back…

2019-08-19 Thread Otared Kavian
%%% end bug-Bbb.tex Best regards: OK > On 10 Aug 2019, at 13:53, Otared Kavian wrote: > > Hi Hans, > > Thanks a lot for having fixed the issue in the latest beta, version > 2019.08.09 19:59 … > > Best regards: OK > >> On 9 Aug 2019, at 14:48, Otared Kavian wrote

[NTG-context] Bug in lmtx in display mathmode

2019-08-18 Thread Otared Kavian
Hi Hans, I have a long document which typesets correctly with mkiv, but I get a (cryptic for me…) fatal error message when I try to typeset it in lmtx: ! error: (nodes): trying to delete an attribute reference of a non attribute list node 4476mtx-context | fatal error: return code: 256 I

Re: [NTG-context] \date in LMTX

2019-08-18 Thread Otared Kavian
> On 18 Aug 2019, at 05:25, Aditya Mahajan wrote: > > Hi, > > There is a bug with \date in LMTX. > > \starttext > \date[d=10] > \stoptext > > does not change the date. Works okay in MKIV. Hi, Actually it does not work in mkiv version 2019.08.14 11:26, nor in lmtx version 2019.08.14 11:44.

Re: [NTG-context] metafun 2

2019-08-14 Thread Otared Kavian
> On 14 Aug 2019, at 16:53, Aditya Mahajan wrote: > > […] > This looks like a typical .. vs -- issue. I think there is a way to change > how the points are connected, but I'll have to look at the code again. > > Aditya Indeed, this seems the right explanation. @ Hans: would it be possible

Re: [NTG-context] metafun 2

2019-08-14 Thread Otared Kavian
Hi Hans, Thank you very much for the new features! I haven't yet read all the mag-1104-mkiv.pdf where you explain some of them, but after modifying one of your examples, I noticed that some funtions get a strange graph, which is probably due to the fact that metafun2 is interpolating between

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