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

2020-12-03 Thread Axel Kielhorn
> Am 01.12.2020 um 18:23 schrieb Wolfgang Schuster > : > > The following example shows the output of all commands: > > \starttext > \starttabulate [|T|T|] > \NC \type{\jobname} \NC \jobname \NC\NR > \NC \type{\jobfilename} \NC \jobfilename \NC\NR > \NC

[NTG-context] Is anyone having issues with magazines in LMTX?

2020-12-03 Thread Jairo A. del Rio
Hi, list! When I want to compile magazines from source (such as mag-1102,mkiv), LMTX gives weird output (grayish background and misaligned titles). Compilation with MkIV gives normal results. My ConTeXt version is 2020.12.03 19:02. Thank you in advance. Cordially, Jairo :)

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Wolfgang Schuster
Andres Conrado Montoya schrieb am 03.12.2020 um 21:58: Hi pablo, regaring 1) TeX assumes that each character is a variable on math mode. You need to tell it that each "word" is, well, a "word": \starttext   \startitemize[packed]   \item Valor actual neto: $\text{\em beneficios} - \text{\em

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
On 12/3/20 10:00 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 03.12.2020 um 21:52: >> On 12/3/20 8:48 PM, Pablo Rodriguez wrote: >>> [...] >>> 3. Packed works fine with fractions, but packed columns is wrong with >>> them. It adds too much space. >> After clearing the issue with text,

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 03.12.2020 um 21:52: On 12/3/20 8:48 PM, Pablo Rodriguez wrote: [...] 3. Packed works fine with fractions, but packed columns is wrong with them. It adds too much space. After clearing the issue with text, it seems that fractions add to much space when in list with

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Andres Conrado Montoya
Hi pablo, regaring 1) TeX assumes that each character is a variable on math mode. You need to tell it that each "word" is, well, a "word": \starttext \startitemize[packed] \item Valor actual neto: $\text{\em beneficios} - \text{\em costes}$. % you can use typographical variations inside

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
On 12/3/20 8:48 PM, Pablo Rodriguez wrote: > [...] > 3. Packed works fine with fractions, but packed columns is wrong with > them. It adds too much space. After clearing the issue with text, it seems that fractions add to much space when in list with columns. \showframe\showgrid \starttext

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
On 12/3/20 9:23 PM, Hans Åberg wrote: >> [...] >> Again, formulas are totally foreign to my work with ConTeXt. > > When you do not use \text in math mode, it means implicit multiplication, which has special spacing. Operator names use text kerning. For example $sin x$ is implicit multiplication,

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
On 12/3/20 8:55 PM, Otared Kavian wrote: > Hi Pablo, > > You may use \text in math formulas as in: Many thanks for your reply, Otared. \text is what I needed to fix the issue with ligatures and spacing. Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Hans Åberg
> On 3 Dec 2020, at 20:48, Pablo Rodriguez wrote: > > math is all Greek to me and I’m experiencing issues when typesetting the > most basic inline formulas. … > The issues I’m experiencing are: > > 1. Kernings around ligatures (fi) are wrong. > > 2. Is there a way to enable ligatures? > > 3.

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

[NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
Dear list, math is all Greek to me and I’m experiencing issues when typesetting the most basic inline formulas. \starttext \startitemize[packed] \item Valor actual neto: $beneficios - costes$. \item Beneficio por euro: $\frac{beneficios}{costes}$. \item Beneficio obtenido el primer

Re: [NTG-context] Bug (?) using \externalfigure with layers and backgrounds

2020-12-03 Thread Jairo A. del Rio
Oh, I see. Nice, thank you a lot. Jairo :) El jue, 3 de dic. de 2020 a la(s) 12:19, Wolfgang Schuster ( wolfgang.schuster.li...@gmail.com) escribió: > Jairo A. del Rio schrieb am 03.12.2020 um 18:14: > > Hi everyone. The following > > > > \setuppagenumbering[state=stop] > > \definelayer[mybg] >

Re: [NTG-context] Bug (?) using \externalfigure with layers and backgrounds

2020-12-03 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 03.12.2020 um 18:14: Hi everyone. The following \setuppagenumbering[state=stop] \definelayer[mybg] [ repeat=yes, x=0mm, y=0mm, width=\paperwidth, height=\paperheight, ] \setlayer[mybg]{\externalfigure[cow][width=\paperwidth,height=\paperheight]}

[NTG-context] Bug (?) using \externalfigure with layers and backgrounds

2020-12-03 Thread Jairo A. del Rio
Hi everyone. The following \setuppagenumbering[state=stop] \definelayer[mybg] [ repeat=yes, x=0mm, y=0mm, width=\paperwidth, height=\paperheight, ] \setlayer[mybg]{\externalfigure[cow][width=\paperwidth,height=\paperheight]} \setupbackgrounds[page][background=mybg,state=repeat]

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-12-03 Thread Stephen Gaito
Hans, Again many thanks for your thoughts! (See below) On Thu, 3 Dec 2020 13:15:28 +0100 Hans Hagen wrote: > On 12/3/2020 12:15 PM, Taco Hoekwater wrote: > > > > > >> On 3 Dec 2020, at 11:35, Stephen Gaito > >> wrote: > >> > >> Hans, > >> > >> As I said my desktop is elderly... it has

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-12-03 Thread Stephen Gaito
Taco, Thanks for your comments... see below... On Thu, 3 Dec 2020 12:15:46 +0100 Taco Hoekwater wrote: > > On 3 Dec 2020, at 11:35, Stephen Gaito > > wrote: > > > > Hans, > > > > As I said my desktop is elderly... it has a 2.8GHz processor, 16Gb > > of DDR3 memory, and a couple of old SATA1

Re: [NTG-context] Parallelizing typesetting of large documents with lots of cross-references

2020-12-03 Thread Hans Hagen
On 12/3/2020 12:04 PM, Stephen Gaito wrote: - very large (1,000+ pages), not that large, literate code is often verbatim so that doesn't take much runtime either - highly cross-referenced documents, ok, that demands runs - with embedded literate-programmed code (which needs

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-12-03 Thread Hans Hagen
On 12/3/2020 12:15 PM, Taco Hoekwater wrote: On 3 Dec 2020, at 11:35, Stephen Gaito wrote: Hans, As I said my desktop is elderly... it has a 2.8GHz processor, 16Gb of DDR3 memory, and a couple of old SATA1 hard disks, and only 3Mb of CPU cache... ... all well past its use by date for

Re: [NTG-context] Parallelizing typesetting of large documents with lots of cross-references

2020-12-03 Thread Taco Hoekwater
> On 3 Dec 2020, at 12:04, Stephen Gaito wrote: > > 1. Are there any other known attempts to parallelize context? Not that I know of, except for the tricks I mentioned in my earlier mail today. > 2. Are there any other obvious problems with my approach? The big problem with references is

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-12-03 Thread Taco Hoekwater
> On 3 Dec 2020, at 11:35, Stephen Gaito wrote: > > Hans, > > As I said my desktop is elderly... it has a 2.8GHz processor, 16Gb of > DDR3 memory, and a couple of old SATA1 hard disks, and only 3Mb of CPU > cache... > > ... all well past its use by date for single threaded ConTeXt. ;-( > >

[NTG-context] Parallelizing typesetting of large documents with lots of cross-references

2020-12-03 Thread Stephen Gaito
Hello, This email is largely a simple notification of one "Fool's" dream... ("Only Fools rush in where Angels fear to tread"). I am currently attempting to create "a" (crude) "tool" with which I can typeset: - very large (1,000+ pages), - highly cross-referenced documents, - with embedded

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-12-03 Thread Stephen Gaito
Hans, As I said my desktop is elderly... it has a 2.8GHz processor, 16Gb of DDR3 memory, and a couple of old SATA1 hard disks, and only 3Mb of CPU cache... ... all well past its use by date for single threaded ConTeXt. ;-( So one way to get better performance for ConTeXt is to invest in a new

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 2/2

2020-12-03 Thread Stephen Gaito
Hans, If my only constraints were ease of programming and moderate performance, I would completely agree that using mostly Lua plus (possibly) some C code for some targeted stuff that is really slow in Lua is the correct solution we are actually in agreement. Unfortunately, I have the