[NTG-context] Unicode math input in LMTX

2020-10-29 Thread Sylvain Hubert
Hi all,

Does anyone know if it is possible to input unicode in math formulas in
LMTX with the help of something similar to unicode-math in LaTeX?

Best,
Sylvain
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Sylvain Hubert
Hi,

sorry if this is not the best place to file a bug but I found no working
bug tracker for context.

Environment:
Manjaro 20.1.2, context 2020.09.20 23:02, firefox 82.0

Step to reproduce:
1. `firefox --safe-mode  # start firefox without add-ons`
2.a`context --version  # or --help, or without arguments`
2.b or: `mtxrun --script font --list --all`

Expected behavior:
Nothing surprising should happen.

Actual behavior:
Firefox suddenly eats 100% of cpu

I've noticed that `context` symlinks to `luametatex`, but the latter itself
does not trigger the bug, neither do `luatex` or `latex`, so I believe this
is a context-specific thing.

Best,
Sylvain
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Taco Hoekwater


> On 29 Oct 2020, at 11:29, Sylvain Hubert  wrote:
> 
> Hi,
> 
> sorry if this is not the best place to file a bug but I found no working bug 
> tracker for context.

Should you not be looking for a bug tracker for firefox instead?

It looks like firefox in safe mode is perhaps trying to do something with (or 
waiting for ?) a shell command called ‘context’, which is presumably not 
related to ‘our’ ConTeXt.

You can test that by (temporarily) redirecting the ‘context’ command from 
‘luametatex’ to ‘ls’ (but keep it at the same path), and see if the problem 
persists. If so, then it is the actual name giving problems, and then can you 
should file a firefox bug report because then it has nothing to do with ConText 
itself.

But even if the above is not the actual issue, it still sounds like a firefox 
problem to me.

Best wishes,
Taco

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Sylvain Hubert
Hi Taco,

thanks for the suggestions, but as mentioned earlier, `mtxrun --script font
--list --all` triggers the same problem as `context` does.
I guess the problem might have something to do with fonts, but since
`context` aka `luametatex` is not open source yet, I can't analyse further.

Best,
Sylvain

On Thu, 29 Oct 2020 at 12:02, Taco Hoekwater  wrote:

>
>
> > On 29 Oct 2020, at 11:29, Sylvain Hubert  wrote:
> >
> > Hi,
> >
> > sorry if this is not the best place to file a bug but I found no working
> bug tracker for context.
>
> Should you not be looking for a bug tracker for firefox instead?
>
> It looks like firefox in safe mode is perhaps trying to do something with
> (or waiting for ?) a shell command called ‘context’, which is presumably
> not related to ‘our’ ConTeXt.
>
> You can test that by (temporarily) redirecting the ‘context’ command from
> ‘luametatex’ to ‘ls’ (but keep it at the same path), and see if the problem
> persists. If so, then it is the actual name giving problems, and then can
> you should file a firefox bug report because then it has nothing to do with
> ConText itself.
>
> But even if the above is not the actual issue, it still sounds like a
> firefox problem to me.
>
> Best wishes,
> Taco
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Sylvain Hubert
And using safe mode here is just to make sure that the problem is not
caused by extensions.
The annoyance started long before I bothered opening firefox with an extra
argument.

On Thu, 29 Oct 2020 at 12:02, Taco Hoekwater  wrote:

>
>
> > On 29 Oct 2020, at 11:29, Sylvain Hubert  wrote:
> >
> > Hi,
> >
> > sorry if this is not the best place to file a bug but I found no working
> bug tracker for context.
>
> Should you not be looking for a bug tracker for firefox instead?
>
> It looks like firefox in safe mode is perhaps trying to do something with
> (or waiting for ?) a shell command called ‘context’, which is presumably
> not related to ‘our’ ConTeXt.
>
> You can test that by (temporarily) redirecting the ‘context’ command from
> ‘luametatex’ to ‘ls’ (but keep it at the same path), and see if the problem
> persists. If so, then it is the actual name giving problems, and then can
> you should file a firefox bug report because then it has nothing to do with
> ConText itself.
>
> But even if the above is not the actual issue, it still sounds like a
> firefox problem to me.
>
> Best wishes,
> Taco
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Sylvain Hubert
Update: `mtxrun --script   # without more arguments` triggers the same
problem.

On Thu, 29 Oct 2020 at 12:02, Taco Hoekwater  wrote:

>
>
> > On 29 Oct 2020, at 11:29, Sylvain Hubert  wrote:
> >
> > Hi,
> >
> > sorry if this is not the best place to file a bug but I found no working
> bug tracker for context.
>
> Should you not be looking for a bug tracker for firefox instead?
>
> It looks like firefox in safe mode is perhaps trying to do something with
> (or waiting for ?) a shell command called ‘context’, which is presumably
> not related to ‘our’ ConTeXt.
>
> You can test that by (temporarily) redirecting the ‘context’ command from
> ‘luametatex’ to ‘ls’ (but keep it at the same path), and see if the problem
> persists. If so, then it is the actual name giving problems, and then can
> you should file a firefox bug report because then it has nothing to do with
> ConText itself.
>
> But even if the above is not the actual issue, it still sounds like a
> firefox problem to me.
>
> Best wishes,
> Taco
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Taco Hoekwater


> On 29 Oct 2020, at 12:19, Sylvain Hubert  wrote:
> 
> And using safe mode here is just to make sure that the problem is not caused 
> by extensions.
> The annoyance started long before I bothered opening firefox with an extra 
> argument.

I am baffled then. I do not see the connection, at all. 

Best wishes,
Taco

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Sylvain Hubert
I've just tried chromium which behaves a bit better but still experiences a
sudden raise of cpu usage from <10% to >70% during ~1s.
I've also noticed that, even without any browser running, each time after I
compile a file with `context`, my terminal get stuck for ~1s.
So I'm pretty sure this is a context bug, probably caused by unnecessary
excessive disk operations or something.

On Thu, 29 Oct 2020 at 12:33, Taco Hoekwater  wrote:

>
>
> > On 29 Oct 2020, at 12:19, Sylvain Hubert  wrote:
> >
> > And using safe mode here is just to make sure that the problem is not
> caused by extensions.
> > The annoyance started long before I bothered opening firefox with an
> extra argument.
>
> I am baffled then. I do not see the connection, at all.
>
> Best wishes,
> Taco
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Asymmetrical Column layout leads to an extra blank page

2020-10-29 Thread Ramkumar KB
Hello All,

I am new to this community and am really excited about the possibilities
with ConTeXt.

My question is related to the thread -
https://www.mail-archive.com/ntg-context@ntg.nl/msg92767.html (the
suggested solution did not work, unfortunately)

After trying out various options, I am faced with these 2 (sub-optimal)
choices -

   1. Extra Blank page with Asymmetric Columns in the next page (with the
   \subject{} uncommented)
   2. No Blank page with Symmetric Columns (with the \subject{} commented)
   3. page=yes / no - does not work (same outcome as above)

I am not sure the role of \section or \subject in this matter (seems to be
somehow interfering with asymmetrical columnset).

\usemodule[newcolumnsets]
...

% \subject{} \definecolumnset[soi1][n=3, distance=3mm, page=yes]
% \definecolumnset[currency][n=3, page=yes]
\setupcolumnset[soi1:1][width=.25\makeupwidth]
\setupcolumnset[soi1:2][width=.30\makeupwidth]
\setupcolumnset[soi1:3][width=.45\makeupwidth]

Any tips, help or pointers would be greatly appreciated. If not for
columnset, is there any other way to get this type of layout?

Thank you,
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Unicode math input in LMTX

2020-10-29 Thread Hans Hagen

On 10/29/2020 11:27 AM, Sylvain Hubert wrote:

Hi all,

Does anyone know if it is possible to input unicode in math formulas in 
LMTX with the help of something similar to unicode-math in LaTeX?
I don't know what unicode-math does but using unicode math code points 
should normally work ok in context.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Taco Hoekwater


> On 29 Oct 2020, at 12:44, Sylvain Hubert  wrote:
> 
> I've just tried chromium which behaves a bit better but still experiences a 
> sudden raise of cpu usage from <10% to >70% during ~1s.
> I've also noticed that, even without any browser running, each time after I 
> compile a file with `context`, my terminal get stuck for ~1s.
> So I'm pretty sure this is a context bug, probably caused by unnecessary 
> excessive disk operations or something.

But it seems to be a big problem only on your machine. What hardware are you 
running on? Is it a Raspberry PI?

Like any TeX-related program, ConTeXt does a fair bit of disk access while 
starting up, but I haven’t heard of that being an actual problem since the age 
of single-core CPUs. And it certainly should not have an effect on the CPU 
usage of any other program (it could affect system responsiveness, though).

Best wishes,
Taco




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Sylvain Hubert
> But it seems to be a big problem only on your machine
I fail to see what this implies.

> What hardware are you running on? Is it a Raspberry PI?
No, it's Core i5 + 8G ram + ssd.

> Like any TeX-related program, ConTeXt does a fair bit of disk access
while starting up.
But none of the other TeX-related programs causes such a problem here.

> And it certainly should not have an effect on the CPU usage of any other
program.
Indeed it should not have such an effect, so it failed to avoid what I
should have avoided, and that's why it's a bug to be discovered and
eliminated.

On Thu, 29 Oct 2020 at 13:56, Taco Hoekwater  wrote:

>
>
> > On 29 Oct 2020, at 12:44, Sylvain Hubert  wrote:
> >
> > I've just tried chromium which behaves a bit better but still
> experiences a sudden raise of cpu usage from <10% to >70% during ~1s.
> > I've also noticed that, even without any browser running, each time
> after I compile a file with `context`, my terminal get stuck for ~1s.
> > So I'm pretty sure this is a context bug, probably caused by unnecessary
> excessive disk operations or something.
>
> But it seems to be a big problem only on your machine. What hardware are
> you running on? Is it a Raspberry PI?
>
> Like any TeX-related program, ConTeXt does a fair bit of disk access while
> starting up, but I haven’t heard of that being an actual problem since the
> age of single-core CPUs. And it certainly should not have an effect on the
> CPU usage of any other program (it could affect system responsiveness,
> though).
>
> Best wishes,
> Taco
>
>
>
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Sylvain Hubert
I would consider it more constructive to admit the existence of the bug and
find a way look into the source code of luametatex, since `context --help`
is obviously not a terribly complicated routine to investigate.

On Thu, 29 Oct 2020 at 13:56, Taco Hoekwater  wrote:

>
>
> > On 29 Oct 2020, at 12:44, Sylvain Hubert  wrote:
> >
> > I've just tried chromium which behaves a bit better but still
> experiences a sudden raise of cpu usage from <10% to >70% during ~1s.
> > I've also noticed that, even without any browser running, each time
> after I compile a file with `context`, my terminal get stuck for ~1s.
> > So I'm pretty sure this is a context bug, probably caused by unnecessary
> excessive disk operations or something.
>
> But it seems to be a big problem only on your machine. What hardware are
> you running on? Is it a Raspberry PI?
>
> Like any TeX-related program, ConTeXt does a fair bit of disk access while
> starting up, but I haven’t heard of that being an actual problem since the
> age of single-core CPUs. And it certainly should not have an effect on the
> CPU usage of any other program (it could affect system responsiveness,
> though).
>
> Best wishes,
> Taco
>
>
>
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Hans Hagen

On 10/29/2020 3:18 PM, Sylvain Hubert wrote:
I would consider it more constructive to admit the existence of the bug 
and find a way look into the source code of luametatex, since `context 
--help` is obviously not a terribly complicated routine to investigate.
As taco mentioned, it's very unlikely an engine issue esp as firefox is 
somehow involved. A tex engine really does nothing special; just openign 
a few files.


What is your test file?

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Unicode math input in LMTX

2020-10-29 Thread Aditya Mahajan
On Thu, 29 Oct 2020, Sylvain Hubert wrote:

> Hi all,
> 
> Does anyone know if it is possible to input unicode in math formulas in
> LMTX with the help of something similar to unicode-math in LaTeX?

You don't need any latex package. Simply inputing unicode math should work out 
of the box. 

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Taco Hoekwater


> On 29 Oct 2020, at 15:14, Sylvain Hubert  wrote:
> 
> > But it seems to be a big problem only on your machine
> I fail to see what this implies.

The point is that if this was a common problem, many users would complain or at 
least respond to your message with a “me too”. So it seems likely that there is 
something special going on with exactly your computer or your context 
installation.

What binary are you using for luametatex ? The normal linux 64-bit one from the 
lmtx distribution?

Best wishes,
Taco



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Aditya Mahajan
On Thu, 29 Oct 2020, Sylvain Hubert wrote:

> Hi,
> 
> sorry if this is not the best place to file a bug but I found no working
> bug tracker for context.
> 
> Environment:
> Manjaro 20.1.2, context 2020.09.20 23:02, firefox 82.0
> 
> Step to reproduce:
> 1. `firefox --safe-mode  # start firefox without add-ons`
> 2.a`context --version  # or --help, or without arguments`
> 2.b or: `mtxrun --script font --list --all`
> 
> Expected behavior:
> Nothing surprising should happen.
> 
> Actual behavior:
> Firefox suddenly eats 100% of cpu

I cannot reproduce this behavior (I am on manjaro but using firefox 81 rather 
than 82). My environment:

$uname -a
Linux hostname 5.4.67-1-MANJARO #1 SMP PREEMPT Wed Sep 23 14:20:18 UTC 2020 
x86_64 GNU/Linux

$firefox --version
Mozilla Firefox 81.0

$context --version
mtx-context | ConTeXt Process Management 1.03
mtx-context |
mtx-context | main context file: 
/opt/luametatex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2020.09.15 18:11
mtx-context | main context file: 
/opt/luametatex/texmf-context/tex/context/base/mkiv/context.mkxl
mtx-context | current version: 2020.09.15 18:11

I followed your steps:
1. start `firefox --safe-mode`
2. On a different terminal, open htop and filter `firefox` so I can view 
firefox's CPU usage.
3. Run `mtxrun --script font --list --all`

The CPU usage of firefox does not change in any appreciable way (it was 0% and 
remains 0%). 

It is possible for you to check on a fresh install of manjaro in a virtual 
machine to rule out the possibility that something else in your system is 
causing this behavior. 

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Sylvain Hubert
> So it seems likely that there is something special going on with exactly
your computer or your context installation.
Still, I fail to see what this implies. In particular, I find it not the
most professional to assume a dust-proof environment for a real-world
product, and even unreasonable to assume that for something like `context
--help` given that no other commands are making a scene when printing help
messages.

What binary are you using for luametatex ? The normal linux 64-bit one from
the lmtx distribution?
Yes, it is.

On Thu, 29 Oct 2020 at 16:43, Taco Hoekwater  wrote:

>
>
> > On 29 Oct 2020, at 15:14, Sylvain Hubert  wrote:
> >
> > > But it seems to be a big problem only on your machine
> > I fail to see what this implies.
>
> The point is that if this was a common problem, many users would complain
> or at least respond to your message with a “me too”. So it seems likely
> that there is something special going on with exactly your computer or your
> context installation.
>
> What binary are you using for luametatex ? The normal linux 64-bit one
> from the lmtx distribution?
>
> Best wishes,
> Taco
>
>
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Sylvain Hubert
Hi aditya,

> It is possible for you to check on a fresh install of manjaro in a
virtual machine to rule out the possibility that something else in your
system is causing this behavior.
I remember trying context while browsing the wiki before so it should work
normally in a brand new environment, but I don't think it's reasonable to
install a brand new distro just to make sure that 'context --help' can work
normally, no matter how problematic the current distro is, as long as it
does not prevent commands from displaying help messages.

On Thu, 29 Oct 2020 at 16:50, Aditya Mahajan  wrote:

> On Thu, 29 Oct 2020, Sylvain Hubert wrote:
>
> > Hi,
> >
> > sorry if this is not the best place to file a bug but I found no working
> > bug tracker for context.
> >
> > Environment:
> > Manjaro 20.1.2, context 2020.09.20 23:02, firefox 82.0
> >
> > Step to reproduce:
> > 1. `firefox --safe-mode  # start firefox without add-ons`
> > 2.a`context --version  # or --help, or without arguments`
> > 2.b or: `mtxrun --script font --list --all`
> >
> > Expected behavior:
> > Nothing surprising should happen.
> >
> > Actual behavior:
> > Firefox suddenly eats 100% of cpu
>
> I cannot reproduce this behavior (I am on manjaro but using firefox 81
> rather than 82). My environment:
>
> $uname -a
> Linux hostname 5.4.67-1-MANJARO #1 SMP PREEMPT Wed Sep 23 14:20:18 UTC
> 2020 x86_64 GNU/Linux
>
> $firefox --version
> Mozilla Firefox 81.0
>
> $context --version
> mtx-context | ConTeXt Process Management 1.03
> mtx-context |
> mtx-context | main context file:
> /opt/luametatex/texmf-context/tex/context/base/mkiv/context.mkiv
> mtx-context | current version: 2020.09.15 18:11
> mtx-context | main context file:
> /opt/luametatex/texmf-context/tex/context/base/mkiv/context.mkxl
> mtx-context | current version: 2020.09.15 18:11
>
> I followed your steps:
> 1. start `firefox --safe-mode`
> 2. On a different terminal, open htop and filter `firefox` so I can view
> firefox's CPU usage.
> 3. Run `mtxrun --script font --list --all`
>
> The CPU usage of firefox does not change in any appreciable way (it was 0%
> and remains 0%).
>
> It is possible for you to check on a fresh install of manjaro in a virtual
> machine to rule out the possibility that something else in your system is
> causing this behavior.
>
> Aditya
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Unicode math input in LMTX

2020-10-29 Thread Hans Åberg

> On 29 Oct 2020, at 16:36, Aditya Mahajan  wrote:
> 
> On Thu, 29 Oct 2020, Sylvain Hubert wrote:
> 
>> Hi all,
>> 
>> Does anyone know if it is possible to input unicode in math formulas in
>> LMTX with the help of something similar to unicode-math in LaTeX?
> 
> You don't need any latex package. Simply inputing unicode math should work 
> out of the box. 

Note that TeX translates normal (upright) letters into italics, whereas Unicode 
has special characters (code points) for the mathematical italics styles. If 
one wants to use those Unicode mathematical styles directly in the input for 
ConTeXt, one should add:
  \setupmathematics[lcgreek=normal, default=normal]


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Hans Hagen

On 10/29/2020 5:44 PM, Sylvain Hubert wrote:
So it seems likely that there is something special going on with exactly 

your computer or your context installation.
Still, I fail to see what this implies. In particular, I find it not the 
most professional to assume a dust-proof environment for a real-world 
product, and even unreasonable to assume that for something like 
`context --help` given that no other commands are making a scene when 
printing help messages.

So what does context --help show?

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] how to set overprint

2020-10-29 Thread Jano Kula
Hello,

whatever I try, I cannot get the overprinting right (checked in Output
Preview of Acrobat). Even overprint-001.tex from the test suite
(2020-09-19) doesn't seem to have it right (latest beta). What I'm missing
here?

\setupcolors[intent=overprint]
\startTEXpage[offset=10mm]
\framed[frame=on,offset=10mm,
background=color,backgroundcolor=darkgreen]{
% \startcolorintent[overprint]
\startoverprint
text in black
\stopoverprint
% \stopcolorintent
}
\stopTEXpage

Thank you,
Jano
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___