[NTG-context] Re: \brokenpenalties query

2024-06-20 Thread Mikael Sundqvist
Hi again, in fact, the \brokenpenalties is new. So using \setpenalties on it in the past did not do anything, since \ifdefined#1 would never be true... /Mikael On Wed, Jun 19, 2024 at 4:45 PM Hans Hagen via ntg-context wrote: > > On 6/19/2024 4:06 PM, Mikael Sundqvist wrote:

[NTG-context] Re: \brokenpenalties query

2024-06-19 Thread Mikael Sundqvist
Hi, On Wed, Jun 19, 2024 at 3:40 PM Alan Bowen wrote: > I have in the past relied on > \setpenalties\brokenpenalties{1}{1}\ > to set the penalty for a page break after a hyphen. But with the latest > LMTX, when I run the file, I get the error message > Errorcount has to be 1 for

[NTG-context] Re: extensibles not rendered

2024-06-18 Thread Mikael Sundqvist
Hi, Thanks! Jacob: Hans is aware. It is a bit weird, since it works differently depending on the viewer... Martin: We did not add the "wipeweirdones" to the cambria tweak file yet. It should be there, but even then, one sees this, so some more work is needed to get it also to work for Cambria.

[NTG-context] Math manual

2024-06-14 Thread Mikael Sundqvist
Hi! Hans just uploaded a new version. I am not writing about the news in that version (although there are some fun things!), but rather to announce that the math manual is finally included. We have been working on and off since 2021 on math and therefore also on this document, and we finally

[NTG-context] Re: page number

2024-05-26 Thread Mikael Sundqvist
Hi Charles, On Sun, May 26, 2024 at 11:39 AM Charles Doherty via ntg-context wrote: > > Dear Wolfgang, > > I have a book in preparation with running heads. > > > Pagenumber marking |marking Pagenumber > > The chapter title page has empty headings. > > The publisher would like the

[NTG-context] Re: How to disable hyphenation at the end of a line?

2024-05-19 Thread Mikael Sundqvist
Hi, since it has to do with paragraph building and not with certain breaks it is controlled by a demerits rather than a penalty, and there is, as far as I know, no value that explicitly prohibits a hyphen at the last line specifically (you can set the hyphenpenalty to 1 to avoid hyphenations

[NTG-context] Re: Metapost limitation ?

2024-05-12 Thread Mikael Sundqvist
Hi, On Sun, May 12, 2024 at 6:24 PM Fabrice Couvreur < fabrice1.couvr...@gmail.com> wrote: > > With Okular, it works ! Very good. You can still try the thing below: \startluacode local exp = math.exp local N = 1000 local xstep = 1.6/N local ystep = 1.8/N local xmin = 0.3 local

[NTG-context] Re: Why is this description environment not showing the correct title?

2024-05-05 Thread Mikael Sundqvist
Hi On Sun, May 5, 2024 at 4:40 PM Joel via ntg-context wrote: > > > \definedescription[latexdesc][headstyle=bold, style=normal, align=flushleft, > alternative=hanging, width=broad, margin=1cm] > > \starttext > > \latexdesc{1540} some event happened > \latexdesc{1541} some other event

[NTG-context] Re: kpfonts

2024-04-20 Thread Mikael Sundqvist
Hi, On Sat, Apr 20, 2024 at 2:03 PM Xavier B. wrote: > > Hi, > > Just a courious: is there kpfonts available for context? > I love kpfonts. > > Thanks in advance, > Xavier Yes, just download the fonts and do \setupbodyfont[kpfonts] /Mikael

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-15 Thread Mikael Sundqvist
Hi, On Sun, Apr 14, 2024 at 12:00 PM Henning Hraban Ramm wrote: > > Am 13.04.24 um 22:28 schrieb Mikael Sundqvist: > > What will work will depend on the viewers. We noticed a few weeks ago > > that synctex (pdf -> editor) was not working in a few viewers (okular) >

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-13 Thread Mikael Sundqvist
Hi, On Sat, Apr 13, 2024 at 7:54 PM Jim wrote: > > Thanks for the quick reply. > > On Sat, Apr 13, 2024 at 09:18 (+0200), Hans Hagen wrote: > > > On 4/13/2024 12:39 AM, Jim wrote: > >> Hi, > > >> I have both TeXlive 2024 and the stand-alone ConTeXt distribution on my > >> system. > > >>

[NTG-context] Re: error with \sc

2024-04-02 Thread Mikael Sundqvist
Hi, On Tue, Apr 2, 2024 at 9:16 PM Peter Münster wrote: > > Hi, > > With ConTeXt version 2024.04.01, the \sc command produces an error: > > fonts > preloading latin modern fonts (second stage) > fonts > 'fallback modern rm 12pt' is loaded > pages > flushing realpage

[NTG-context] Re: upload

2024-04-01 Thread Mikael Sundqvist
Hi, On Mon, Apr 1, 2024 at 9:36 AM Hans Hagen wrote: > > Hi, > > There is a new lmtx upload. > > -- The svg inclusion via metapost has been upgraded and cleanup a bit, > using some more recent metapost features. There are some new (not yet > all documented metapost) features. > > -- In the

[NTG-context] Re: Mikael’s missing math manual

2024-03-18 Thread Mikael Sundqvist
Hi, On Sun, Mar 17, 2024 at 10:57 PM Hraban Ramm wrote: > > … and another thing that came up in my workshops and in discussions at > our booth: the math manual is eagerly awaited! (My book too, but I can’t > answer most questions about math.) Oh, I see. So, I should really try to get something

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Mikael Sundqvist
Hi, On Wed, Mar 13, 2024 at 11:37 AM Max Chernoff wrote: > > Hi Hans, > > On Tue, 2024-03-12 at 15:21 +0100, Hans Hagen wrote: > > the next upload will support the attached ... so no ugly hacky code needed > > "\texthere[inbetween]" looks perfect, thanks! > > The "\definebar[...][inlined]"

[NTG-context] Re: A new problem with space in third itemize

2024-02-29 Thread Mikael Sundqvist
Hi Uschi, Your coding style is interesting. I do not understand the purpose of the \it for example. I did put something together that you can try, but I don't know if this is what you are looking for. \starttext \startitemize[n] \startitem \m{\forall n \in \naturalnumbers\mtp{:} n^2 > n \implies

[NTG-context] Re: \mfunction does not work with the latest upload

2024-02-27 Thread Mikael Sundqvist
Hi, \definemathfunction [lcd] You can also add [mathlimits=yes] [mathlimits=no] [mathlimits=auto] if you want the limits to go always below, never below or below in display, respectively. /Mikael On Wed, Feb 28, 2024 at 1:26 AM fv leung wrote: > > > \starttext > % copy from wiki >

[NTG-context] Re: Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Mikael Sundqvist
ages entry > with it. Feel free to modify. > > Cheers > Emanuel > > On Feb. 16 2024, at 7:56 am, Mikael Sundqvist wrote: > > Hi, > > not sure I get what you are missing. But you can try > > setbounds currentpicture to (fullsquare scaled 200) ; > >

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Mikael Sundqvist
Emanuel Han via ntg-context > wrote: > > Dear Mikael, > thanks a lot! > this seems to be the solution! And it looks beatiful enough to me  > I'll try to port all my layers to this new method and see if I run into new > problems again  > > Emanuel > > > On Feb.

[NTG-context] Re: upload

2024-02-15 Thread Mikael Sundqvist
Hi, The 5.5 seems to come from https://github.com/lua/lua/blob/master/lua.h /Mikael On Thu, Feb 15, 2024 at 10:04 AM luigi scarso wrote: > > On Wed, 14 Feb 2024 at 13:47, Hans Hagen wrote: > > > > Hi, > > > > as we're around texlive code freeze time we're also in upload mode > > > > - i

[NTG-context] Re: An announcement of my new book.

2024-02-15 Thread Mikael Sundqvist
Hi, This small example from BachoTeX 2023 could perhaps be useful for someone: https://github.com/mpsmath/stepbystep /Mikael On Thu, Feb 15, 2024 at 8:31 AM Jan Ulrich Hasecke via ntg-context wrote: > > Hi, > > Am 14.02.24 um 19:45 schrieb Sir Coleman via ntg-context: > > I wanted to create

[NTG-context] Re: Working with layer sets with Metapost

2024-02-14 Thread Mikael Sundqvist
Hi On Thu, Feb 15, 2024 at 1:03 AM Emanuel Han via ntg-context wrote: > > Dear list, > > the attached .tex file is the minimal working example we discussed today in > the online meeting. > > I realized that the approach of looping through k of p[k] is not fitting my > needs, because it's not

[NTG-context] Re: mtxrun.lua:10080: bad argument #9 to 'format'

2024-02-14 Thread Mikael Sundqvist
Oh, that mail went wrong, sorry. /MIkael On Wed, Feb 14, 2024 at 11:27 PM Mikael Sundqvist wrote: > > I don't wanna delay... :) > > On Wed, Feb 14, 2024 at 11:05 PM Hans Hagen wrote: > > > > On 2/14/2024 10:05 PM, Garulfo wrote: > > > Hi, > > > > &g

[NTG-context] Re: mtxrun.lua:10080: bad argument #9 to 'format'

2024-02-14 Thread Mikael Sundqvist
I don't wanna delay... :) On Wed, Feb 14, 2024 at 11:05 PM Hans Hagen wrote: > > On 2/14/2024 10:05 PM, Garulfo wrote: > > Hi, > > > > it seems that line 10066 in mtxrun.lua (now 10070) has not been updated > > for today's update. > > > > What is the command line to rebuild mtxrun locally

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Mikael Sundqvist
Hi, On Thu, Jan 18, 2024 at 7:58 PM Shiv Shankar Dayal wrote: > > > > >> In comparison to LaTeX with LuaHBTeX, ConTeXt with LuaMetaTeX is >> lightning fast. >> >> pdfTeX is 8bit, and Knuth’s plain TeX is very low level – for a fairer >> comparison, try the TeXbook on LuaMetaTeX (I don’t know if

[NTG-context] Re: upload

2024-01-17 Thread Mikael Sundqvist
Hi Otared, On Thu, Jan 18, 2024 at 2:37 AM Otared Kavian wrote: > > Hi Hans, > > Thanks for the new upload which solves the math alignment mechanism. However > I noticed that the classic notation $f’$ for the derivative does not work > anymore, while $f^\prime$ or $f^’$ does. > > \starttext >

[NTG-context] Re: Math alignment issue

2024-01-17 Thread Mikael Sundqvist
On Wed, Jan 17, 2024 at 2:16 PM Otared Kavian wrote: > > Dear Dalyoung, > > Thank you for testing, which shows that there is a bug somewhere. > Mikael who follows the math stuff is aware of the problem, and I guess Hans > will be informed. > Since it is working locally here, It will likely be

[NTG-context] Re: issue with fonts in current latest (2024.01.08 11:23)

2024-01-15 Thread Mikael Sundqvist
Hi, Try this: On Mon, Jan 15, 2024 at 6:17 PM Pablo Rodriguez via ntg-context wrote: > > Dear list, > > I have the following sample: > > \definefontfamily[mainface][rm][TeX Gyre Pagella] > \definefontfamily[coverface][rm][TeX Gyre Termes] \definebodyfontenvironment[16pt] >

[NTG-context] Re: Linebreak in formual

2024-01-15 Thread Mikael Sundqvist
Hi, you can try something like \sum_{\mstack{k=0, k\equiv p + 1 (\mtext{mod }2)}}^{p -1} but it will not be too pretty with such a large sub-index to the sum. /Mikael On Mon, Jan 15, 2024 at 2:41 PM Shiv Shankar Dayal wrote: > > I have following formula > \sum_{k=0\\ k\equiv p +

[NTG-context] Re: Spacing problem in formula

2024-01-14 Thread Mikael Sundqvist
Hi, ConTeXt supports prescripts: \startTEXpage[offset=1DK] \m{1 - {}^nC_2\tan^2\theta + {}^nC_4 } \m{1 - C_2^^n \tan^2\theta + C_4^^n } \stopTEXpage If you want them below, use double _. /Mikael On Mon, Jan 15, 2024 at 7:45 AM Shiv Shankar Dayal wrote: > > Suppose I want to typeset the

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Mikael Sundqvist
Hi, On Tue, Jan 9, 2024 at 2:45 PM G.C.H.M. Verhaag via ntg-context wrote: > > Hi, > The example below works as expected, but within my product it doesn't. > > % Subject example before and after! > >

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Mikael Sundqvist
Hi, On Tue, Jan 9, 2024 at 11:30 AM G.C.H.M. Verhaag via ntg-context wrote: > > Hi, > > I'm a bit puzzled by the mkiv setuphead command of ConTeXt! > > The space before and after the subject command can usually be set by the > before and after arguments of the setuphead command. > > Now I'd

[NTG-context] Re: MetaFun path joiners && and &&&& do not like single point paths

2023-12-30 Thread Mikael Sundqvist
Hi On Sun, Dec 31, 2023 at 3:33 AM Gavin via ntg-context wrote: > > Hi MetaFun fans, > > Following a suggestion of Hans, I experimented with && and &&& and for > joining paths in MetaFun. The joiner &&& produces one long path, but && and > seem to produce a disconnected path which

[NTG-context] Re: Equivalent for hdots and hdotsfor

2023-12-30 Thread Mikael Sundqvist
Hi, On Sat, Dec 30, 2023 at 9:45 AM Shiv Shankar Dayal wrote: > > In LaTeX, I can use \hdots for horizontal dots and \hdotsfor{n} to fill for > several columns in a determinant. But these do not work in ConTeXt. What is > the equivalent for these in ConTeXt? You can try \HF or \HF[n].

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
Hi, On Fri, Dec 29, 2023 at 5:41 PM Fabrice Couvreur < fabrice1.couvr...@gmail.com> wrote: > Perhaps the size should be even smaller because I personally find it still > a little large. > But that would imply different scaling for different content. > > PS : In a thread, I thought I read that

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
Great, all is good then. (Or?) /Mikael On Fri, Dec 29, 2023 at 5:07 PM Fabrice Couvreur < fabrice1.couvr...@gmail.com> wrote: > Well, actually I get the same thing . > [image: test.png] > > Le ven. 29 déc. 2023 à 16:00, Mikael Sundqvist a > écrit : > >> Hi, >

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
In fact, I get the same expected result with the context from TeXLive (2023). /Mikael On Fri, Dec 29, 2023 at 4:56 PM Mikael Sundqvist wrote: > > Hi, > > On Fri, Dec 29, 2023 at 4:49 PM Fabrice Couvreur > wrote: > > > > Thank you for your suggestion but in the follow

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
Hi, On Fri, Dec 29, 2023 at 4:49 PM Fabrice Couvreur wrote: > > Thank you for your suggestion but in the following example the operational > symbol is too big as well as the number 1. > > \mapfontsize[modern][script] [.4] > \mapfontsize[modern][scriptscript][.2] > > \setupbodyfont[modern,12pt]

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
Hi, On Fri, Dec 29, 2023 at 3:17 PM Fabrice Couvreur wrote: > > Hi, > To type my lessons or other, I use the Modern font in 12 pt or 11 pt. I find > that the subscript notations are a little too big : how can I improve this ? > Thanks > Fabrice > > \m{ \forall n \in N, z_{n+1}=\frac{i}{3}z_n}

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Mikael Sundqvist
Hi! Not by computer, and I'm sure Hans (or Wolfgang) has already shown a way to do the old factorial with the actuarian mechanism when I'm back to the computer... /Mikael Den ons 27 dec. 2023 13:49Shiv Shankar Dayal skrev: > > > A simple alternative to tikz is the usage of \framed. >> >>

[NTG-context] Re: underbrace label across two lines

2023-12-20 Thread Mikael Sundqvist
Hi, On Wed, Dec 20, 2023 at 8:01 AM Dean Hung wrote: > > Hi list, > > Following on from Aditya's solution to my previous question, I have run into > a separate issue and would appreciate any assistance. > > Sometimes text under the underbrace can become quite long, and should be > split into

[NTG-context] Re: increase vertical between underbrace and equation

2023-12-19 Thread Mikael Sundqvist
Hi, On Mon, Dec 18, 2023 at 6:57 PM Dean Hung wrote: > > Hi ConText friends, > > I am trying to increase the vertical distance between the underbrace and the > part of the equation above the underbrace. > > \startformula > \underbrace{x+y+z}_{\blank[1cm]\mathrm{my text here}} > \stopformula > >

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Mikael Sundqvist
ntime)) scaled 2 shifted(0,2in) withcolor > magenta ; > for k=1 upto currentime: draw p[k]; endfor > setbounds currentpicture to TheFrame ; > > desiredformat := 1080;% In pixels (will be converted by default at 72dpi) > currentpicture := currentpicture xysized (desiredformat ,desi

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Mikael Sundqvist
Hi Emanuel, I am not sure I understand your question, and since you use fonts that i do not have, I cannot test your example as is. But, maybe, if you want to redraw a picture, you can do addto currentpicture also p1; where you want it. /Mikael PS For the text thing, I did not get it. Could

[NTG-context] Re: mathalignment; alignment of columns

2023-11-25 Thread Mikael Sundqvist
Hi, indeed, one can be surprised. The good thing is that you will now update the wiki, right? :) /Mikael PS I think the "official announcement" was made on the list, but I do not remember the exact date. On Sat, Nov 25, 2023 at 12:23 PM wolfgangbackes--- via ntg-context wrote: > > By the way,

[NTG-context] Re: mathalignment; alignment of columns

2023-11-24 Thread Mikael Sundqvist
I get the attached (with the standalone, as well as with the version from texlive 2023). Maybe I misunderstood you. /Mikael On Fri, Nov 24, 2023 at 11:16 PM wolfgangbackes--- via ntg-context wrote: > > Thank you very much for the quick reply. But I had already tried this syntax > before,

[NTG-context] Re: mathalignment; alignment of columns

2023-11-24 Thread Mikael Sundqvist
Hi, try \startmathalignment[n=2,align={1:left,2:right}] I think this was changed two or three years ago. /Mikael On Fri, Nov 24, 2023 at 11:04 PM wolfgangbackes--- via ntg-context wrote: > > Something as elementary as "mathenvironment" can't really be faulty, can it? > According to my

[NTG-context] Re: Double sided pages leave a thin white line on the right side

2023-10-28 Thread Mikael Sundqvist
Hi, I cannot reproduce it, and I do not see a white line in your file. Maybe I look at the wrong place. /Mikael On Sat, Oct 28, 2023 at 4:11 PM Mia Bikey wrote: > > Hi, > I was using \setuppagenumbering[alternative=doublesided] to get double sided > pages. > After doing that I noticed a thin

[NTG-context] Re: Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mikael Sundqvist
Hi, you can try contrastcolor: \setupinteraction[state=start,color=,contrastcolor=] /Mikael On Sat, Oct 28, 2023 at 1:54 PM Mia Bikey wrote: > > Ah, wrong attachment. > Here is the correct one. > > On Sat, Oct 28, 2023 at 5:18 PM Mia Bikey wrote: >> >> Hi, >> I was trying to get all my

[NTG-context] Re: formula alignment for mathalign

2023-09-28 Thread Mikael Sundqvist
Hi, On Thu, Sep 28, 2023 at 6:39 PM Aditya Mahajan wrote: > > Hi, > > The `align` parameter of `\setupformulas` is ignored in mathalign. Consider > the following MWE: > > \setupformulas[align=flushleft,leftmargin=2em] > > \starttext > \startformula > A = B > \stopformula > > vs > >

[NTG-context] Re: Issue : compilation error when using mathcases with pagella fonts (and others)

2023-09-24 Thread Mikael Sundqvist
Hi, Not that it helps you much, but your example works fine here, and it gives the expected result. /Mikael On Sun, Sep 24, 2023 at 1:42 PM Vincent Picard wrote: > > Hello, > > Since ConTexT last upgrade (ltmx 2023.09.18 21:13), I have a document that > won't compile with ConTexT. The problem

[NTG-context] Re: stackrel in context?

2023-09-21 Thread Mikael Sundqvist
Hi, On Thu, Sep 21, 2023 at 4:34 PM Hans Hagen wrote: > > On 9/21/2023 2:40 PM, Aditya Mahajan wrote: > > On Thu, 21 Sep 2023, Hans Hagen wrote: > > > >> a teaser for Aditya: > >> > >> \definemathstackers[toprel][top][mathclass=\mathrelationcode] > >>

[NTG-context] Re: Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-09-18 Thread Mikael Sundqvist
Hi, On Mon, Sep 18, 2023 at 4:55 PM Pablo Rodriguez wrote: > > On 9/18/23 16:20, Mikael Sundqvist wrote: > > Hi, > > > > works as expected here, with the latest. > > Hi Mikael, > > I get the same error, so I guess you are on Window

[NTG-context] Re: Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-09-18 Thread Mikael Sundqvist
Hi, works as expected here, with the latest. /Mikael On Mon, Sep 18, 2023 at 4:04 PM Michael Loescher wrote: > > There seems to be something wrong with the \type command. > > MWE: > \starttext > \type{hello} > \stoptext > > gives an error: > tex error > tex error on line 2 in file

[NTG-context] Re: Vertical Space between Text and Itemize List

2023-09-06 Thread Mikael Sundqvist
Hi, You can use before, inbetween and after. \setupitemgroup [itemize] [inbetween={\blank[1cm]}, before={\blank[2cm]}, after={\blank[3cm]}] \starttext \samplefile{ward} \startitemize \dorecurse{4}{ \startitem \samplefile{knuthmath} \stopitem } \stopitemize \samplefile{ward} \stoptext

[NTG-context] Re: Bug between \definealternativestyle and makeup?

2023-08-27 Thread Mikael Sundqvist
Remove the period: \definecharacterkerning [mykerning] [factor=0.15] \definealternativestyle[mystyle][{\setcharacterkerning[mykerning]}] \definemakeup [title] [doublesided=empty, pagestate=start] \starttext \starttitlemakeup Title \stoptitlemakeup \stoptext /Mikael On Sun, Aug 27, 2023 at 9:32 

[NTG-context] Re: Equivalent of the \cancel command with conTeXt

2023-08-22 Thread Mikael Sundqvist
Hi, On Tue, Aug 22, 2023 at 12:25 PM Fabrice Couvreur wrote: > > Hi, > In an algebraic expression, it is sometimes interesting to cross out terms. > With LaTeX, there is the \cancel command from the package cancel. Is there an > equivalent with conTeXt ? > Thanks > Fabrice I don't know what

[NTG-context] Re: Nested itemize

2023-08-22 Thread Mikael Sundqvist
Hi, On Tue, Aug 22, 2023 at 7:16 AM Alexandre Christe wrote: > > It’s true that \vtop{…} does the job for a single line of items, but it > doesn’t in the case there’re multiple (\vtop{}) aligns with the bottom. > > Here’s a modified MWE > > \startitemize[n][style=\bf] > \item

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-19 Thread Mikael Sundqvist
Hi, On Sat, Aug 19, 2023 at 3:36 PM Carlos wrote: > > On Fri, Aug 18, 2023 at 08:58:58PM +0200, Wolfgang Schuster wrote: > > Hi, > > > > 1. Learn to two provide a working minimal example which shows the problem. > > > > Did the minimal example I provided earlier wasn't enough for you? > >

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Mikael Sundqvist
Hi, It is extremely difficult to follow what you write. On Fri, Aug 18, 2023 at 11:43 AM Carlos wrote: > > If I have the following, with these linebreaks as in: > > {\par But a system cannot be successful if it is too strongly > influenced by a single person. {\obeylines Once the initial design

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Mikael Sundqvist
Hi, I suggest to comment out/add \stoptext until the error go,and that way narrow it down. The usual way... /Mikael Den tis 15 aug. 2023 19:50Xavier B. skrev: > I don't have line 276. This is what I have (169 lines): > > % Fitxer ConTeXt MIV > > % carregam les opcions d'entorn > \environment

[NTG-context] Re: split align in formulas

2023-08-14 Thread Mikael Sundqvist
Hi, On Mon, Aug 14, 2023 at 5:13 PM Xavier B. wrote: > > I have this text and the end of the paragraph: > > Definitivament és el mètode més senzill. L'atribució més antiga que conec > d'aquest mètode és de James Tanton \cite{canvi-variable-equacio-segon-grau, > james-tanton-web}. >

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Mikael Sundqvist
Hi, I do not understand what you want to have, so here is just something weird, but probably you look for simplealign. \definemathsimplealign [whatever] \starttext \startformula \startalign \NC a = \NC (b, c) \quad \mtext{with}\NR \NC \NC \startwhatever \NC b \NC = something \NR \NC c \NC =

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Mikael Sundqvist
Hi, On Sun, Aug 13, 2023 at 9:13 AM Xavier B. wrote: > > So, > > Finally is it a bug in MKIV? It seems you fix some kind of bug in your > messages. Is it true? > > > The output with Luametatex is correct but Luatex creates a raised bar > > (and different linebreaking). > > > >

[NTG-context] Re: Fira Math: goodies needed?

2023-07-22 Thread Mikael Sundqvist
Hi Leah, On Sat, Jul 22, 2023 at 12:19 AM Leah Neukirchen wrote: > > Hi, > > I'm trying to use Fira Math (https://github.com/firamath/firamath). > > But this small example yields both limits on the same horizontal axis, > i.e. the 0 is far away from the integral sign: > > > \definefontfamily

[NTG-context] Re: context-on-web broken

2023-07-08 Thread Mikael Sundqvist
On Fri, Jul 7, 2023 at 11:19 PM Aditya Mahajan wrote: > > On Mon, 26 Jun 2023, Hans Hagen via ntg-context wrote: > > > On 6/26/2023 7:53 PM, Aditya Mahajan via ntg-context wrote: > > > On Mon, 26 Jun 2023, Miguel Diaz via ntg-context wrote: > > > > > >> indeed it is a simple simulation of

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-16 Thread Mikael Sundqvist via ntg-context
Hi, On Fri, Jun 16, 2023 at 6:36 PM Gerben Wierda via ntg-context wrote: > > I know this is off topic, but I suspect this community is actually one of the > best places to find an answer. > > I really like Optima, and what I really like about it is the 'flared style'. > > But I would like to

Re: [NTG-context] Fallbacks in text font interfere with math accents

2023-06-10 Thread Mikael Sundqvist via ntg-context
Hi, On Sat, Jun 10, 2023 at 10:06 AM Henning Hraban Ramm via ntg-context wrote: > > Hi, this is probably for Hans & Mikael, but maybe someone else has a hint: > > If I set a fallback for my body font to catch all missing characters, > some math accents get replaced by small bold uppercase

Re: [NTG-context] Moving up a Figure

2023-06-05 Thread Mikael Sundqvist via ntg-context
Hi, On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context wrote: > > Not fully, it indeed moves up the figure but a little too much. Is there a > more granular method? Not that I know of, but maybe {right,halfline} will do? /Mikael

Re: [NTG-context] TiKz with LMTX

2023-06-04 Thread Mikael Sundqvist via ntg-context
Hi Floris, On Sun, Jun 4, 2023 at 11:59 PM Floris van Manen via ntg-context wrote: > > > > On 04/06/2023 18:18, Hans Hagen via ntg-context wrote: > > can you try with > > > > -- "source/generic/**", > > > > in > > > >mtx-install-imp-tikz.lua > > > > (comment line 25) > > > does not make a

Re: [NTG-context] Moving up a Figure

2023-06-03 Thread Mikael Sundqvist via ntg-context
Hi, On Sat, Jun 3, 2023 at 6:36 PM Jeroen via ntg-context wrote: > > With the following example, the figure is placed a little lower than the > first text line. The top of the figure is at about the middle of the first > line. Is there a way to move-up the figure slightly to align it with the

[NTG-context] Mailing list problems

2023-05-28 Thread Mikael Sundqvist via ntg-context
Hi! See https://tex.stackexchange.com/q/687020/52406. The OP there cannot subscribe. Looking at the web archive, it indeed seems to be missing several emails: https://www.mail-archive.com/ntg-context@ntg.nl/ I do not know who handles this, but... Ping! /Mikael

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread Mikael Sundqvist via ntg-context
Hi, On Sun, May 21, 2023 at 3:48 AM Joel via ntg-context wrote: > > I have been using \placefigure[here, force] to place some graphics, but its > instead showing other text from the next section, then the picture. In > testing, this is causing readers to be confused, as they expect to see a >

Re: [NTG-context] This is rmally done by loading special math fonts into the math family slots.

2023-05-09 Thread Mikael Sundqvist via ntg-context
On Tue, May 9, 2023 at 4:20 PM Carlos via ntg-context wrote: > > > > Hello list > > the whole error message I get is > > tex error > tex error on line 90 in file ./atestinminion-context.mkiv: > Math error: parameter 'operatorsize' with id 8 in style 0 is not set > > \m_operator_text >

Re: [NTG-context] new units

2023-05-07 Thread Mikael Sundqvist via ntg-context
Hi Michael, On Sun, May 7, 2023 at 4:43 AM Michael Urban via ntg-context wrote: > > If you are going to introduce new units, you should at least include the > Potrzebie, invented by teenager Donald Knuth and published in the humor > magazine Mad Magazine #33. The system is based on the

Re: [NTG-context] define math function with \, inside

2023-05-01 Thread Mikael Sundqvist via ntg-context
Hi, On Mon, May 1, 2023 at 5:27 PM Stefan Haller via ntg-context wrote: > > Hi all, > > I wanted to define a custom math function (similar to log etc.) for > argmax. However, I wanted to have a small space between "arg" and "max" > and limits should work properly. I am using a up-to-date LMTX

Re: [NTG-context] Reminder: regular online meet-up

2023-04-19 Thread Mikael Sundqvist via ntg-context
Hi all, On Wed, Apr 12, 2023 at 1:40 PM Hans Hagen via ntg-context wrote: > > On 4/12/2023 1:35 PM, Henning Hraban Ramm via ntg-context wrote: > > Reminder: This is in less than 2 hours. > > > > I’m sick and can’t participate this time. > > > > Hraban > we can shift it one week as I have to go

Re: [NTG-context] upload

2023-04-14 Thread Mikael Sundqvist via ntg-context
Hi, On Fri, Apr 14, 2023 at 5:40 PM Alexandre Christe via ntg-context wrote: > > Sorry, \setupmathematics[ucgreek=normal] does the job. Nothing to do with the > last upload. Yes, but I think the default has been normal (upright), and when I test with a minimal document here, it is still

Re: [NTG-context] Feynman Diagrams

2023-04-12 Thread Mikael Sundqvist via ntg-context
Hi, On Wed, Apr 12, 2023 at 1:41 PM Hans Hagen via ntg-context wrote: > > On 4/12/2023 5:45 AM, Gavin via ntg-context wrote: > > Hi List, > > > > I’m looking for a way to include Feynman diagrams in my ConTeXt documents. > > I’ve used feynMF/feynMP and TikZ-feynman with LaTeX in the past, but

Re: [NTG-context] How to use noto sans math font?

2023-04-06 Thread Mikael Sundqvist via ntg-context
Hi all, On Thu, Apr 6, 2023 at 9:44 AM Mikael Sundqvist wrote: > > I will have to check, but a bit later. Meeting with my student soon. > > /Mikael (who did not run the output from ChatGPT. Looked to me as if it was > the wrong way to give flags to shutdown anyways...) So

Re: [NTG-context] How to use noto sans math font?

2023-04-06 Thread Mikael Sundqvist via ntg-context
ael Sundqvist via ntg-context wrote: > > Hi, > > > > On Thu, Apr 6, 2023 at 2:56 AM Li Yanrui (李延瑞) via ntg-context > > wrote: > >> > >> > >> > >> Mikael Sundqvist via ntg-context 于2023年4月5日周三 > 18:26写道: > >>> > >>> H

Re: [NTG-context] How to use noto sans math font?

2023-04-05 Thread Mikael Sundqvist via ntg-context
Hi, On Thu, Apr 6, 2023 at 2:56 AM Li Yanrui (李延瑞) via ntg-context wrote: > > > > Mikael Sundqvist via ntg-context 于2023年4月5日周三 18:26写道: >> >> Hi, >> >> No intend to be complete or so (not by computer either, so could not look >> into it), it was

Re: [NTG-context] How to use noto sans math font?

2023-04-05 Thread Mikael Sundqvist via ntg-context
Hi, No intend to be complete or so (not by computer either, so could not look into it), it was just for a test a while back. But it could serve as a start. /Mikael Den ons 5 apr. 2023 12:07Li Yanrui (李延瑞) via ntg-context skrev: > Hi, > > I try to use the Noto Sans Math fnt which can be

Re: [NTG-context] update / punctuation / math

2023-04-02 Thread Mikael Sundqvist via ntg-context
Hi, On Sun, Apr 2, 2023 at 11:29 AM luigi scarso via ntg-context wrote: > > > > On Sun, 2 Apr 2023 at 10:35, luigi scarso wrote: >> >> >> >> On Sat, 1 Apr 2023 at 10:28, Hans Hagen via ntg-context >> wrote: >>> >>> Hi, >>> >> >> As a side note (it's 2 april now) >> the concrete font of the

Re: [NTG-context] update / punctuation / math

2023-04-02 Thread Mikael Sundqvist via ntg-context
Hi, On Sun, Apr 2, 2023 at 10:35 AM luigi scarso via ntg-context wrote: > > > > On Sat, 1 Apr 2023 at 10:28, Hans Hagen via ntg-context > wrote: >> >> Hi, >> > > As a side note (it's 2 april now) > the concrete font of the pdf is not rendered well both on web and t on > win/linux desktop . >

Re: [NTG-context] \definemathfence broken in latest

2023-03-26 Thread Mikael Sundqvist via ntg-context
Hi, I think command=yes was changed into define=yes. /Mikael Den sön 26 mars 2023 04:31Gavin via ntg-context skrev: > Hi List, > > The command \definemathfence seems to not be working as it did in other > recent LMTX. MWE: > > \definemathfence[abs][bar][command=yes] > > \starttext >

Re: [NTG-context] Printing problem

2023-03-20 Thread Mikael Sundqvist via ntg-context
Hi! On Fri, Mar 17, 2023 at 7:15 PM Pablo Rodriguez via ntg-context wrote: > > On 3/16/23 12:49, Mikael Sundqvist via ntg-context wrote: > > [...] > > So, a request: If you have an easy access to a printer, can you print > > this page and report back if all

[NTG-context] Printing problem

2023-03-16 Thread Mikael Sundqvist via ntg-context
Hi all, I have had some printing problems lately, and it is not perfectly clear to me (or to Hans, we have discussed this a bit) whether it is the printer that has a lack of memory or if the pdf files are somehow corrupted. It might have to do with type3 fonts. I attach a pdf file that does not

Re: [NTG-context] Table

2023-03-13 Thread Mikael Sundqvist via ntg-context
Hi Uschi, On Mon, Mar 13, 2023 at 1:03 PM Ursula Hermann via ntg-context < ntg-context@ntg.nl> wrote: > I’d like to do a Table lik this one > > [image: enter image description here] > > I have no example. How can I do that? > > > > Many thanks > > Uschi > There are probably better ways, but

Re: [NTG-context] Math Formula Alignment

2023-02-18 Thread Mikael Sundqvist via ntg-context
Hi, On Sat, Feb 18, 2023 at 3:01 PM Lutz Haseloff via ntg-context wrote: > > Hi Hans, hi all, > > the alignment of formulas seems broken: > > \setuppapersize[A5] > \starttext > \setuplayout[textwidth=8cm] > \setupformulas[align=left] > \startformula c^2 = a^2 + b^2 \stopformula >

Re: [NTG-context] Makeup and page numbering increment

2023-02-15 Thread Mikael Sundqvist via ntg-context
Hi, and welcome back! On Wed, Feb 15, 2023 at 11:42 AM Alex Leray via ntg-context wrote: > > Dear Context users, > > I'm new to this mailing-list. I've decided to use Context for two > separate publications. My previous experience with Context was almost 10 > years ago and it seems like the

Re: [NTG-context] Lucida-1.901 (2023-01-21) available

2023-01-25 Thread Mikael Sundqvist via ntg-context
On Wed, Jan 25, 2023 at 11:02 AM Otared Kavian via ntg-context wrote: > > Hi, > > Thanks Hraban for the information and the link to the article by Hans and > Mikael about the math fonts in Lucida. > > I very much appreciated that article: one sees how the handling of almost > impercebtile

Re: [NTG-context] Change in \vec behavior

2023-01-22 Thread Mikael Sundqvist via ntg-context
On Sun, Jan 22, 2023 at 9:21 AM Jean-Philippe Rey via ntg-context wrote: > > Hello, > > Does anyone have some insight on this issue? > > Thanks, > > > Le 18 déc. 2022 à 19:37, Jean-Philippe Rey via ntg-context > a écrit : > > Hello, > > As I usually do at the end of each year, I upgraded my

Re: [NTG-context] bug $\vec{}$

2023-01-20 Thread Mikael Sundqvist via ntg-context
I think there is a change going on, try with \definemathtopaccent[top:stretch][vec]["20D7] for the moment. Does it look OK? /Mikael On Fri, Jan 20, 2023 at 2:45 PM Alexandre Christe via ntg-context wrote: > > I confirm the behavior. > > Also possibly linked is that the spacing around

Re: [NTG-context] MP figure continuation

2023-01-06 Thread Mikael Sundqvist via ntg-context
On Fri, Jan 6, 2023 at 3:43 PM Alexandre Christe via ntg-context wrote: > > Dear list, > > Is there a way to "continue" an MP figure? Like keeping the axes, etc. and > just adding code to the figure? > > Maybe I missed something, otherwise I'd find it super useful. > > Thanks in advance and

Re: [NTG-context] Math bug (maybe) - prime

2022-12-27 Thread Mikael Sundqvist via ntg-context
On Wed, Dec 28, 2022 at 5:58 AM Alan Braslau via ntg-context wrote: > > On Wed, 28 Dec 2022 00:27:39 +0100 > Hans Hagen via ntg-context wrote: > > > What you can do is: > > > > $\primed{a}^2$ > > > > which basically makes the prime an operation .. a small price to pay > > for more robust

Re: [NTG-context] Sans Math fonts, for example Computer Modern Bright

2022-12-21 Thread Mikael Sundqvist via ntg-context
Hi, Not by the computer, but you can try \setupbodyfont[kpfonts-sans,ss] I do not think we have tested it so much, so don't hesitate to come with suggestions on how to improve. Best, Mikael Den ons 21 dec. 2022 15:38Oliver Sieber via ntg-context skrev: > Hi there > > I am particularly

Re: [NTG-context] Seems to be a bug with \definelayout

2022-12-10 Thread Mikael Sundqvist via ntg-context
On Sat, Dec 10, 2022 at 9:17 PM peter.hopcroft--- via ntg-context wrote: > > Yes Pablo, that does fix it. I'm sorry, I misunderstood your first reply. > Peter There was a request (by you?) some days ago on stackexchange about altering layout on say "six pages from here" (One can now do

Re: [NTG-context] \hpos in math - Half solved

2022-12-07 Thread Mikael Sundqvist via ntg-context
Hi, On Thu, Dec 8, 2022 at 1:07 AM Gavin via ntg-context wrote: > > Hi Hans and Mikael, > > This is amazing! Mikael's example works for me. I will start using these > tools in my project, and I’ll tell you how it goes. Very good that it works and that it gets tested! > It might be a couple

Re: [NTG-context] TEXpage cropping math

2022-12-05 Thread Mikael Sundqvist via ntg-context
Hi, One usually need an offset. Try try \startTEXpage[offset=1sp] /Mikael On Mon, Dec 5, 2022 at 1:39 PM Gavin via ntg-context wrote: > > Hi List > > I’m having trouble with \startTEXpage cropping off tops and bottoms of > equations. For example. > > \startTEXpage > $E_1$ > \stopTEXpage >

  1   2   >