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...) Sorry for that, I

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 >

Re: [NTG-context] Bug in math alignment

2022-11-02 Thread Mikael Sundqvist via ntg-context
Hi, On Wed, Nov 2, 2022 at 9:19 PM Otared Kavian via ntg-context wrote: > > Dear Jeong, > > Thanks for testing my example, and pointing to the solution using \dm (which > I didn’t know…). > I think the correct behaviour of math alignments should avoid using > additional commands such as \dm. >

Re: [NTG-context] Backgrounds has changed in latest lmtx

2022-10-23 Thread Mikael Sundqvist via ntg-context
On Sun, Oct 23, 2022 at 4:00 PM Thomas A. Schmitz via ntg-context wrote: > > On 10/23/22 15:51, Hans Hagen wrote: > > there was another fix yesterday (already uploaded) > > > > Hans > > Ah sorry, I missed that! It runs with my test file now, thanks! But my > real file dies with this error: > >

Re: [NTG-context] new upload

2022-10-17 Thread Mikael Sundqvist via ntg-context
On Mon, Oct 17, 2022 at 8:43 AM Otared Kavian via ntg-context wrote: > > Hi Mikael, Hi Otared, > > I use Lucida in my documents and did not notice any problem with the > integrals and other large operators. > Do you mean in the future I have to update to a new version of Lucida (and > pay

Re: [NTG-context] new upload

2022-10-16 Thread Mikael Sundqvist via ntg-context
Hi, On Sun, Oct 16, 2022 at 6:07 PM Aditya Mahajan via ntg-context wrote: > > On Fri, 14 Oct 2022, Hans Hagen via ntg-context wrote: > > > Hi, > > > > I uploaded a new version. Apart from a few fixes / extensions already > > mentioned here (or known to those who wanted it) the main changes are

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Mikael Sundqvist via ntg-context
Hi, On Sun, Oct 2, 2022 at 3:26 PM Hans Hagen via ntg-context wrote: > > On 10/2/2022 3:13 PM, Fabrice Couvreur via ntg-context wrote: > > Ok, it works very well. Without wanting to insist, how to have the same > > hatching with two different figures ? > see upcoming mail from Mikael Oh, OK,

Re: [NTG-context] About macro numberstriped ()

2022-10-01 Thread Mikael Sundqvist via ntg-context
Hi, Is this what you are looking for? On Sat, Oct 1, 2022 at 7:43 PM Fabrice Couvreur via ntg-context wrote: > > Hi Hans, > When the rectangles are not identical, how to have the same type of hatching > in both ? > Thanks. > Fabrice > > > \starttext > \startlinecorrection[blank] >

Re: [NTG-context] Math alignment question

2022-09-23 Thread Mikael Sundqvist via ntg-context
On Fri, Sep 23, 2022 at 8:46 PM Aditya Mahajan via ntg-context wrote: > > On Thu, 22 Sep 2022, Jeong Dal via ntg-context wrote: > > > Dear Mikael and Hans, > > > > Recently, you introdued the new command “\alignhere, \breakhere, \skiphere” > > which works fine. > > > > Since I usually use the

Re: [NTG-context] lmt_outline not rendering properly

2022-09-23 Thread Mikael Sundqvist via ntg-context
On Thu, Sep 22, 2022 at 11:15 AM Jacob Kauffmann via ntg-context wrote: > > Dear list, > > attached is an example taken from the luametafun manual. > The letter o looks odd. When I compile the manual the examples in section 4 > look also bad (different font; page 10 attached). > It seems like

Re: [NTG-context] Latest ConTeXt won't "--make"

2022-09-14 Thread Mikael Sundqvist via ntg-context
Hi, On Wed, Sep 14, 2022 at 8:43 AM Max Chernoff via ntg-context wrote: > > Hi all, > > I've just updated to the latest ConTeXt, but I'm unable to make the > format: > >$ context --make >resolvers | resolving | configuration files already identified >resolvers | resolving

Re: [NTG-context] How do I write a digital book that can become a physical book without a lot of modifications?

2022-09-10 Thread Mikael Sundqvist via ntg-context
On Sat, Sep 10, 2022 at 2:43 PM amano.kenji via ntg-context wrote: > > A digital book doesn't need to be double-sided. > > But, a physical book can be double-sided. > > Double-sidedness may require adjusting contents in many places. > > How can I write a digital book that doesn't have to be

Re: [NTG-context] Quick way to proofread / check index entries?

2022-09-04 Thread Mikael Sundqvist via ntg-context
Den sön 4 sep. 2022 08:59Richard Mahoney via ntg-context skrev: > Bruce, > > Did something of the sort a while back: redefined the index command to > something short, in capitals; then adjusted the syntax highlighting to pick > up the code. This was for emacs + auctex, so it was just a case of >

Re: [NTG-context] How to make a reference go to an exact point of a section on a page?

2022-09-01 Thread Mikael Sundqvist via ntg-context
On Thu, Sep 1, 2022 at 2:37 PM amano.kenji via ntg-context wrote: > > I just created a reference to a \section with \in. > > Clicking the \in reference doesn't go to the \section, but to the page that > has the \section. > > Does ConTeXt lack the ability to go to an exact point of a numbered

Re: [NTG-context] underbar aligns badly

2022-08-31 Thread Mikael Sundqvist via ntg-context
On Wed, Aug 31, 2022 at 9:45 AM Jan Ulrich Hasecke via ntg-context wrote: > > Am Wed, Aug 31, 2022 at 09:30:33AM +0200 schrieb juh+ntg-context--- via > ntg-context: > > Now in node-rul.mkxl I have this: > > > > \protected\def\node_rules_direct#1% > > {\groupedcommand > > {\dontleavehmode %

Re: [NTG-context] underbar aligns badly

2022-08-31 Thread Mikael Sundqvist via ntg-context
Hi, On Wed, Aug 31, 2022 at 8:32 AM juh+ntg-context--- via ntg-context wrote: > > Dear Hans, > > thanks a lot, but... > > Am 27.08.22 um 08:54 schrieb Hans Hagen via ntg-context: > > On 8/27/2022 8:46 AM, Jan Ulrich Hasecke via ntg-context wrote: > >> Hi all, > >> > >> can nobody confirm this

Re: [NTG-context] C with macron

2022-08-24 Thread Mikael Sundqvist via ntg-context
Hi, On Wed, Aug 24, 2022 at 2:23 AM Thangalin via ntg-context wrote: > > Hi again, > > Re: https://tex.stackexchange.com/q/364024/2148 > > How do you typeset a C with a macron below? > > \starttext > M\withmacron{c}Anulty > \stoptext > > Thank you. It seems that you can use "0331 for this:

Re: [NTG-context] underbrace under matrix

2022-08-04 Thread Mikael Sundqvist via ntg-context
On Fri, Aug 5, 2022 at 2:01 AM Jethro Djan via ntg-context wrote: > > Hello, > > I want to get underbraces under matrices in a math alignment environment. > I’ve reproduced my problem here: > > \definemathmatrix >[pmatrix] >[left={\left(\,},right={\,\right)}] > > \starttext >

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

2022-07-24 Thread Mikael Sundqvist via ntg-context
On Sun, Jul 24, 2022 at 1:01 PM Cron Daemon via ntg-context wrote: > > receiving incremental file list > ./ > ctan.lsr > document-2.htm > download-1.htm > download-2.htm > logo-ade.png > logo-cts.png > logo-pod.png > rss.xml > show-fil.pdf > context/latest/ >

Re: [NTG-context] Bug in placeformula

2022-07-12 Thread Mikael Sundqvist via ntg-context
On Tue, Jul 12, 2022 at 6:34 PM Otared Kavian via ntg-context wrote: > > Dear Hans, dear Mikael, > > In my experiments with the new math engine, I noticed that there is an issue > with \placeformula when one sets the location of the numbers on the left: the > number is one line above the

Re: [NTG-context] MetaPost cutdraw

2022-07-06 Thread Mikael Sundqvist via ntg-context
Hi, On Wed, Jul 6, 2022 at 11:29 AM Henning Hraban Ramm via ntg-context wrote: > > Am 06.07.22 um 09:15 schrieb Hans Hagen via ntg-context: > > On 7/6/2022 7:10 AM, Aditya Mahajan via ntg-context wrote: > >> On Wed, 6 Jul 2022, Henning Hraban Ramm via ntg-context wrote: > >> > >>> Hi, I’m trying

Re: [NTG-context] upload

2022-07-06 Thread Mikael Sundqvist via ntg-context
On Wed, Jul 6, 2022 at 10:10 PM Hans Hagen via ntg-context wrote: > > Hi, > > We're pleased to announce the first official release of the new math > code. We're talking of: > > -- a reworked math engine (which happened stepwise so some already > trickled into previous uploads) > > -- settling on

Re: [NTG-context] Numbering in mathalignment not working

2022-05-24 Thread Mikael Sundqvist via ntg-context
On Wed, May 25, 2022 at 5:35 AM Luis Montgomery via ntg-context wrote: > > Same issue with > > \placeformula > \startformula > \startalign[number=auto] > \NC A_1 x + B_1 y + C_1\NC = 0 \NR[+] > \NC A_2 x + B_2 y + C_2\NC = 0 \NR[+] > \stopalign > \stopformula > > > and with all the wiki examples

Re: [NTG-context] How to add margin around standalone MetaPost?

2022-05-20 Thread Mikael Sundqvist via ntg-context
Hi, Not sure if I understand the problem correctly. You could try \starttext \startMPpage[offset=3pt] ahlength := 20; linejoin := mitered; drawarrow origin--(40,0) withpen pencircle scaled 5; \stopMPpage \startMPpage[offset=1cm] ahlength := 20; linejoin := mitered; drawarrow

Re: [NTG-context] upload

2022-05-09 Thread Mikael Sundqvist via ntg-context
On Mon, May 9, 2022 at 6:16 PM Alexandre Christe via ntg-context wrote: > > Sadly I have to report the bibliography is still broken. Could someone else > confirm? It's an unfortunate timing since I need to hand in some report > really soon. > I can confirm that there is a problem. But in the

Re: [NTG-context] how to choose a font variant "book" / LMTX

2022-05-04 Thread Mikael Sundqvist via ntg-context
On Wed, May 4, 2022 at 6:44 PM Heinrich Paeßens via ntg-context wrote: > > Hi there > I have a quick question: > > I was successful to install and use a new font in LMTX (New Computer Modern). > All good except that I’d like to use the »Book« variant instead of the > »Regular« variant

Re: [NTG-context] Font too small with a macro

2022-04-23 Thread Mikael Sundqvist via ntg-context
ntg-context wrote: > > > Hi, > > if I replace your definition of exp by > > \protected\def\exp{\normal exp} > > it works well (at least on my installation of lmtx), but > I'm just a beginner in using context... > > Best, > Günter > > > Mikael

Re: [NTG-context] Font too small with a macro

2022-04-23 Thread Mikael Sundqvist via ntg-context
On Sat, Apr 23, 2022 at 12:11 PM Fabrice Couvreur via ntg-context wrote: > > Hello, > If I compile with context the expected result is correct but with lmtx the > font under the square root is smaller. > Thank you > Fabrice > > \protected\def\exp{\text{\normal exp}} > > \starttext >

Re: [NTG-context] Need some hints to fix my standalon installation

2022-04-20 Thread Mikael Sundqvist via ntg-context
On Wed, Apr 20, 2022 at 5:03 PM Pablo Rodriguez via ntg-context wrote: > > On 4/20/22 12:34, Christoph Hintermüller via ntg-context wrote: > > Hi > > Have updated my standalone installation from one of the 2020 releases > > to the latest one running > > > > ./first-setup.sh --context=latest

Re: [NTG-context] Math functions not typeset inside MetaPost

2022-04-19 Thread Mikael Sundqvist via ntg-context
On Tue, Apr 19, 2022 at 3:59 PM śrīrāma via ntg-context wrote: > > Hi Hans, > > [I am sending this again since the previous mails regarding were sent during > the weekend]. > > I am on the most recent upload of LMTX [2022.04.15 20:20]. However, when I try > to use math functions inside MetaPost

Re: [NTG-context] upload

2022-03-29 Thread Mikael Sundqvist via ntg-context
On Tue, Mar 29, 2022 at 6:37 AM Otared Kavian wrote: > > Hi Mikael, Hi Otared, > > Thanks for your explanation and the example you sent about > \definemathsimplealign (I didn’t get immediately that « sesac » in the > command \startmathfenced[sesac] means « cases » in reverse or mirrored… I >

Re: [NTG-context] upload

2022-03-28 Thread Mikael Sundqvist via ntg-context
On Mon, Mar 28, 2022 at 11:23 PM Otared Kavian wrote: > > Hi Hans, > > Thank you for the new upload and the improvements you mention about the > handling of math stuff. Thanks also to Mikael for the follow up of these > matters. > > I noticed that in math mode the command \cal does not work

Re: [NTG-context] new upload

2022-03-14 Thread Mikael Sundqvist via ntg-context
Hi! On Mon, Mar 14, 2022 at 9:01 AM Hans Hagen via ntg-context wrote: > > On 3/13/2022 7:58 PM, Rik Kabel via ntg-context wrote: > > > With regard to math fonts, I notice that the goodies file for Libertinus > > expects version 6.8 of the font, but the current version (since February > > 2021)

Re: [NTG-context] mathalignment not working (? again ?)

2022-03-01 Thread Mikael Sundqvist via ntg-context
On Wed, Mar 2, 2022 at 2:33 AM śrīrāma via ntg-context wrote: > > Hi, > > While setting some rather large set of equations in a document I could not > achieve proper alignment of columns in mathalignment. Below is a demonstrative > example: > > \starttext > \placeformula > \startformula >

Re: [NTG-context] shapepar for ConTeXt

2022-02-14 Thread Mikael Sundqvist via ntg-context
On Mon, Feb 14, 2022 at 12:29 PM Peter Münster via ntg-context wrote: > > Hi, > > Is there something like shapepar (LaTeX-package) for ConTeXt? > I would like to do the same as "\heartpar{text}" (see > http://mirrors.ctan.org/macros/latex/contrib/shapepar/shapepar.pdf > page 9) with ConTeXt. > >

[NTG-context] Suggestions for more math classes?

2022-01-27 Thread Mikael Sundqvist via ntg-context
Dear all, While discussing spacing in math with Hans, we have come to the conclusion that to have better control and cleaner code there might be a good idea to have more math classes than the usual ones in TeX (ord, op, bin, rel, open, close, punct, inner (and some that we need not to think

Re: [NTG-context] How to setupbtx to get short citations?

2022-01-11 Thread Mikael Sundqvist via ntg-context
On Sun, Jan 9, 2022 at 11:56 PM Mikael Sundqvist wrote: > > Hi, > > In the example below I can do \cite[short][hh2010] to get the citation > in the short format. But I thought that would also be the standard > with \setupbtx[aps][alternative=short] (so that I can write > \cite[hh2010] instead).

[NTG-context] How to setupbtx to get short citations?

2022-01-09 Thread Mikael Sundqvist via ntg-context
Hi, In the example below I can do \cite[short][hh2010] to get the citation in the short format. But I thought that would also be the standard with \setupbtx[aps][alternative=short] (so that I can write \cite[hh2010] instead). What do I miss? (Except for the fact that I should probably define my

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread Mikael Sundqvist via ntg-context
Oh, I should have thought of that. Thanks (again) Wolfgang! /Mikael On Tue, Jan 4, 2022 at 5:22 PM Wolfgang Schuster wrote: > > Mikael Sundqvist via ntg-context schrieb am 04.01.2022 um 13:21: > > Oh, thanks! > > > > I can simply wrap my table in a framed environment,

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread Mikael Sundqvist via ntg-context
Oh, thanks! I can simply wrap my table in a framed environment, then. If it is still possible to solve without the surrounding framed I'm interested to hear how. /Mikael On Tue, Jan 4, 2022 at 12:12 PM kauśika wrote: > > On Tuesday, January 4, 2022 4:24:22 PM IST Mikael Sundqvist v

[NTG-context] Align table (framed) top

2022-01-04 Thread Mikael Sundqvist via ntg-context
Hi, This is probably simple, but I cannot combine the right keys to get it to work. What is the correct way to get the last line, "The last foo", to automatically be placed below the second table? I still want the first line of the table to align vertically with the text Bar. /Mikael \starttext

Re: [NTG-context] Two questions on enumerations/indentation

2021-12-31 Thread Mikael Sundqvist via ntg-context
: > Can solve with > > > \defineenumeration[remark][ > alternative=serried, > width=fit, > text={{\it Remark}}, > headstyle=\tf, > indenting={first,medium}, > %headcommand=\groupedcommand{\hskip 1em}{}, > ] > > > Mikael Sundqvist via ntg-context 於 2

[NTG-context] Two questions on enumerations/indentation

2021-12-30 Thread Mikael Sundqvist via ntg-context
Hi, I have two questions: 1) What is the correct way to indent the first line of a (serried) enumeration? In the example below, I can use headcommand, but then I do not know what I should replace "1em" below to fit the medium indenting. 2) I miss a numberstyle. What is the correct way to (in

Re: [NTG-context] MP: problem connecting paths.

2021-12-20 Thread Mikael Sundqvist via ntg-context
Hi, I will try again. What if you do newcircleA := newcircleA scrutinized 2; after your definition of newcircleA? /Mikael On Mon, Dec 20, 2021 at 3:45 PM Fabrice L wrote: > > Thanks Mikael, > > Le 20 déc. 2021 à 02:21, Mikael Sundqvist via ntg-context > a écrit : &g

Re: [NTG-context] MP: problem connecting paths.

2021-12-19 Thread Mikael Sundqvist via ntg-context
Hi, would it be an option for you to do newcircleA := circleA cutbefore P1 cutafter P2 -- cycle ; In that case you avoid extra points. /Mikael On Mon, Dec 20, 2021 at 5:30 AM Fabrice L via ntg-context wrote: > > Dear list, > > I have a problem connecting path with the operator « & » (page 16

Re: [NTG-context] Extra shift with ornament

2021-12-17 Thread Mikael Sundqvist via ntg-context
On Fri, Dec 17, 2021 at 10:05 AM Hans Hagen wrote: > > On 12/17/2021 6:40 AM, Mikael Sundqvist via ntg-context wrote: > > Hi, > > > > When using an ornament on a \startframedtext \stoptextframed the frame > > is shifted just a little bit. Can one get ri

[NTG-context] Extra shift with ornament

2021-12-16 Thread Mikael Sundqvist via ntg-context
Hi, When using an ornament on a \startframedtext \stoptextframed the frame is shifted just a little bit. Can one get rid of that shift? MWE below. /Mikael \defineornament[MyOrn][ corner={right,bottom}, location={right,top}, alternative=b, ][ frame=off, ] \showframe \starttext

Re: [NTG-context] [DKIM] Primes too high in New Computer Modern

2021-12-07 Thread Mikael Sundqvist via ntg-context
Hi, We changed so that newcomputermodern-book (which is bolder than newcomputermodern) uses the same lfg file as lm, which works. I attach an updated version of the type-imp-newcomputermodern.mkiv, which also adds the lfg file to newcomputermodern. /Mikael PS If one wants to play with

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

2021-11-26 Thread Mikael Sundqvist via ntg-context
Hi Jack, I've been working with Hans on math in general and primes in particular in the last week. I do not understand all the details, but I think primes are handled differently now, and that one essentially need to have some tuning in goodie files (the reason is that they are done differently

Re: [NTG-context] upload

2021-10-23 Thread Mikael Sundqvist via ntg-context
On Fri, Oct 22, 2021 at 9:22 AM Hans Hagen wrote: > > On 10/21/2021 10:31 PM, Mikael Sundqvist via ntg-context wrote: > > > It works very nicely. I played with the test file you sent me, and I > > find that in the .lfg file, the up parameter set to 0.06 instead of >

Re: [NTG-context] upload

2021-10-21 Thread Mikael Sundqvist via ntg-context
On Thu, Oct 21, 2021 at 8:04 PM Hans Hagen via ntg-context wrote: > > Hi, > > I cleaned up some more backend code. There were some mails about dates > and such and although the date field in setupinteraction works ok a more > drastic overload is doen with directives. The reason is that the fact

[NTG-context] Add ssty to libertinus

2021-10-20 Thread Mikael Sundqvist via ntg-context
Hi, looking at the output of \setupbodyfont[libertinus] %\setupmathematics[stylealternative={ssty}] \starttext %\addff{ssty} $y'=f'$ \switchtobodyfont[newcomputermodern-book] $y'=f'$ \stoptext I think that the primes in libertinus are too small. Indeed, looking in the font, they look like the