[NTG-context] Small bug in publ-imp-aps.mkvi

2022-03-21 Thread Jack Hill via ntg-context
Hi everyone, Just letting you know that there is an extra . (full stop) on the end of lines 732 and 734 of publ-imp-aps.mkvi which causes references to be typeset like "p.. 417" and "pp.. 417--418". Thanks, Jack ___

[NTG-context] APS bib: literals and small error in "pages" field

2022-03-07 Thread Jack Hill via ntg-context
Hi, Two things here: 1. There is an extra . on the end of lines 732 and 734 of publ-imp-aps.mkvi which causes references to be rendered like "p.. 417" and "pp.. 417--418". 2. Suppose I have a literal such as @literal{company, text = {Company Name (n.d.) {\it Webpage name}. Retrieved 22

[NTG-context] Nested $$ in inline math

2021-12-13 Thread Jack Hill via ntg-context
Dear list, I was playing around and found that nesting $$s inside of \m blocks typesets the code as text. I can't find anything about this on the wiki or in the math-mkiv manual, so I'm asking whether this is supported behaviour or just a bug? Jack \starttext % All the same \mathematics{math

Re: [NTG-context] Math prime issues for some fonts

2021-11-29 Thread Jack Hill via ntg-context
On Fri, 26 Nov 2021 at 11:28, Hans Hagen wrote: > So to summarize: with primes we have to deal with (1) frozen tex math > expectations that won't change (although in context we're free to do > so), which (2) have found their way in unicode, and (3) also in fonts > due to the way traditional tex

Re: [NTG-context] Math prime issues for some fonts

2021-11-26 Thread Jack Hill via ntg-context
On Fri, 26 Nov 2021 at 17:39, Wolfgang Schuster wrote: > > Jack Hill via ntg-context schrieb am 26.11.2021 um 18:18: > > Hi list, > > > > When I run this test code > > > > \definefontfamily[trm][math][tex gyre termes math] > > \definef

[NTG-context] Math prime issues for some fonts

2021-11-26 Thread Jack Hill via ntg-context
Hi list, When I run this test code \definefontfamily[trm][math][tex gyre termes math] \definefontfamily[pag][math][tex gyre pagella math] \definefontfamily[bon][math][tex gyre bonum math] \definefontfamily[sch][math][tex gyre schola math] \definefontfamily[stx][math][stix two math] \starttext

[NTG-context] Bug with mathalignment and columns

2021-08-23 Thread Jack Hill via ntg-context
Hi, When a mathalignment is started at the end of a multi-column page ConTeXt places it at the start of the previous second column instead of placing it on a new page. Here's my code to test: \starttext \startcolumns[n=4] \startluacode lorum = "Lorum ipsum dolor sit amet. " for i = 1, 98, 1

Re: [NTG-context] Math cases

2021-07-23 Thread Jack Hill
Thank you. I've updated the wiki to reflect those changes. The wiki's version of ConTeXt still seems to use the old \NC and \MC commands though. Jack ___ If your question is of interest to others as well, please

[NTG-context] Math cases

2021-07-22 Thread Jack Hill
Dear list, I'm using ConTeXt version 2021.07.22 19:16 and the following code typesets both columns in math mode \starttext \startformula \delta_{ij} = \startcases \NC 1 \NC if i = j \NR \NC 0 \NC otherwise \NR \stopcases \stopformula \stoptext The wiki states that the second column should be

[NTG-context] Math cases and text in math mode

2021-07-06 Thread Jack Hill
Hi, I have two separate issues here. First, I'm struggling to get math cases to work. The wiki suggests that the following code \starttext \startformula f(x) = \startmathcases \NC x, \NC if $0 \le x \le \frac12$ \NR \NC 1-x ,\NC if $\frac12 \le x \le 1$ \NR \stopmathcases \stopformula

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

2021-01-15 Thread Jack Hill
Hi, I've been having some trouble with ConTeXt not typesetting math correctly when using the Pagella font (I do not know if the same issue occurs with other fonts as I haven't tested them). If I compile with LMTX, the spacing between letters becomes very small so that when I type "|f|", for