Re: [NTG-context] Strangely placed dot

2020-05-04 Thread Mikael P. Sundqvist
Hi, I realized that at work I did not have this problem, so there must have been some problem with my installation on the laptop. Perhaps it will go away when erasing the cache. /Mikael On Sun, May 3, 2020 at 7:48 AM Mikael P. Sundqvist wrote: > Hi, > > what is going on with the

[NTG-context] Strangely placed dot

2020-05-02 Thread Mikael P. Sundqvist
Hi, what is going on with the placement of the dot in this example, and how can I avoid it? \starttext \startTEXpage[offset=3bp] $E_tE_s=E_{\min(t,s)}$. \switchtobodyfont[stixtwo]$E_tE_s=E_{\min(t,s)}$. \switchtobodyfont[lucidaot]$E_tE_s=E_{\min(t,s)}$. \stopTEXpage \stoptext Output attached.

Re: [NTG-context] Second derivative ''

2020-03-05 Thread Mikael P. Sundqvist
On Thu, Mar 5, 2020 at 9:09 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Mikael P. Sundqvist schrieb am 05.03.2020 um 20:48: > > Oh, I had not. It looks better with collapsing=1, indeed. A few neq > questions comes to me: > > Does ConTeXt not use

Re: [NTG-context] Second derivative ''

2020-03-05 Thread Mikael P. Sundqvist
On Thu, Mar 5, 2020 at 6:34 PM Hans Hagen wrote: > On 3/5/2020 5:41 PM, Mikael P. Sundqvist wrote: > > On Thu, Mar 5, 2020 at 5:36 PM Aditya Mahajan > <mailto:adit...@umich.edu>> wrote: > > > > On Thu, 5 Mar 2020, Hans Hagen wrote: > > > >

Re: [NTG-context] Second derivative ''

2020-03-05 Thread Mikael P. Sundqvist
On Thu, Mar 5, 2020 at 5:36 PM Aditya Mahajan wrote: > On Thu, 5 Mar 2020, Hans Hagen wrote: > > > On 3/4/2020 11:44 PM, Weber, Matthias wrote: > >> Dear List, > >> > >> \starttext > >> \startformula > >> \left(f\right)'' = f'' > >> \stopformula > >> \stoptext > >> > >> has the second apostrophe

Re: [NTG-context] Lucida small caps

2020-02-17 Thread Mikael P. Sundqvist
On Sun, Feb 16, 2020 at 11:34 AM Hans Hagen wrote: > On 2/15/2020 10:02 PM, Mikael P. Sundqvist wrote: > > On Sat, Feb 15, 2020 at 9:50 PM Hans Hagen > <mailto:j.ha...@xs4all.nl>> wrote: > > > > On 2/15/2020 4:34 PM, Mikael P. Sundqvist wrote: > >

[NTG-context] Lucida small caps

2020-02-15 Thread Mikael P. Sundqvist
Hi, One can easily enable small caps when using lucida, see the old mail https://mailman.ntg.nl/pipermail/ntg-context/2018/090997.html . Could this be added to the type script file? /Mikael ___ If your question is

Re: [NTG-context] macro that does not work (Metapost)

2020-02-11 Thread Mikael P. Sundqvist
On Tue, Feb 11, 2020 at 1:22 PM Fabrice Couvreur < fabrice1.couvr...@gmail.com> wrote: > Hi Hans, > I tried this but without success : > > \startMPcode > suite{1,0}; > suite{2,1}; > \stopMPcode > > Fabrice > > Le mar. 11 févr. 2020 à 13:08, Hans Hagen a écrit : > >> On 2/11/2020

Re: [NTG-context] Indentation problem inside enumeration

2020-01-02 Thread Mikael P. Sundqvist
On Tue, Dec 17, 2019 at 8:39 AM Mikael P. Sundqvist wrote: > Hi! > > I've met a strange problem with indentation in consecutive enumerations. > It seems to me that if > > 1) the first enumeration uses indentnext=no > AND > 2) the next enumeration uses a backgr

[NTG-context] Indentation problem inside enumeration

2019-12-16 Thread Mikael P. Sundqvist
Hi! I've met a strange problem with indentation in consecutive enumerations. It seems to me that if 1) the first enumeration uses indentnext=no AND 2) the next enumeration uses a background then the second(?) paragraph of the second enumeration is not indented. Here is a small example (see

Re: [NTG-context] math align broken

2019-12-16 Thread Mikael P. Sundqvist
On Mon, Dec 16, 2019 at 3:08 PM Hans Hagen wrote: > On 12/16/2019 2:17 AM, Jeong Dal wrote: > > Dear Mikael, > > > > I also confirm your problem. > > I am using > > "ConTeXt ver: 2019.12.06 21:40 MKIV beta fmt: 2019.12.9 int: > english/english” > > > > However, if you change “\Bigl(“ to

[NTG-context] math align broken

2019-12-15 Thread Mikael P. Sundqvist
Hi, I hope this report is not a duplicate of another one. I updated lmtx today (from http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip, a fresh install in the folder), and found some strange things with math: The file %%% EXAMPLE \starttext \startformula \startalign \NC \int

[NTG-context] Referencing equation, missing dot

2019-11-13 Thread Mikael P. Sundqvist
Hi, The following example used to work. But with an LMTX updated today, the numbering \eqref produces is (11) instead of the expected (1.1). The numbering in the equation itself is fine. Did something change on purpose? /Mikael %%% TEST FILE \definereferenceformat[eqref][left=(,right=)]

[NTG-context] Small integral signs

2019-11-10 Thread Mikael P. Sundqvist
Hi, in latest lmtx I get small integral signs in displayed formulas. I removed the cache, but the problem was still there. /Mikael \starttext \startTEXpage[offset=3bp] \startformula \int f(x)\,dx \stopformula \stopTEXpage \stoptext

Re: [NTG-context] new (lmtx) beta

2019-10-05 Thread Mikael P. Sundqvist
Den lör 5 okt. 2019 09:45Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> skrev: > Fabrice Couvreur schrieb am 05.10.2019 um 09:39: > > Hi Hans, > Where is this documentation ? > > Make a update and you will find luametafun.pdf in the documentation >

Re: [NTG-context] new (lmtx) beta

2019-10-04 Thread Mikael P. Sundqvist
On Fri, Oct 4, 2019 at 6:11 PM Hans Hagen wrote: > Hi, > > I uploaded a new lmtx beta. Again some more metafun trickery (see > luametafun manual). I attached an (lmtx only) example of some experiment > code, dedicated to Alan Braslau (teacher among other things). > > Hans > >

Re: [NTG-context] Document with page 2 only

2019-09-04 Thread Mikael P. Sundqvist
On Wed, Sep 4, 2019 at 1:37 PM Hans Hagen wrote: > On 9/4/2019 1:13 PM, Mikael P. Sundqvist wrote: > > Hi, > > > > with a freshly updated ConTeXt-lmtx and the following document > > > > \starttext > > Hello World. > > \stoptext > > > > I

[NTG-context] Document with page 2 only

2019-09-04 Thread Mikael P. Sundqvist
Hi, with a freshly updated ConTeXt-lmtx and the following document \starttext Hello World. \stoptext I end up with the following document, having a page 2 only. Log file is attached (says there are two pages). /Mikael pagetwo.pdf Description: Adobe PDF document open source > level 1,

Re: [NTG-context] Frame with shadow for header

2019-08-27 Thread Mikael P. Sundqvist
On Tue, Aug 27, 2019 at 10:16 AM Fabrice Couvreur < fabrice1.couvr...@gmail.com> wrote: > Hi Mikael, > I did not think about using Metapost, I tried with the keys of the command > \framed without success. > I use the following code for my headings (thank you Aditya) and I would > like to use your

Re: [NTG-context] Frame with shadow for header

2019-08-26 Thread Mikael P. Sundqvist
On Mon, Aug 26, 2019 at 10:25 AM Fabrice Couvreur < fabrice1.couvr...@gmail.com> wrote: > Hello, > How to make a frame with an offset shadow as the attached picture ? The > text inside the frame is a variable. > Thank you. > Fabrice > > > [image: frame.png] > > >

[NTG-context] Fwd: metafun 2

2019-08-19 Thread Mikael P. Sundqvist
On Wed, Aug 14, 2019 at 5:37 PM Hans Hagen wrote: > On 8/14/2019 4:58 PM, Mikael P. Sundqvist wrote: > > > 1) 3d support. This is of course a very big request, but it would also > > be useful for many people. > > yes ... Alan and I are thinking of some (not that we came

Re: [NTG-context] metafun 2

2019-08-14 Thread Mikael P. Sundqvist
On Wed, Aug 14, 2019 at 11:55 AM Hans Hagen wrote: > Hi, > > In the process of providing an additional (more abstract) interface to > some of the old and also new MetaFun code we wonder what kind of > features users would like to see. > >

Re: [NTG-context] Broken kerning if hz is turned on?

2019-06-02 Thread Mikael P. Sundqvist
On Mon, May 20, 2019 at 9:55 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Mikael P. Sundqvist schrieb am 20.05.2019 um 21:41: > > Hi, > > > > attached is the result of running latest lmtx on > > > > > \definefontfeature[default][def

[NTG-context] Broken kerning if hz is turned on?

2019-05-20 Thread Mikael P. Sundqvist
Hi, attached is the result of running latest lmtx on \definefontfeature[default][default][protrusion=quality,expansion=quality] \setupalign[hz] \setupbodyfont[lucidaot] \starttext Gauss öppnade med denna studie ett helt nytt fält inom matematiken, det som handlar om \emph{elliptiska funktioner}

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-18 Thread Mikael P. Sundqvist
On Wed, May 15, 2019 at 9:28 AM Hans Hagen wrote: > On 5/14/2019 11:36 AM, Mikael P. Sundqvist wrote: > > On Tue, May 14, 2019 at 10:39 AM Hans Hagen wrote: > >> > >> On 5/13/2019 5:59 PM, Mikael P. Sundqvist wrote: > >>> Den lör 11 maj 2019 10

Re: [NTG-context] Which math font for LinLibertine family?

2019-05-15 Thread Mikael P. Sundqvist
On Wed, May 15, 2019 at 8:40 AM Tomas Hala wrote: > > Hi all, > > the font family LinLibertine (ConTeXt from TL2018 and older) does not > contain any math font. > > On the file type-imp-libertine.mkiv there is a (disabled) line joining math > from times family. Is the times math the best for

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-14 Thread Mikael P. Sundqvist
On Tue, May 14, 2019 at 10:39 AM Hans Hagen wrote: > > On 5/13/2019 5:59 PM, Mikael P. Sundqvist wrote: > > Den lör 11 maj 2019 10:28Mikael P. Sundqvist > <mailto:mic...@gmail.com>> skrev: > > > > Hi, > > > > I hav

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-13 Thread Mikael P. Sundqvist
Den lör 11 maj 2019 10:28Mikael P. Sundqvist skrev: > Hi, > > I have for some hours tried to understand how to work with > columnsetspans (I'm trying with an updated lmtx), and have some > questions. > > 1) Is it only the floats that has the long list of placement options > (given on p. 18 in

[NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-11 Thread Mikael P. Sundqvist
Hi, I have for some hours tried to understand how to work with columnsetspans (I'm trying with an updated lmtx), and have some questions. 1) Is it only the floats that has the long list of placement options (given on p. 18 in the columnsets manual), or should they also apply to columnsetspans

Re: [NTG-context] Formula number misplaced

2019-04-24 Thread Mikael P. Sundqvist
On Wed, Apr 24, 2019 at 9:52 AM Hans Hagen wrote: > > On 4/23/2019 4:11 PM, Mikael P. Sundqvist wrote: > > Den tis 23 apr. 2019 14:46Aditya Mahajan > <mailto:adit...@umich.edu>> skrev: > > > > On Tue, 23 Apr 2019, Henri Menke wrote:

Re: [NTG-context] Formula number misplaced

2019-04-23 Thread Mikael P. Sundqvist
Den tis 23 apr. 2019 14:46Aditya Mahajan skrev: > On Tue, 23 Apr 2019, Henri Menke wrote: > > > > > Dear list, > > > > The problem I describe does not make itself apparent in all situations, > > but sometimes the formula number, which is placed by > > \start...\stopplaceformula, is misplaced and

Re: [NTG-context] \abovedisplayshortskip

2019-04-22 Thread Mikael P. Sundqvist
On Sat, Apr 20, 2019 at 7:55 PM Wolfgang Schuster wrote: > > Mikael P. Sundqvist schrieb am 20.04.2019 um 15:30: > > On Mon, Apr 15, 2019 at 1:42 PM Mikael P. Sundqvist > > wrote: > >> Hi, > >> > >> is \abovedisplayshortskip inserted

Re: [NTG-context] \abovedisplayshortskip

2019-04-20 Thread Mikael P. Sundqvist
On Mon, Apr 15, 2019 at 1:42 PM Mikael P. Sundqvist wrote: > > Hi, > > is \abovedisplayshortskip inserted in formulas that come after short > lines? Or is there a more ConTeXt-way to tune this? Small example file > below, but I see no change after I set it, so I guess it is not

[NTG-context] \abovedisplayshortskip

2019-04-15 Thread Mikael P. Sundqvist
Hi, is \abovedisplayshortskip inserted in formulas that come after short lines? Or is there a more ConTeXt-way to tune this? Small example file below, but I see no change after I set it, so I guess it is not used? /Mikael \starttext Foo \startformula 1+1=2 \stopformula \abovedisplayshortskip =

Re: [NTG-context] Prevent indentation after itemize

2019-04-11 Thread Mikael P. Sundqvist
On Thu, Apr 11, 2019 at 10:02 AM Procházka Lukáš Ing. wrote: > > Hello, > > Czech typo rules prefer not indenting paragraphs after itemization. > > How to setup indenting best to achieve this? > > The following code gives the desired output: > > > \setupindenting[yes,big] > > \starttext >

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Mikael P. Sundqvist
On Wed, Apr 10, 2019 at 9:21 AM Otared Kavian wrote: > > Hi Hans, > > While testing old documents with lmtx, I noticed that with recent versions of > mkiv, as well as LuaMetaTeX, there is a strange behavior in math mode: when > the characters < and - follow each other one gets \leftarrow… This

[NTG-context] Space between initials in bibliography

2019-03-02 Thread Mikael P. Sundqvist
Hi, By default there seem to be no space between initials in bibliography (which I guess there should be?). I can get a space by adding \setupbtx[ stopper:initials={.\btxspace}, ] but I don't think that this is how the stopper is meant to be used. Do I miss some other key that I can use to get

Re: [NTG-context] \setupmathematics with stylealternative not working

2019-02-24 Thread Mikael P. Sundqvist
On Sat, Feb 23, 2019 at 8:17 AM Mikael P. Sundqvist wrote: > > On Fri, Feb 22, 2019 at 7:25 PM Hans Hagen wrote: > > > > On 2/22/2019 9:24 AM, Henri Menke wrote: > > > I can confirm. My workaround which predates the stylealternative > > > mechanism

Re: [NTG-context] \setupmathematics with stylealternative not working

2019-02-22 Thread Mikael P. Sundqvist
On Fri, Feb 22, 2019 at 7:25 PM Hans Hagen wrote: > > On 2/22/2019 9:24 AM, Henri Menke wrote: > > I can confirm. My workaround which predates the stylealternative > > mechanism also stopped working, so there must be an issue on the level > > of font feature selection. > > > > \definefontfeature

[NTG-context] \setupmathematics with stylealternative not working

2019-02-21 Thread Mikael P. Sundqvist
Hi, It seems that, with the latest beta, the \setupmathematics with stylealternative is not working. I tried \setupbodyfont[lucidaot] \setupmathematics[stylealternative={calligraphic}] \starttext \startTEXpage[offset=3bp] $\mathcal A$ \stopTEXpage \stoptext and got the attached output lcm.png.

Re: [NTG-context] about the location of subscript of integral sign

2019-02-11 Thread Mikael P. Sundqvist
On Fri, Feb 1, 2019 at 9:55 AM Jeong Dal wrote: > > Hi, > > Four days ago, I updated the standalone ConTeXt and found a strange behavior > in the integral sign. > The number at the bottom is far from the integral sign while the number at > the top is OK. > I don’t know when it began since I

[NTG-context] Nested fences, inner one changes size with outer one

2019-02-06 Thread Mikael P. Sundqvist
Hi, Is it possible to automatically have the inner fence _not_ change its size with the outer one? /Mikael \definemathfence[Openinterval][left="0028,right="0029,command=yes] \definemathfence[Set][left="007B,right="007D,command=yes] \starttext \startTEXpage[offset=3bp] Nothing fancy here:

[NTG-context] \index[infinity]{$+\infty$} gives an error

2019-02-05 Thread Mikael P. Sundqvist
Hi, With latest beta, the file below throws me the error given below the example file. I thought this was possible (see http://www.pragma-ade.com/general/manuals/cont-enp.pdf, (pdf)page 202). The error is not present if I remove the third problematic index entry. /Mikael % Example file

Re: [NTG-context] getting ConTeXt results back to Lua (for typesetting solutions at end of document)

2019-01-31 Thread Mikael P. Sundqvist
Hi, this is what I learned from the list to use. I'm sorry, but the names sound a bit Swedish, but I'm sure you can change that. This way it was also easy to add different types like hints, answers and solutions and get clickable letters accordingly. /Mikael %Test file

Re: [NTG-context] Cannot get upright integral in stixtwo anymore

2019-01-25 Thread Mikael P. Sundqvist
Hi! I see that this is fixed in the latest beta. Thanks!! /Mikael On Sat, Jan 12, 2019 at 9:39 AM Mikael P. Sundqvist wrote: > > Hi, > > the code > > \setupbodyfont[stixtwo] > \starttext > \startTEXpage[offset=2bp] > $\displaystyle \int x^2\,dx=\frac{x^3}{3}

[NTG-context] Cannot get upright integral in stixtwo anymore

2019-01-12 Thread Mikael P. Sundqvist
Hi, the code \setupbodyfont[stixtwo] \starttext \startTEXpage[offset=2bp] $\displaystyle \int x^2\,dx=\frac{x^3}{3}+C$\par \setupmathematics[stylealternative={upright}] $\displaystyle \int x^2\,dx=\frac{x^3}{3}+C$\par \stopTEXpage \stoptext used to give an "upright" integral sign in the second

Re: [NTG-context] Lower limit of integrals shifted

2019-01-11 Thread Mikael P. Sundqvist
On Fri, Jan 11, 2019 at 11:36 AM Hans Hagen wrote: > > On 1/10/2019 7:56 AM, Mikael P. Sundqvist wrote: > > Hi, > > > > the output of > > > > \setupmathematics[ > > integral=nolimits, > > ] > > > > \starttext > > \sta

[NTG-context] Lower limit of integrals shifted

2019-01-09 Thread Mikael P. Sundqvist
Hi, the output of \setupmathematics[ integral=nolimits, ] \starttext \startTEXpage[offset=2bp] $\displaystyle\int_0^1x^2\,dx=\frac{1}{3}$ \stopTEXpage \stoptext is attached. Clearly, the lower limit in the integral is not correctly placed. With hope of a quick fix, Mikael

Re: [NTG-context] graphics

2018-12-12 Thread Mikael P. Sundqvist
On Wed, Dec 12, 2018 at 9:02 PM Henri Menke wrote: > > On 13/12/18 8:56 AM, Alan Braslau wrote: > > On Wed, 12 Dec 2018 20:42:56 +0100 > > "Mikael P. Sundqvist" wrote: > >> > >> Thanks, Alan! That looks very promising. I could not make it work,

Re: [NTG-context] graphics

2018-12-12 Thread Mikael P. Sundqvist
On Sat, Dec 8, 2018 at 4:15 PM Alan Braslau wrote: > > On Sat, 8 Dec 2018 09:31:46 +0100 > "Mikael P. Sundqvist" wrote: > > > 3) It would be nice to be able to plot some special functions. I'm > > thinking of the usual suspects, Airy, Bessel, Hypergeometric,

Re: [NTG-context] graphics

2018-12-08 Thread Mikael P. Sundqvist
On Fri, Dec 7, 2018 at 4:15 PM Alan Braslau wrote: > > On Fri, 7 Dec 2018 09:06:03 +0100 > "Mikael P. Sundqvist" wrote: > > > 2) Support for transforming images in a more general way. With the > > zscaled, slanted, ... we are able to transform any object in a

Re: [NTG-context] graphics

2018-12-07 Thread Mikael P. Sundqvist
On Tue, Dec 4, 2018 at 6:03 PM Hans Hagen wrote: > > Hi, > > As most mechanism are reasonable okay now we can look into what future > versions of ConteXt should provide in terms of functionality. The > (luatex) engine is also more of less finished or at least stable in > terms of functionality. >

Re: [NTG-context] Implicit plots/level curves possible?

2018-10-09 Thread Mikael P. Sundqvist
;>> On 10/7/2018 7:14 PM, Alan Braslau wrote: > >>>>> On Sun, 7 Oct 2018 17:25:35 +0200 > >>>>> "Mikael P. Sundqvist" wrote: > >>>>> > >>>>>> ContourPlot[2 x^5 + x y + y^5 == 0, {x, 0, 2}, {

Re: [NTG-context] Implicit plots/level curves possible?

2018-10-07 Thread Mikael P. Sundqvist
On Sun, Oct 7, 2018 at 7:14 PM Alan Braslau wrote: > > On Sun, 7 Oct 2018 17:25:35 +0200 > "Mikael P. Sundqvist" wrote: > > > ContourPlot[2 x^5 + x y + y^5 == 0, {x, 0, 2}, {y, -2, 1/2}] > > Brut force: > > \startTEXpage > \startMPcode {doublef

[NTG-context] Implicit plots/level curves possible?

2018-10-07 Thread Mikael P. Sundqvist
Dear list, Is it possiblet to make implicit plots (i.e. ploting the curves described by equations) in MetaFun? I cannot find anything about them in the MetaFun manual. For example, in Mathematica I can write something like ContourPlot[2 x^5 + x y + y^5 == 0, {x, 0, 2}, {y, -2, 1/2}] to get the

Re: [NTG-context] filling overlap ?

2018-10-07 Thread Mikael P. Sundqvist
On Sun, Oct 7, 2018 at 1:10 PM Floris van Manen wrote: > > Could someone point me to te way as how to fill only the overlap of three > paths using metafun ? > > path p ; p := fullsquare xscaled 10mm yscaled 12mm superellipsed .7 ; > path q ; q := fullsquare xscaled 9mm yscaled 11mm

[NTG-context] Strange vertical result with itemize in columns

2018-09-03 Thread Mikael P. Sundqvist
Hi, the following example generates (with latest standalone) the attached result. As you can see, the final item is not correctly aligned vertically. Am I doing something wrong, or is it a bug? /Mikael PS Yes, I use \displaystyle in the real example, but the same error exist with this simpler

[NTG-context] Bug in newest ConTeXt with anglebetween?

2018-09-01 Thread Mikael P. Sundqvist
Hi! The document below compiled before, but not since upgrading to the new version of standalone (current version: 2018.08.30 18:41). I'm running linux if that matters. The problem seem to be anglebetween, since if that line is commented out, the file compiles. %%% \starttext

Re: [NTG-context] Question on enabling/disabling modes

2018-08-28 Thread Mikael P. Sundqvist
all] > We are in mode test1. > \stopmode > \startmode[test2,all] > We are in mode test2. > \stopmode > \stoptext > %%% > > %%% test1.tex > > %%% > > %%% test2.tex > ??? > %%% > > Fabrice > > Le mar. 28 août 2018 à 11:05, Mikael P. Sundqvist a

Re: [NTG-context] Question on enabling/disabling modes

2018-08-28 Thread Mikael P. Sundqvist
m 2018-08-27 um 16:37 schrieb Mikael P. Sundqvist : >> >> > > On 27 Aug 2018, at 14:14, Mikael P. Sundqvist >> wrote: >> > > >> > > Hi! >> > > >> > > I am writing notes for my teaching and would like to do the following >&

Re: [NTG-context] Question on enabling/disabling modes

2018-08-27 Thread Mikael P. Sundqvist
On Mon, Aug 27, 2018 at 3:17 PM Taco Hoekwater wrote: > > > > On 27 Aug 2018, at 14:14, Mikael P. Sundqvist wrote: > > > > Hi! > > > > I am writing notes for my teaching and would like to do the following > with modes: > > > > * If the file is

[NTG-context] Question on enabling/disabling modes

2018-08-27 Thread Mikael P. Sundqvist
Hi! I am writing notes for my teaching and would like to do the following with modes: * If the file is compiled with context file.tex then everything (i.e. the content in all modes) is typeset. * If the file is compiled with context --mode=test1 file.tex then only mode test1 is typeset. I do

Re: [NTG-context] Some questions about an extreme table

2018-08-25 Thread Mikael P. Sundqvist
On Sun, Aug 26, 2018 at 1:49 AM Fabrice Couvreur < fabrice1.couvr...@gmail.com> wrote: > Hello, > In the table, how to have a. b. c. in each line instead of a. a. a ? > Is the macro to place the figures on the baseline of the labels to be > improved ? > Thanks. > Fabrice > > \useMPlibrary[dum] >

[NTG-context] Graphics gets extra indent if hanging in list

2018-06-11 Thread Mikael P. Sundqvist
Hi! Please look at the example below. I wish the red rectangle to be located as the green one aligned with text to the right, but it gets pushed a bit (the space to the left in the list?). Am I doing things wrongly? Is it possible to fix easily? /Mikael \setuppapersize[A6] \starttext

Re: [NTG-context] Size of fences, factor key

2018-04-25 Thread Mikael P. Sundqvist
> > >> > sort of unclear indeed > > > these big things are tricky as in plain tex they depends on font > dimensions and forced scaling but in context we have abit more control over > these sizes > > you can add this to cont-new.mkiv > > \unprotect > >

Re: [NTG-context] Size of fences, factor key

2018-04-24 Thread Mikael P. Sundqvist
On Sat, Apr 21, 2018 at 7:30 PM, Mikael P. Sundqvist <mic...@gmail.com> wrote: > Dear Hans and others, > > I'm usually use the \big, \Big, \bigg etc to get the size of parentheses, > brackets and braces to be the size I want. I realize that the fences > machinery is p

[NTG-context] Size of fences, factor key

2018-04-21 Thread Mikael P. Sundqvist
Dear Hans and others, I'm usually use the \big, \Big, \bigg etc to get the size of parentheses, brackets and braces to be the size I want. I realize that the fences machinery is probably a cleaner way of doing this. I tried it a bit, and it usually gives the result I like. But sometimes not, and

Re: [NTG-context] [SPAM] Kerning/italic correction problem with TeX Gyre Bonum font

2018-03-15 Thread Mikael P. Sundqvist
On Thu, Mar 15, 2018 at 9:24 PM, Mikael P. Sundqvist <mic...@gmail.com> wrote: > On Thu, Mar 15, 2018 at 11:00 AM, Hans Hagen <pra...@wxs.nl> wrote: > >> On 3/10/2018 7:10 PM, Mikael P. Sundqvist wrote: >> >>> Hi Hans and others! >>> >>&g

Re: [NTG-context] [SPAM] Kerning/italic correction problem with TeX Gyre Bonum font

2018-03-15 Thread Mikael P. Sundqvist
On Thu, Mar 15, 2018 at 11:00 AM, Hans Hagen <pra...@wxs.nl> wrote: > On 3/10/2018 7:10 PM, Mikael P. Sundqvist wrote: > >> Hi Hans and others! >> >> I don't know if this is a problem with the font itself or if it is >> ConTeXt. In any case, the test file

[NTG-context] Kerning/italic correction problem with TeX Gyre Bonum font

2018-03-10 Thread Mikael P. Sundqvist
Hi Hans and others! I don't know if this is a problem with the font itself or if it is ConTeXt. In any case, the test file below gives strange output (attached). In particular the space/kerning after $f$ seems to be off. Ulrike Fischer reminded me in the StackExchange chat that not so long time

Re: [NTG-context] Fourier and utopia

2018-03-06 Thread Mikael P. Sundqvist
On Sat, Mar 3, 2018 at 7:17 PM, Mikael P. Sundqvist <mic...@gmail.com> wrote: > On Sat, Mar 3, 2018 at 3:46 PM, Mikael P. Sundqvist <mic...@gmail.com> > wrote: > >> Dear Hans and dear list, >> >> I try to use the fourier/utopia combination in mkiv (I use

[NTG-context] Primes and type1 math fonts

2018-03-03 Thread Mikael P. Sundqvist
Hans, I asked on StackExchange (https://tex.stackexchange.com/q/418228/52406) about non-working primes in mathdesign. Henri Menke came up with a solution that works well, using the definition of primes from plain TeX. Could we make it an option somehow to use this, like

Re: [NTG-context] Fourier and utopia

2018-03-03 Thread Mikael P. Sundqvist
On Sat, Mar 3, 2018 at 3:46 PM, Mikael P. Sundqvist <mic...@gmail.com> wrote: > Dear Hans and dear list, > > I try to use the fourier/utopia combination in mkiv (I used that > combination for my PhD thesis in mkii 10 years ago). > > First of all, I have downloaded the

[NTG-context] Fourier and utopia

2018-03-03 Thread Mikael P. Sundqvist
Dear Hans and dear list, I try to use the fourier/utopia combination in mkiv (I used that combination for my PhD thesis in mkii 10 years ago). First of all, I have downloaded the fourier fonts from ctan at https://ctan.org/tex-archive/fonts/fourier-GUT . The fonts are found by mtxrun. I have

Re: [NTG-context] chapter setup with subtitle in margin

2018-01-24 Thread Mikael P. Sundqvist
On Wed, Jan 24, 2018 at 11:00 PM, Henning Hraban Ramm wrote: > Am 2018-01-24 um 19:25 schrieb Aditya Mahajan : > > > On Wed, 24 Jan 2018, Henning Hraban Ramm wrote: > > > >> Am 2018-01-23 um 22:31 schrieb Henning Hraban Ramm : > >> > >>> I have

Re: [NTG-context] definefallbackfamily and uppercasedoublestruck not working?

2017-11-25 Thread Mikael P. Sundqvist
On Sat, Nov 25, 2017 at 3:30 PM, Pablo Rodriguez <oi...@gmx.es> wrote: > On 11/25/2017 03:10 PM, Mikael P. Sundqvist wrote: > > [...] > > I agree that it is strange to have those holes due to present symbols. > > Will the code I used work in an updated beta, or should w

Re: [NTG-context] definefallbackfamily and uppercasedoublestruck not working?

2017-11-25 Thread Mikael P. Sundqvist
On Sat, Nov 25, 2017 at 11:00 AM, Hans Hagen wrote: > On 11/25/2017 5:11 AM, Henri wrote: > >> No solution, just another oddity... >> >> \definefontfamily [mainface] [rm] [TeX Gyre Pagella] >> \definefallbackfamily [mainface] [mm] [TeX Gyre Pagella Math] >>

[NTG-context] definefallbackfamily and uppercasedoublestruck not working?

2017-11-24 Thread Mikael P. Sundqvist
Hi! I use the Neo Euler which has no doublestruck characters. Maybe I use old code, but I really think that the following has worked before: %%% \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefallbackfamily [mainface] [mm] [TeX Gyre Pagella Math][range=uppercasedoublestruck]

Re: [NTG-context] Arbitrary tag of displayed formula

2017-11-08 Thread Mikael P. Sundqvist
rformula > a^6 + b^6 = c^6. > \stopstarformula > > \stoptext > > Best regrads: OK > > On 8 Nov 2017, at 07:43, Mikael P. Sundqvist <mic...@gmail.com> wrote: > > Hi! > > Is there a way to tag a displayed formula with arbitrary text? > > As far as I can re

[NTG-context] Arbitrary tag of displayed formula

2017-11-08 Thread Mikael P. Sundqvist
Hi! Is there a way to tag a displayed formula with arbitrary text? As far as I can remember it was possible to use \eqno before, but that does not seem to be the case anymore. For my use case I do not need the possibility to cite the equation, if that helps. I asked the same question at

[NTG-context] Problem installing standalone on linux-64

2017-10-06 Thread Mikael P. Sundqvist
Hi! When trying to install a standalone I get into trouble. First I run wget http://minimals.contextgarden.net/setup/first-setup.sh Then: mickep@cantor:/opt/ConTeXt$ sudo sh ./first-setup.sh --modules=all receiving incremental file list sent 29 bytes received 155 bytes 122.67 bytes/sec

[NTG-context] Stixtwo spacing between upright integrals and lower limits

2017-10-03 Thread Mikael P. Sundqvist
Dear Hans (and others), In the tex stackexchange chat today we were discussing the stix two fonts, and in particular the spacing between the integral sign and the lower bound. It is known that this was way to big before (see https://tex.stackexchange.com/q/327710/52406), but it seems that it is

Re: [NTG-context] Fwd: Re: The binomial coefficients do not look optimal

2017-09-05 Thread Mikael P. Sundqvist
On Sat, Sep 2, 2017 at 6:36 PM, Hans Hagen <pra...@wxs.nl> wrote: > > > > Forwarded Message > Subject: Re: [NTG-context] The binomial coefficients do not look optimal > Date: Sat, 2 Sep 2017 18:35:53 +0200 > From: Hans Hagen <pra...@wxs.nl&g

Re: [NTG-context] The binomial coefficients do not look optimal

2017-09-02 Thread Mikael P. Sundqvist
On Fri, Sep 1, 2017 at 7:49 PM, Hans Hagen <pra...@wxs.nl> wrote: > On 9/1/2017 1:56 PM, Mikael P. Sundqvist wrote: > >> Hi, >> >> I stumbled upon this (see the attached file for the result): >> >> %%% Test file >> \setupbodyfont[10pt] >> \st

[NTG-context] The binomial coefficients do not look optimal

2017-09-01 Thread Mikael P. Sundqvist
Hi, I stumbled upon this (see the attached file for the result): %%% Test file \setupbodyfont[10pt] \starttext \startTEXpage[offset=10pt] \type{\tbinom{n}{k}}: $\tbinom{n}{k}$, (does not look good, the vertical space between $n$ and $k$ is too big) \par \type{\binom{n}{k}}: $\binom{n}{k}$ (looks

Re: [NTG-context] beta

2017-08-06 Thread Mikael P. Sundqvist
On Sun, Aug 6, 2017 at 4:11 PM, Hans Hagen wrote: > in next beta > > % \setuphead[chapter][after={\markpage[chapter][+1]}] > \setuphead[chapter][after={\markpage[chapter]\blank[2*big]}] > > \defineoverlay > [whatever] > [\doifelsemarkedpage{chapter}{CHAPTER}{}] > >

Re: [NTG-context] changing pdf type

2017-08-06 Thread Mikael P. Sundqvist
On Sun, Aug 6, 2017 at 7:27 PM, John Culleton wrote: > I need to have pdf files for U.S. printers in " PDF/X-1a2001" format. Hans > gave me the magic formula a few years back but I lost that reply. > Can someone help me out? > > John Culleton > > > >

Re: [NTG-context] Disable overlay on chapter pages

2017-08-04 Thread Mikael P. Sundqvist
On Fri, Aug 4, 2017 at 9:53 AM, Hans Hagen <pra...@wxs.nl> wrote: > On 8/3/2017 8:11 PM, Mikael P. Sundqvist wrote: > >> that solves the other problem that appeared. What about the one I >> originally posted in this thread? Is it possible to pause backgrounds >

Re: [NTG-context] Disable overlay on chapter pages

2017-08-03 Thread Mikael P. Sundqvist
On Thu, Aug 3, 2017 at 7:29 PM, Pablo Rodriguez wrote: > On 08/03/2017 06:03 PM, Hans Hagen wrote: >> [...] >> \definemargindata >>[margintext:chapter] >>[margintext] >>[width=\outermarginwidth, >> location=outer, >> align=flushouter] >> [...] >>

Re: [NTG-context] Disable overlay on chapter pages

2017-08-02 Thread Mikael P. Sundqvist
On Wed, Aug 2, 2017 at 10:23 PM, Henning Hraban Ramm <te...@fiee.net> wrote: > Am 2017-08-02 um 19:28 schrieb Mikael P. Sundqvist <mic...@gmail.com>: > >> I do not want to change the output of the chapters/sections themself. >> >> I want to have a "runni

Re: [NTG-context] Disable overlay on chapter pages

2017-08-02 Thread Mikael P. Sundqvist
On Wed, Aug 2, 2017 at 7:21 PM, Pablo Rodriguez <oi...@gmx.es> wrote: > On 08/02/2017 12:00 PM, Mikael P. Sundqvist wrote: >> Hi, >> >> I'm trying to print chapter and section titles in the margins, and it >> works fine, except that the chapter title is

[NTG-context] Disable overlay on chapter pages

2017-08-02 Thread Mikael P. Sundqvist
Hi, I'm trying to print chapter and section titles in the margins, and it works fine, except that the chapter title is also printed on the same page as the chapter starts, which I find unnecessary. 1) Can I somehow (probably via the right \setuphead trick) disable this overlay only on chapter

Re: [NTG-context] Kerning between primes and left parenthesis (again)

2017-07-31 Thread Mikael P. Sundqvist
On Mon, Jul 31, 2017 at 9:15 PM, Hans Hagen <pra...@wxs.nl> wrote: > On 7/31/2017 8:02 PM, Mikael P. Sundqvist wrote: >> >> On Mon, Jul 31, 2017 at 5:37 PM, Hans Hagen <pra...@wxs.nl> wrote: >>> >>> On 7/31/2017 11:21 AM, Mikael P. Sundqvist wrote: &

Re: [NTG-context] Kerning between primes and left parenthesis (again)

2017-07-31 Thread Mikael P. Sundqvist
On Mon, Jul 31, 2017 at 5:37 PM, Hans Hagen <pra...@wxs.nl> wrote: > On 7/31/2017 11:21 AM, Mikael P. Sundqvist wrote: >> >> On Thu, Jul 20, 2017 at 2:53 PM, Hans Hagen <pra...@wxs.nl> wrote: >>> >>> On 7/20/2017 7:18 AM, Mikael P. Sundqvist wrote: >

Re: [NTG-context] Kerning between primes and left parenthesis (again)

2017-07-31 Thread Mikael P. Sundqvist
On Thu, Jul 20, 2017 at 2:53 PM, Hans Hagen <pra...@wxs.nl> wrote: > On 7/20/2017 7:18 AM, Mikael P. Sundqvist wrote: > >> Den 12 juli 2017 10:17 fm skrev "Mikael P. Sundqvist" <mic...@gmail.com >> <mailto:mic...@gmail.com>>: >> >>

Re: [NTG-context] Kerning between primes and left parenthesis (again)

2017-07-19 Thread Mikael P. Sundqvist
Den 12 juli 2017 10:17 fm skrev "Mikael P. Sundqvist" <mic...@gmail.com>: Dear Hans, now, in luatex 1.05, that the primes are "constructed" in new manner, I wonder if there is a way to specify in a goodie file the kerning between characters, in particular primes an

[NTG-context] Kerning between primes and left parenthesis (again)

2017-07-12 Thread Mikael P. Sundqvist
Dear Hans, now, in luatex 1.05, that the primes are "constructed" in new manner, I wonder if there is a way to specify in a goodie file the kerning between characters, in particular primes and the left parenthesis? I tried kernpairs = { [0x2032] = {[0x0028] = -1000, }, --

Re: [NTG-context] floatcombination boundingbox

2017-06-30 Thread Mikael P. Sundqvist
Den 29 juni 2017 9:55 fm skrev "Hans Hagen" <pra...@wxs.nl>: On 6/28/2017 2:33 PM, Mikael P. Sundqvist wrote: > Hi, > > I wonder what is going on in the example given below (resulting pdf > attached)? The placement of the figures in floatcombination (this does >

[NTG-context] floatcombination boundingbox

2017-06-28 Thread Mikael P. Sundqvist
Hi, I wonder what is going on in the example given below (resulting pdf attached)? The placement of the figures in floatcombination (this does not happen if I place them one by one in a figure) are shifted horizontally, and seems to depend on the boundingbox. Am I doing something wrong? This

Re: [NTG-context] Bug regarding placement and size of primes

2017-06-12 Thread Mikael P. Sundqvist
ink to the thread you are referring to? > > Best > /Mathias > > >> Am 12.06.2017 um 12:57 schrieb Mikael P. Sundqvist <mic...@gmail.com>: >> >> On Mon, Jun 12, 2017 at 12:32 PM, Mathias Schickel >> <m...@fa.uni-tuebingen.de> wrote: >>> Dear

  1   2   3   4   >