Re: [NTG-context] developer not verified error

2019-11-16 Thread Glen Helman
There seems to be a way around this built into Catalina, however awkward it may 
be.

I tried to install lmtx on a computer running Catalina that didn’t have an 
installation and received a similar error. (There seems to be a quarantine 
applying to the text of the script and not merely the file because I tried 
creating a new document with the same text and received the same response, and 
that response referred to the download of the original file.)

I did find that the “general” tab under “security & privacy” in the system 
preferences had, in addition to the usual two choices, a reference to the 
downloaded script with a button reading “allow anyway” (or something to that 
effect). When I tried to run the script again after clicking that button, the 
“developer cannot  be verified” dialogue included “open” as a choice; and, when 
I clicked that, the script ran successfully and the installation was usable.

I then tried the install script on another computer running Cataline where I 
had installed lmtx last spring. I ran into the “developer cannot be verified” 
response again, but the same workaround allowed the script to run, and the 
installation was updated.

Glen Helman

On Nov 15, 2019, at 4:36 PM, Alan Bowen 
mailto:bowenala...@gmail.com>> wrote:

Though I was able to download the latest ConTeXt beta without any problems, my 
attempt to update my ConText-LMTX installation was blocked. The error message 
was

“mtxrun” cannot be opened because the developer cannot be verified
macOS cannot verify that this app is free from malware.
Safari downloaded this file on April 29, 2019.

 I am not sure why this is happening and wonder if it would OK to copy mxtrun 
from my ConTeXt installation and replace the version in my ConTeXt-LMTX 
installation with it.

Alan
___
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] developer not verified error

2019-11-16 Thread Mojca Miklavec
Dear Alan,

On Fri, 15 Nov 2019 at 22:37, Alan Bowen  wrote:
>
> Though I was able to download the latest ConTeXt beta without any problems, 
> my attempt to update my ConText-LMTX installation was blocked. The error 
> message was
>
> “mtxrun” cannot be opened because the developer cannot be verified
>
> macOS cannot verify that this app is free from malware.
>
> Safari downloaded this file on April 29, 2019.

Thanks a lot for the report, but I'm tripple-confused now.

First I thought that we would have troubles with the binaries as soon
as GateKeeper was introduced (not sure which macOS version started
causing troubles), but somehow there were none, which at least came as
a pleasant surprise to me. Maybe this has to do with the fact that
anything running inside Terminal has somewhat higher permissions than
regular app bundles. (I know that Audacity doesn't allow recording
unless you run it from the Terminal, for example.)

What confuses me most though is how the beta can work, while lmtx
doesn't. I have an impression that when you download something with
Safari as opposed to downloading with rsync, Safari simply "attaches"
something to the files automatically, marking them as "unsafe", and
unzipping doesn't really help either.

The difference between the usual context distribution and lmtx is that
lmtx usually starts by downloading it from the web (and also
transferring everything in a different way).

>  I am not sure why this is happening and wonder if it would OK to copy mxtrun 
> from my ConTeXt installation and replace the version in my ConTeXt-LMTX 
> installation with it.

I didn't look closely, but if mtxrun is just a symlink to luametatex,
can you maybe try to run

rsync -av \
rsync://contextgarden.net/builds/luametatex/x86_64-darwinlegacy/luametatex \
some/local/path/luametatex

to fetch luametatex and try to use that one? (You may try to make
mtxrun a symlink to it, or its copy.)

I'm curious if that will work. I don't yet dare to upgrade to Catalina
(in some ways the OS is worse with each new version).

If it doesn't work, we'll need to figure out how exactly to do the
notarisation (including paying 100 USD per year, which sounds stupid
enough from principle alone), and in any case we need to find a way to
make lmtx work for everyone.

Mojca
___
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] Text and tree side by side in a framedtext environment

2019-11-16 Thread Fabrice Couvreur
Hello,
I want to use a text frame to put text and a probability tree side by side,
but it does not work.
Thanks for your help.
Fabrice

\usemodule[tikz]
\usetikzlibrary[trees]

\definefloat
[recipe]
[figure]

  \setupfloat
[recipe]
[default={right,nonumber}]
\starttext
\startframedtext[width=\textwidth]
  \placerecipe{}{
\hbox{
  \starttikzpicture
[level 1/.style={level distance=20mm,sibling distance=15mm},
 level 2/.style={level distance=20mm,sibling distance=10mm}]
\node{}[grow=right]
  child {node{\tfxx Réglisse}
child{node{\tfxx Réglisse}edge from parent
node[below=2pt]{\dots}}
child{node{\tfxx Fraise}edge from parent
node[above=2pt]{\dots}
} edge from parent node[below=2pt]{\dots}}
  child {node{\tfxx Fraise}
child{node{\tfxx Réglisse}edge from parent
node[below=2pt]{\dots}}
child{node{\tfxx Fraise}edge from parent
node[above=2pt]{\dots}} edge from parent node[above=2pt]{\dots}};
  \stoptikzpicture
}
  }
  \dorecurse{2}{\input knuth}
\stopframedtext
\blank
  \placerecipe{}{
\hbox{
  \starttikzpicture
[level 1/.style={level distance=20mm,sibling distance=15mm},
 level 2/.style={level distance=20mm,sibling distance=10mm}]
\node{}[grow=right]
  child {node{\tfxx Réglisse}
child{node{\tfxx Réglisse}edge from parent
node[below=2pt]{\dots}}
child{node{\tfxx Fraise}edge from parent
node[above=2pt]{\dots}
} edge from parent node[below=2pt]{\dots}}
  child {node{\tfxx Fraise}
child{node{\tfxx Réglisse}edge from parent
node[below=2pt]{\dots}}
child{node{\tfxx Fraise}edge from parent
node[above=2pt]{\dots}} edge from parent node[above=2pt]{\dots}};
  \stoptikzpicture
}
  }
  \dorecurse{2}{\input knuth}
\stoptext
___
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] developer not verified error

2019-11-16 Thread Otared Kavian
Hi Alan,

I don't know on which MacOS you are, but I am on MacOS 10.14.6, and never had 
such an issue with my installations of ConTeXt. I looked into my options of the 
so-called Gatekeeper on my machine, and remembered that I have done the 
following:

go to Apple menu -> Preferences -> Security & Privacy
on the Security & Privacy, choose the tab General
there choose, towards the bottom of that pane, under « Allow apps 
downloaded from: » choose  the radio button App Store and identified 
developpers.

Once this is done in principle you should be able to run the scripts install.sh 
or first-setup.sh and then run lmtx or context.

Best regards: OK


> On 15 Nov 2019, at 22:36, Alan Bowen  wrote:
> 
> Though I was able to download the latest ConTeXt beta without any problems, 
> my attempt to update my ConText-LMTX installation was blocked. The error 
> message was
> 
> “mtxrun” cannot be opened because the developer cannot be verified
> macOS cannot verify that this app is free from malware.
> Safari downloaded this file on April 29, 2019.
> 
>  I am not sure why this is happening and wonder if it would OK to copy mxtrun 
> from my ConTeXt installation and replace the version in my ConTeXt-LMTX 
> installation with it.
> 
> Alan
> ___
> 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] fatal error: there is no valid writable cache path

2019-11-16 Thread Damien Thiriet
Hello,


Thanks for those precisions regarding whiping the cache.
For the sake of future debugging, which mtxrun option 
should I run to check what is the cache-path in my personal
account, having a system-wide install?


Regards,

Damien Thiriet
___
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] developer not verified error

2019-11-16 Thread Hans Hagen

On 11/15/2019 10:36 PM, Alan Bowen wrote:
Though I was able to download the latest ConTeXt beta without any 
problems, my attempt to update my ConText-LMTX installation was blocked. 
The error message was


*“mtxrun” cannot be opened because the developer cannot be verified*

macOS cannot verify that this app is free from malware.

Safari downloaded this file on April 29, 2019.


I am not sure why this is happening and wonder if it would OK to copy 
mxtrun from my ConTeXt installation and replace the version in my 
ConTeXt-LMTX installation with it.
mtxrun in lmtx is just a copy of or link to luametatex and then runs a 
script with the same name


so basically the apple issue is that they don't see luametatex as 
something valid .. not much i can do about it (can you tell the system 
that it is an ok program?)


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] fatal error: there is no valid writable cache path defined

2019-11-16 Thread Hans Hagen

On 11/15/2019 9:20 PM, Damien Thiriet wrote:

Hi,


I ran into trouble with caches. First I updated the new binaries
and they compiled fine under OpenBSD6.6-amd64.
Then I uploaded some binaries Hans asked me to test, moved this
luametatex to /usr/local/context/tex/texmf-openbsd6.6-amd64/bin/,
deleted files inside /usr/local/context/tex/texmf-cache (but not
texmf-cache itself, since I understand whipe as cleaning inside it)
and ran mtx-run --generate then context --auto.
When I tried afterwards to compile those new binaries, I get this
error

This is LuaMetaTeX, Version 2.01.0

resolvers   > caches > fatal error: there is no valid writable cache
path defined

Running mtx-run --generate on my user account did not solve the problem.
I certainly did something wrong.
I tried to revert to the standard lmtx binaries running install.sh
but those errors are still here.

there has to be a texmf-cache path, you only wipe what is below that

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] Cross references to column numbers

2019-11-16 Thread Hans Hagen

On 11/15/2019 8:22 PM, Pablo Rodriguez wrote:

On 11/15/19 3:44 PM, Oliver von Criegern wrote:

Could someone please take a look at this?

Am 12.11.19 um 13:02 schrieb Oliver von Criegern:

[...]
As you will see, targets A, B and C are all in the first column, and
targets D, E and F are all in the second column. But the references
read as follows:


Hi Oliver,

with latest beta from 2019.11.14 17:07 (and even the previous one),
references read:

 A: page 1, column 1, line 29.
 B: page 1, column 1, line 29.
 C: page 1, column 1, line 29.
 D: page 1, column 2, line 14.
 E: page 1, column 2, line 14.
 F: page 1, column 2, line 14.

I think your issue has been fixed. Or what is wrong there?

different implementation

(taco's solution is for the older method, but that method is a bit 
sensitive for different r/l layouts)


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
___