[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] 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] >> [...] >>

[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] 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

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] 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

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] 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] bug with en and em dashes

2017-05-14 Thread Mikael P. Sundqvist
On Sun, May 14, 2017 at 8:21 PM, Pablo Rodriguez <oi...@gmx.es> wrote: > On 05/11/2017 09:25 PM, Mikael P. Sundqvist wrote: >> I'm not sure what you see but I attach the resulting file, and I see no >> problem. >> >> $ uname -a >> Linux hurf 4.8.0-41-generi

Re: [NTG-context] Location of primes and strange latin modern font

2017-05-12 Thread Mikael P. Sundqvist
allest optical size for every symbol > (independent of the size). This results in strange looking mathematics. Maybe > you can fix this, Hans? > > -Mathias > > >> Am 11.05.2017 um 18:51 schrieb Mikael P. Sundqvist <mic...@gmail.com>: >> >> Dear list, >> >>

[NTG-context] indenting in framedtext

2017-05-10 Thread Mikael P. Sundqvist
Dear list, I'm trying to have indentation inside a framed text, but I do not succeed. Test file below, and result after compiling with latest standalone. Is this the intended behavior? Best regards, Mikael \setupindenting[yes,medium] \defineframedtext [MyFrame] [ frame=on, width=broad,

[NTG-context] definefallbackfamily and utfchar, something changed?

2017-05-10 Thread Mikael P. Sundqvist
Hi, the Lucida font does not have all variants of \heartsuit, \varheartsuit and so on (see for example http://mirror.unl.edu/ctan/macros/latex/contrib/unicode-math/unimath-symbols.pdf for their unicode slots). For this reason I borrow these symbols from Xits. The code below used to work, but not

[NTG-context] Location of primes and strange latin modern font

2017-05-11 Thread Mikael P. Sundqvist
Dear list, I posted this question on stack exchange (https://tex.stackexchange.com/q/369226/52406), and got the suggestion that it might be a bug, and therefore I post it here as well: I have a problem with typesetting derivatives (and latin modern) in ConTeXt in latest standalone. Minimal

Re: [NTG-context] indenting in framedtext

2017-05-10 Thread Mikael P. Sundqvist
On Wed, May 10, 2017 at 2:40 PM, Hans Hagen <pra...@wxs.nl> wrote: > On 5/10/2017 1:39 PM, Mikael P. Sundqvist wrote: >> >> Dear list, >> >> I'm trying to have indentation inside a framed text, but I do not >> succeed. Test file below, and result af

Re: [NTG-context] Position of prime for derivatives

2017-05-18 Thread Mikael P. Sundqvist
Den 18 maj 2017 10:13 fm skrev "Otared Kavian" : Hi Hans, Thanks for your explanations. When using constructions such as $f’’_2(x)$, I will adapt my input in order to get what seems correct. Best regards: OK > On 17 May 2017, at 17:17, Hans Hagen wrote: > >

Re: [NTG-context] definefallbackfamily and utfchar, something changed?

2017-05-13 Thread Mikael P. Sundqvist
On Wed, May 10, 2017 at 2:36 PM, Hans Hagen <pra...@wxs.nl> wrote: > Wolfgang and I are looking into it ... the issue was introduced when support > for designsizes for fallbacks was introduced > > Hans > > > On 5/10/2017 11:33 AM, Mikael P. Sundqvist wrote: >>

Re: [NTG-context] Location of primes and strange latin modern font

2017-05-13 Thread Mikael P. Sundqvist
On Sat, May 13, 2017 at 7:05 PM, Hans Hagen wrote: > On 5/11/2017 8:35 PM, Mathias Schickel wrote: >>> >>> 2) The math font looks strange (or should I say different) in the >>> ConTeXt example. (Wrong size, scaled?) >> >> >> Yeah, this seems to be a bug in the current version. I

Re: [NTG-context] bug with en and em dashes

2017-05-11 Thread Mikael P. Sundqvist
On Thu, May 11, 2017 at 9:04 PM, Pablo Rodriguez wrote: > On 05/11/2017 04:17 PM, Thomas Floeren wrote: >>> On 9. May 2017, at 21:10, Pablo Rodriguez wrote: >>> [...] >>> Ligatures aren’t converted and even real en and em dashes are converted >>> to hyphens. >>> >>> Could anyone

Re: [NTG-context] Position of prime for derivatives

2017-06-08 Thread Mikael P. Sundqvist
On Thu, Jun 8, 2017 at 10:28 AM, Mikael P. Sundqvist <mic...@gmail.com> wrote: > On Thu, Jun 8, 2017 at 10:17 AM, luigi scarso <luigi.sca...@gmail.com> wrote: >> On Thu, Jun 8, 2017 at 9:52 AM, Mikael P. Sundqvist <mic...@gmail.com> wrote: >>> PS: the ./build

Re: [NTG-context] Position of prime for derivatives

2017-06-08 Thread Mikael P. Sundqvist
On Thu, Jun 8, 2017 at 10:17 AM, luigi scarso <luigi.sca...@gmail.com> wrote: > On Thu, Jun 8, 2017 at 9:52 AM, Mikael P. Sundqvist <mic...@gmail.com> wrote: >> PS: the ./build.sh (Checked out revision 6287) runs for a while, and >> then stops with an error like th

Re: [NTG-context] Position of prime for derivatives

2017-06-08 Thread Mikael P. Sundqvist
On Wed, Jun 7, 2017 at 11:03 PM, Hans Hagen <pra...@wxs.nl> wrote: > On 6/7/2017 9:57 PM, Mikael P. Sundqvist wrote: > >> In 2017.06.06 13:22 something is still not correct. > > i mentioned that you need a new engine (the garden has 1.0.5 binafies for > windo

Re: [NTG-context] Position of prime for derivatives

2017-05-20 Thread Mikael P. Sundqvist
On Sat, May 20, 2017 at 3:33 PM, Mikael P. Sundqvist <mic...@gmail.com> wrote: > On Thu, May 18, 2017 at 9:50 AM, Mikael P. Sundqvist <mic...@gmail.com> wrote: >> Den 18 maj 2017 10:13 fm skrev "Otared Kavian" <ota...@gmail.com>: >> >> Hi Hans,

Re: [NTG-context] Position of prime for derivatives

2017-05-20 Thread Mikael P. Sundqvist
On Thu, May 18, 2017 at 9:50 AM, Mikael P. Sundqvist <mic...@gmail.com> wrote: > Den 18 maj 2017 10:13 fm skrev "Otared Kavian" <ota...@gmail.com>: > > Hi Hans, > > Thanks for your explanations. > When using constructions such as $f’’_2(x)$, I will adap

Re: [NTG-context] Position of prime for derivatives

2017-05-23 Thread Mikael P. Sundqvist
t; Am 22.05.2017 um 09:50 schrieb Otared Kavian <ota...@gmail.com>: > > Hi Mikael, > > You are correct, the position of \prime depends on whether there is a next > character or not after it, and it seems that this has an effect on its > position for characters having a subscri

Re: [NTG-context] Position of prime for derivatives

2017-05-21 Thread Mikael P. Sundqvist
On Sat, May 20, 2017 at 7:32 PM, Mikael P. Sundqvist <mic...@gmail.com> wrote: > On Sat, May 20, 2017 at 3:33 PM, Mikael P. Sundqvist <mic...@gmail.com> wrote: >> On Thu, May 18, 2017 at 9:50 AM, Mikael P. Sundqvist <mic...@gmail.com> >> wrote: >>> Den

Re: [NTG-context] Position of prime for derivatives

2017-05-22 Thread Mikael P. Sundqvist
sfying (in my opinion…). > > The turn around consisting in using $f^{‘’}$ or $f^{\prime\prime}$, or even > $f^{{}^{\prime\prime}}$, is not really satisfying either. > > But I think (or I hope that) at some point Hans will fix it in mkiv. > > Best regards: OK > >> On 21 May 20

Re: [NTG-context] whitespace before/after \startformula…\stopformula

2017-05-29 Thread Mikael P. Sundqvist
Den 29 maj 2017 6:13 em skrev "Alan Bowen" : How does one control/suppress the whitespace before and after \startformula…\stopformula? Alan ___ If your question is of interest to others as

[NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mikael P. Sundqvist
Hi! Now that the bug with primes is fixed in ConTeXt, I wonder if there is a way to change the kerning between certain characters in mathematics (in case one is not happy with the output from the font)? After reading in fonts-mkiv.pdf this is what I came up with: \startluacode

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mikael P. Sundqvist
; \loadfontgoodies[cambriaown-math] > \definefontsynonym[\s!MathRoman][Cambria-Math] > > [\s!features={\s!math\mathsizesuffix},\s!designsize=\s!auto,\s!goodies=cambriaown-math] > \stoptypescript > > I hope this helps! > > Best > Ma

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mikael P. Sundqvist
On Fri, Jun 2, 2017 at 1:39 PM, Mikael P. Sundqvist <mic...@gmail.com> wrote: > On Fri, Jun 2, 2017 at 11:39 AM, Mathias Schickel > <m...@fa.uni-tuebingen.de> wrote: >> Hi Mikael, >> >> math fonts are a bit different from text fonts. This means that you need

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mikael P. Sundqvist
On Fri, Jun 2, 2017 at 5:56 PM, Hans Hagen <pra...@wxs.nl> wrote: > On 6/2/2017 5:08 PM, Mikael P. Sundqvist wrote: > >> Is there also a similar way to use the "kernpairs" instead of "kerns"? >> I get no effect, even after adding force = true and

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mikael P. Sundqvist
On Fri, Jun 2, 2017 at 4:24 PM, Hans Hagen <pra...@wxs.nl> wrote: > On 6/2/2017 10:59 AM, Mikael P. Sundqvist wrote: >> >> Hi! >> >> Now that the bug with primes is fixed in ConTeXt, I wonder if there is >> a way to change the kerning between certain ch

[NTG-context] align inner items vertically

2017-06-03 Thread Mikael P. Sundqvist
Hi, is it possible to align the inner itemgroup vertically with the outer enumeration, even if there is a "big" math expression? See the example below (where I have made the enumeration serried, just to see the _vertical_ misalignment better)? I think I miss something simple, but looking in

Re: [NTG-context] mathradical defaults to "normal", should it perhaps be "default"?

2017-06-07 Thread Mikael P. Sundqvist
On Wed, Jun 7, 2017 at 7:31 PM, Hans Hagen <pra...@wxs.nl> wrote: > On 6/7/2017 4:50 PM, Mikael P. Sundqvist wrote: >> >> On Mon, Jun 5, 2017 at 10:24 AM, Mikael P. Sundqvist <mic...@gmail.com> >> wrote: >>> >>> Hi, >>> >>> thi

Re: [NTG-context] Position of prime for derivatives

2017-06-07 Thread Mikael P. Sundqvist
On Wed, Jun 7, 2017 at 9:57 PM, Mikael P. Sundqvist <mic...@gmail.com> wrote: > On Mon, Jun 5, 2017 at 11:00 PM, Hans Hagen <pra...@wxs.nl> wrote: >> On 6/4/2017 11:06 PM, Otared Kavian wrote: >>> >>> Hi Mikael, >>> >>> Indeed your

Re: [NTG-context] Position of prime for derivatives

2017-06-07 Thread Mikael P. Sundqvist
On Mon, Jun 5, 2017 at 11:00 PM, Hans Hagen wrote: > On 6/4/2017 11:06 PM, Otared Kavian wrote: >> >> Hi Mikael, >> >> Indeed your observation is correct, but using \over instead of \frac >> yields the correct behavior. Please try the following sample: >> >> %%% begin

Re: [NTG-context] Position of prime for derivatives

2017-06-08 Thread Mikael P. Sundqvist
On Thu, Jun 8, 2017 at 10:42 AM, luigi scarso <luigi.sca...@gmail.com> wrote: > On Thu, Jun 8, 2017 at 10:39 AM, Mikael P. Sundqvist <mic...@gmail.com> wrote: >> I get the same error with revision 6349 from >> https://serveur-svn.lri.fr/svn/modhel/luatex/branches/e

Re: [NTG-context] Position of prime for derivatives

2017-06-04 Thread Mikael P. Sundqvist
On Thu, May 25, 2017 at 8:05 PM, Mathias Schickel <m...@fa.uni-tuebingen.de> wrote: > >> Am 25.05.2017 um 18:59 schrieb Mikael P. Sundqvist <mic...@gmail.com>: >> >> On Tue, May 23, 2017 at 5:02 PM, Mikael P. Sundqvist <mic...@gmail.com> >> wrote:

Re: [NTG-context] align inner items vertically

2017-06-05 Thread Mikael P. Sundqvist
On Sun, Jun 4, 2017 at 3:23 PM, Hans Hagen <pra...@wxs.nl> wrote: > On 6/3/2017 6:11 PM, Mikael P. Sundqvist wrote: >> >> Hi, >> >> is it possible to align the inner itemgroup vertically with the outer >> enumeration, even if there is a "big" math e

[NTG-context] mathradical defaults to "normal", should it perhaps be "default"?

2017-06-05 Thread Mikael P. Sundqvist
Hi, this might be a matter of taste. look at the output of (attached). In my opinion the first square root is to "high", while it looks better on the second line. From setup-en.pdf it looks like the default of \setupmathradical is set to normal (and not default). I don't understand what normal

Re: [NTG-context] mathradical defaults to "normal", should it perhaps be "default"?

2017-06-07 Thread Mikael P. Sundqvist
On Mon, Jun 5, 2017 at 10:24 AM, Mikael P. Sundqvist <mic...@gmail.com> wrote: > Hi, > > this might be a matter of taste. > > look at the output of (attached). In my opinion the first square root > is to "high", while it looks better on the second line.

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

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

2017-06-12 Thread Mikael P. Sundqvist
On Mon, Jun 12, 2017 at 12:32 PM, Mathias Schickel wrote: > Dear Hans, > > the newest beta (I have updated some hours ago) contains again some bugs > regarding the size and placement of primes. You can verify that by using the > following minimal example (created to

Re: [NTG-context] Position of prime for derivatives

2017-05-25 Thread Mikael P. Sundqvist
On Tue, May 23, 2017 at 5:02 PM, Mikael P. Sundqvist <mic...@gmail.com> wrote: > On Tue, May 23, 2017 at 11:58 AM, Mathias Schickel > <m...@fa.uni-tuebingen.de> wrote: >> Hi Mikael and Otared, >> >> I can confirm issues regarding primes, too. If you

[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

[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

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

[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] 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] 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] 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] >>

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] 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] 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] 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] 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] >

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 >&

[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] 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] 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] 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

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

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

[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

[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] 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] 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] 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] 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] 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] 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

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

[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

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. >

[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] 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] 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] 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}

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

[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

[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] \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] 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:

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

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

[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] 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] \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] 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] 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

<    1   2   3   4   >