Re: [NTG-context] Using two versions of ConTeXt

2020-04-17 Thread Aditya Mahajan
On Fri, 17 Apr 2020, Jairo A. del Rio wrote: Hi everyone! I'm using the ConTeXt version packaged with TeX Live 2020 and recently I have downloaded LMTX. Both of them work, but when I call "context" from terminal, I compile with the TeX Live version, whereas I have to use a fully specified path t

Re: [NTG-context] "Remember picture" does not work (again)

2020-04-17 Thread Jairo A. del Rio
Sorry, I tested again and it worked. Thank you very much. El mar., 7 de abr. de 2020 a la(s) 06:18, Jairo A. del Rio ( jairoadelr...@gmail.com) escribió: > It does not work. I get the following error message: > > You can't use `the character 6' after \the > > > l.1 6 > > 120806 > > \lastxpos ->\c

[NTG-context] Using two versions of ConTeXt

2020-04-17 Thread Jairo A. del Rio
Hi everyone! I'm using the ConTeXt version packaged with TeX Live 2020 and recently I have downloaded LMTX. Both of them work, but when I call "context" from terminal, I compile with the TeX Live version, whereas I have to use a fully specified path to get LMTX output. Is there a way to call both f

Re: [NTG-context] Best way to create a large number of documents from database

2020-04-17 Thread Hans Hagen
On 4/17/2020 4:37 PM, Mojca Miklavec wrote: One of the interesting statistics. I used a bunch of images (the same png images in all documents; cca. 290k in total). It can actually make a difference what kind of png image you use. Some png images demand a conversion (or split of map etc) to th

Re: [NTG-context] Best way to create a large number of documents from database

2020-04-17 Thread Mojca Miklavec
On Thu, 16 Apr 2020 at 16:38, Mojca Miklavec wrote: > On Thu, 16 Apr 2020 at 11:29, Taco Hoekwater wrote: > > > On 16 Apr 2020, at 11:12, Mojca Miklavec wrote: > > > > > > I have been asked to create a few thousand PDF documents from a CSV > > > "database" today > > > > In CPU cycles, the fastest w

Re: [NTG-context] Colors in lmt_surface and luametafun

2020-04-17 Thread Hans Hagen
On 4/17/2020 3:33 PM, Otared Kavian wrote: 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

[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] Text around an image

2020-04-17 Thread Hans Hagen
On 4/17/2020 11:07 AM, Fabrice Couvreur wrote: Hi, I found a way to solve it using the command \flushsidefloats Is this the best solution ? sure, it's a valid way to do it - Hans Hagen | P

Re: [NTG-context] Text around an image

2020-04-17 Thread Fabrice Couvreur
Hi, I found a way to solve it using the command \flushsidefloats Is this the best solution ? Thank you. Fabrice \startitem Programmer une fonction \m{A(x)} qui renvoie l'aire totale du terrain en fonction de la longueur \m{x}. \stopitem \flushsidefloats Le jeu. 16 avr. 2020 à 12:33,