Re: [NTG-context] new upload

2021-08-30 Thread Hans Hagen via ntg-context

On 8/30/2021 7:27 PM, Rik Kabel via ntg-context wrote:
The corrected upload (2021.08.30 16:23) still has an issue. The 
--autopdf option results in:


╰─► context --autopdf test.tex
lua error : function call: 
...TX/tex/texmf-context/scripts/context/lua/mtx-context.lua:488: attempt 
to call a nil value (global 'filenewsuffix')


Without autopdf things work as expected.

ok. new upload

(the installer for windows arm64 should now work too, as i just tested 
it on the rpi 4 with windows 11)


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

2021-08-30 Thread Rik Kabel via ntg-context
The corrected upload (2021.08.30 16:23) still has an issue. The 
--autopdf option results in:


╰─► context --autopdf test.tex
lua error : function call: 
...TX/tex/texmf-context/scripts/context/lua/mtx-context.lua:488: attempt 
to call a nil value (global 'filenewsuffix')


Without autopdf things work as expected.

--
Rik

___
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] JavaScript controlled button appearance

2021-08-30 Thread Pablo Rodriguez via ntg-context
Dear list,

I have the following sample:

  \setupinteraction[state=start]
  \setupbodyfont[heros]
  \startJSpreamble varia used now
function SwitchFS() {
  app.fs.isFullScreen = !app.fs.isFullScreen;
}
  \stopJSpreamble

  \starttext
\startTEXpage[offset=10pt]
  \goto{fs}[JS(SwitchFS{})]
\stopTEXpage
  \stoptext

How can I get that the "fs" in the text is replaced with "x" when
JavaScript detects that the screen is in full screen mode?

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
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] new upload

2021-08-30 Thread Pablo Rodriguez via ntg-context
On 8/30/21 6:15 PM, mf via ntg-context wrote:
> There's a problem downloading lowlevel-alignments.pdf.
> Here's a slice of the log of install.sh:
> [...]
> mtx-install | added:   7 % :  199 :
> tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf
> mtx-install |
> tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf,
> try again later:
>
> After 5 unsuccessful trials to download the file, the updating process
> does not complete. The script ends without errors, but it's clear the
> update has failed.

I’m afraid I‘m experiencing exactly the same problem that Massi reported.

Just in case it may help,

Pablo
--
http://www.ousia.tk
___
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] new upload

2021-08-30 Thread mf via ntg-context

There's a problem downloading lowlevel-alignments.pdf.
Here's a slice of the log of install.sh:

mtx-install | updating tex/texmf, 1530 files
mtx-install | updating tex/texmf-context, 4130 files
mtx-install | changed  :   0 % :27550 : 
tex/texmf-context/context/data/scite/context/lexers/data/scite-context-data-context.lua
mtx-install | changed  :   1 % :15493 : 
tex/texmf-context/context/data/scite/context/lexers/data/scite-context-data-tex.lua
mtx-install | changed  :   1 % :23670 : 
tex/texmf-context/context/data/scite/context/scite-context-data-context.properties
mtx-install | changed  :   2 % :13061 : 
tex/texmf-context/context/data/scite/context/scite-context-data-tex.properties
mtx-install | changed  :   2 % :27550 : 
tex/texmf-context/context/data/textadept/context/data/scite-context-data-context.lua
mtx-install | changed  :   3 % :15493 : 
tex/texmf-context/context/data/textadept/context/data/scite-context-data-tex.lua
mtx-install | changed  :   3 % :   150521 : 
tex/texmf-context/context/data/vscode/extensions/context/syntaxes/context-syntax-tex.json
mtx-install | added:   7 % :  199 : 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf
mtx-install | 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf, 
trying again:
mtx-install | added:   7 % :  199 : 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf
mtx-install | 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf, 
trying again:
mtx-install | added:   7 % :  199 : 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf
mtx-install | 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf, 
trying again:
mtx-install | added:   7 % :  199 : 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf
mtx-install | 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf, 
trying again:
mtx-install | added:   7 % :  199 : 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf
mtx-install | 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf, 
try again later:


After 5 unsuccessful trials to download the file, the updating process 
does not complete. The script ends without errors, but it's clear the 
update has failed.


Massi


Il 30/08/21 16:30, Hans Hagen via ntg-context ha scritto:

Hi,

new in this upload are some features in tabulate (not all enabled yet), 
like


\starttabulate[|lG{.}|cG{,}|rG{=}|cG{x}|]
\NC 1.1 \NC 2,2 \NC 3=3 \NC a 0xFF   \NC \NR
\NC 11.11   \NC 22,22   \NC 33=33   \NC b 0xFFF  \NC \NR
\NC 111.111 \NC 222,222 \NC 333=333 \NC c 0x \NC \NR
\stoptabulate

\starttabulate[|lG{}|lG{}|]
\NC \showglyphs \setalignmentcharacter{.}1.1 \NC 
\setalignmentcharacter{.}1.1 \NC\NR
\NC \showglyphs \setalignmentcharacter{,}11,11   \NC 
\setalignmentcharacter{,}11,11   \NC\NR
\NC \showglyphs \setalignmentcharacter{=}111=111 \NC 
\setalignmentcharacter{=}111=111 \NC\NR

\stoptabulate

\starttabulate[|lG{.}|lG{}|]
\NC 1.1 \NC \setalignmentcharacter{.}1.1 \NC\NR
\NC 11.11   \NC \setalignmentcharacter{.}11.11   \NC\NR
\NC 111.111 \NC \setalignmentcharacter{.}111.111 \NC\NR
\stoptabulate

\starttabulate[|lG{.}|rG{.}|]
\NC foo.bar \NC foo.bar \NC \NR
\NC  oo.ba  \NC  oo.ba  \NC \NR
\NC   o.b   \NC   o.b   \NC \NR
\stoptabulate

\starttabulate[|cG{d}|]
\NC \smallcaps abcdefgh \NC \NR
\NC  xdy    \NC \NR
\NC \sl  xdy    \NC \NR
\NC \tttf    xdy    \NC \NR
\NC \tfd  d \NC \NR
\stoptabulate

The G option is like g but better so it sort of replaces it.

updated: lowlevel-expansion   (also discusses luametatex)
new    : lowlevel-alignments  (also discusses luametatex)

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
___ 


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

maillist : 

Re: [NTG-context] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread Rainer J.H. Brandt via ntg-context
Aditya Mahajan via ntg-context writes:
> On Mon, 30 Aug 2021, Rainer J.H. Brandt via ntg-context wrote:
> 
> > But, as I said, my texmf.cnf sets TEXMFCACHE to $TEXMFSYSVAR;$TEXMFVAR,
> > and TEXMFSYSVAR is /var/opt/texlive.  Why is that ignored?
> 
> mtxrun (and context MKIV and LMTX) do not read texmf.cnf rather read values 
> from contextcnf.lua (it used to be texmfcnf.lua, not sure how TL handles 
> this).

Thanks a lot.  That put me on the right track.  I see that this file is
mentioned on the wiki, but I hadn't recognized its importance.

I have found and edited texmfcnf.lua, and made progress.

> You can also try setting it explicitly in the shell:
> 
> $ TEXMFCACHE=/var/opt/texlive/texmf-cache mtxrun --generate

I tried to avoid that, and thanks to your pointer above, won't need that.

However, I'm still not completely happy:  I've set TEXMFCACHE to contain
/var/opt/texlive first and then also an individual directory under $HOME.
When I run context under my personal account, it only uses the second.
I assume that's because I may not write under the first.  There's a comment
in texmfcnf.lua about that.

Does it perhaps make no sense at all to have a system-wide luatex-cache?

Thank you,
Rainer
___
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] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread Rainer J.H. Brandt via ntg-context
Arthur Rosendahl writes:
> On Mon, Aug 30, 2021 at 12:48:05PM +0200, Rainer J.H. Brandt via ntg-context 
> wrote:
> > But, as I said, my texmf.cnf sets TEXMFCACHE to $TEXMFSYSVAR;$TEXMFVAR,
> > and TEXMFSYSVAR is /var/opt/texlive.  Why is that ignored?
> 
>   Do you have write permission on that directory?

Yes and no.  I'm trying to set up a multi-user environment, and
/var/opt/texlive is owned by the software owner.  Nobody else may write
there.  I ran "mtxrun --generate" while being that software owner.
(I'm used to doing it this way for other engines.)

I want to configure the system so that everybody may use contents from
TEXMFSYSVAR, but optionally uses an additional personal directory.

I don't know if this makes sense in the case of luatex-cache, but had
thought so.

Thanks, Rainer
___
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] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread luigi scarso via ntg-context
On Mon, Aug 30, 2021 at 12:48 PM Rainer J.H. Brandt via ntg-context <
ntg-context@ntg.nl> wrote:

> luigi scarso via ntg-context writes:
> > > > On Fri, Aug 27, 2021 at 10:35 AM Rainer J.H. Brandt via ntg-context <
> > > > ntg-context@ntg.nl> wrote:
> > > > > The TeXlive documentation says that ConTeXt uses TEXMFCACHE,
> > > > > which uses the default $TEXMFSYSVAR;$TEXMFVAR in my texmf.cnf.
> > > > > My TEXMFSYSVAR is /var/opt/texlive, but ConTeXt doesn't use it.
> > >
> > hm, my
> > $> mtxrun --variables
> > says
> > resolvers   | lists | TEXMFCACHE
> > resolvers   | lists |   env: unset
> > resolvers   | lists |   var: TEXMFCACHE
> > resolvers   | lists |   exp:
> > selfautoparent:texmf-var;home:.texlive2021/texmf-var
> >
> > and it's ok. So perhaps  your selfautoparent it's not ok.
>
> I will check that.
>
> But, as I said, my texmf.cnf sets TEXMFCACHE to $TEXMFSYSVAR;$TEXMFVAR,
> and TEXMFSYSVAR is /var/opt/texlive.  Why is that ignored?
>

look at
 texmfcnf.lua

-- 
luigi
___
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] new upload

2021-08-30 Thread Hans Hagen via ntg-context

Hi,

new in this upload are some features in tabulate (not all enabled yet), 
like


\starttabulate[|lG{.}|cG{,}|rG{=}|cG{x}|]
\NC 1.1 \NC 2,2 \NC 3=3 \NC a 0xFF   \NC \NR
\NC 11.11   \NC 22,22   \NC 33=33   \NC b 0xFFF  \NC \NR
\NC 111.111 \NC 222,222 \NC 333=333 \NC c 0x \NC \NR
\stoptabulate

\starttabulate[|lG{}|lG{}|]
\NC \showglyphs \setalignmentcharacter{.}1.1 \NC 
\setalignmentcharacter{.}1.1 \NC\NR
\NC \showglyphs \setalignmentcharacter{,}11,11   \NC 
\setalignmentcharacter{,}11,11   \NC\NR
\NC \showglyphs \setalignmentcharacter{=}111=111 \NC 
\setalignmentcharacter{=}111=111 \NC\NR

\stoptabulate

\starttabulate[|lG{.}|lG{}|]
\NC 1.1 \NC \setalignmentcharacter{.}1.1 \NC\NR
\NC 11.11   \NC \setalignmentcharacter{.}11.11   \NC\NR
\NC 111.111 \NC \setalignmentcharacter{.}111.111 \NC\NR
\stoptabulate

\starttabulate[|lG{.}|rG{.}|]
\NC foo.bar \NC foo.bar \NC \NR
\NC  oo.ba  \NC  oo.ba  \NC \NR
\NC   o.b   \NC   o.b   \NC \NR
\stoptabulate

\starttabulate[|cG{d}|]
\NC \smallcaps abcdefgh \NC \NR
\NC  xdy\NC \NR
\NC \sl  xdy\NC \NR
\NC \tttfxdy\NC \NR
\NC \tfd  d \NC \NR
\stoptabulate

The G option is like g but better so it sort of replaces it.

updated: lowlevel-expansion   (also discusses luametatex)
new: lowlevel-alignments  (also discusses luametatex)

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] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread Aditya Mahajan via ntg-context
On Mon, 30 Aug 2021, Rainer J.H. Brandt via ntg-context wrote:

> But, as I said, my texmf.cnf sets TEXMFCACHE to $TEXMFSYSVAR;$TEXMFVAR,
> and TEXMFSYSVAR is /var/opt/texlive.  Why is that ignored?

mtxrun (and context MKIV and LMTX) do not read texmf.cnf rather read values 
from contextcnf.lua (it used to be texmfcnf.lua, not sure how TL handles this).

You can also try setting it explicitly in the shell:

$ TEXMFCACHE=/var/opt/texlive/texmf-cache mtxrun --generate

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] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread Arthur Rosendahl via ntg-context
On Mon, Aug 30, 2021 at 12:48:05PM +0200, Rainer J.H. Brandt via ntg-context 
wrote:
> But, as I said, my texmf.cnf sets TEXMFCACHE to $TEXMFSYSVAR;$TEXMFVAR,
> and TEXMFSYSVAR is /var/opt/texlive.  Why is that ignored?

  Do you have write permission on that directory?

Arthur
___
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] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread Rainer J.H. Brandt via ntg-context
luigi scarso via ntg-context writes:
> > > On Fri, Aug 27, 2021 at 10:35 AM Rainer J.H. Brandt via ntg-context <
> > > ntg-context@ntg.nl> wrote:
> > > > The TeXlive documentation says that ConTeXt uses TEXMFCACHE,
> > > > which uses the default $TEXMFSYSVAR;$TEXMFVAR in my texmf.cnf.
> > > > My TEXMFSYSVAR is /var/opt/texlive, but ConTeXt doesn't use it.
> >
> hm, my
> $> mtxrun --variables
> says
> resolvers   | lists | TEXMFCACHE
> resolvers   | lists |   env: unset
> resolvers   | lists |   var: TEXMFCACHE
> resolvers   | lists |   exp:
> selfautoparent:texmf-var;home:.texlive2021/texmf-var
> 
> and it's ok. So perhaps  your selfautoparent it's not ok.

I will check that.

But, as I said, my texmf.cnf sets TEXMFCACHE to $TEXMFSYSVAR;$TEXMFVAR,
and TEXMFSYSVAR is /var/opt/texlive.  Why is that ignored?

Thanks, Rainer
___
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] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread luigi scarso via ntg-context
On Mon, Aug 30, 2021 at 11:49 AM Rainer J.H. Brandt via ntg-context <
ntg-context@ntg.nl> wrote:

> Hello Luigi,
>
> you asked:
> > On Fri, Aug 27, 2021 at 10:35 AM Rainer J.H. Brandt via ntg-context <
> > ntg-context@ntg.nl> wrote:
> >
> > > Dear experts,
> > >
> > > I want to use ConTeXt MkIV as supplied by TeXlive 2021.
> > > After installation, I ran "mtxrun --generate".
> > > I also tried "context --generate".
> > > Both create output in the wrong place.
> > >
> > > The TeXlive documentation says that ConTeXt uses TEXMFCACHE,
> > > which uses the default $TEXMFSYSVAR;$TEXMFVAR in my texmf.cnf.
> > > My TEXMFSYSVAR is /var/opt/texlive, but ConTeXt doesn't use it.
> > > Instead, it creates /opt/texmf-var and creates its output there.
> > > I don't understand why it used that path; I've never used or configured
> > > it.
> > >
> > > How can I convice ConTeXt to use TEXMFSYSVAR?
> > > [...]
> >
> > What does
> > $> tlmgr conf
> > say ?
>
> The output is appended below and looks reasonable.  In particular, it shows
> that I installed under /opt/local/share/texlive and doesn't mention the
> "mtxrun --generate" output path /opt/texmf-var at all.
>
> Please note that I don't use tlmgr and also that I didn't use the TeX Live
> installer.  I built the binaries from their sources and then installed
> the rest from the texmf archive file. I use other engines on a daily basis,
> mostly pdflatex, and they work flawlessly.
>
> Thanks, Rainer
>
>
hm, my
$> mtxrun --variables
says
resolvers   | lists | TEXMFCACHE
resolvers   | lists |   env: unset
resolvers   | lists |   var: TEXMFCACHE
resolvers   | lists |   exp:
selfautoparent:texmf-var;home:.texlive2021/texmf-var

and it's ok. So perhaps  your selfautoparent it's not ok.


-- 
luigi
___
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] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread Rainer J.H. Brandt via ntg-context
Hello Luigi,

you asked:
> On Fri, Aug 27, 2021 at 10:35 AM Rainer J.H. Brandt via ntg-context <
> ntg-context@ntg.nl> wrote:
> 
> > Dear experts,
> >
> > I want to use ConTeXt MkIV as supplied by TeXlive 2021.
> > After installation, I ran "mtxrun --generate".
> > I also tried "context --generate".
> > Both create output in the wrong place.
> >
> > The TeXlive documentation says that ConTeXt uses TEXMFCACHE,
> > which uses the default $TEXMFSYSVAR;$TEXMFVAR in my texmf.cnf.
> > My TEXMFSYSVAR is /var/opt/texlive, but ConTeXt doesn't use it.
> > Instead, it creates /opt/texmf-var and creates its output there.
> > I don't understand why it used that path; I've never used or configured
> > it.
> >
> > How can I convice ConTeXt to use TEXMFSYSVAR?
> > [...]
> 
> What does
> $> tlmgr conf
> say ?

The output is appended below and looks reasonable.  In particular, it shows
that I installed under /opt/local/share/texlive and doesn't mention the
"mtxrun --generate" output path /opt/texmf-var at all.

Please note that I don't use tlmgr and also that I didn't use the TeX Live
installer.  I built the binaries from their sources and then installed
the rest from the texmf archive file. I use other engines on a daily basis,
mostly pdflatex, and they work flawlessly.

Thanks, Rainer

=== version information ==
tlmgr revision 57970 (2021-02-27 15:17:34 +0100)
tlmgr using installation: /opt
 executables found by searching PATH =
PATH: 
/opt/local/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/bin:/sbin:/Users/rjhb/doc/cvs/rjhb/perl5/bin:.:/Applications/Qt/current/clang_64/bin:/usr/X11/bin
dvipdfmx:  /opt/local/bin/dvipdfmx
dvips: /opt/local/bin/dvips
fmtutil:   /opt/local/bin/fmtutil
kpsewhich: /opt/local/bin/kpsewhich
luatex:/opt/local/bin/luatex
mktexpk:   /opt/local/bin/mktexpk
pdftex:/opt/local/bin/pdftex
tex:   /opt/local/bin/tex
tlmgr: /opt/local/bin/tlmgr
updmap:/opt/local/bin/updmap
xetex: /opt/local/bin/xetex
=== active config files ==
config.ps:/opt/local/share/texlive/texmf-dist/dvips/config/config.ps
fmtutil.cnf:  /opt/local/share/texlive/texmf-dist/web2c/fmtutil.cnf
mktex.cnf:/opt/local/share/texlive/texmf-dist/web2c/mktex.cnf
pdftexconfig.tex: 
/opt/local/share/texlive/texmf-dist/tex/generic/tex-ini-files/pdftexconfig.tex
texmf.cnf:/opt/local/share/texlive/texmf-dist/web2c/texmf.cnf
updmap.cfg:   /opt/local/share/texlive/texmf-dist/web2c/updmap.cfg
= font map files =
kanjix.map:  
/opt/local/share/texlive/texmf-dist/fonts/map/dvipdfmx/updmap/kanjix.map
pdftex.map:  
/opt/local/share/texlive/texmf-dist/fonts/map/pdftex/updmap/pdftex.map
ps2pk.map:   
/opt/local/share/texlive/texmf-dist/fonts/map/dvips/updmap/ps2pk.map
psfonts.map: 
/opt/local/share/texlive/texmf-dist/fonts/map/dvips/updmap/psfonts.map
=== kpathsea variables ===
ENCFONTS=.:{{}/Users/rjhb/etc/texmf,/Users/rjhb/var/texmf,/Users/rjhb/lib/texmf,!!/opt/local/share/texlive/texmf-local,!!/opt/local/share/texlive/texmf-config,!!/var/opt/texlive,!!/opt/local/share/texlive/texmf-dist}/fonts/enc//
SYSTEXMF=/var/opt/texlive:/opt/local/share/texlive/texmf-local:/opt/local/share/texlive/texmf-dist
TEXCONFIG={{}/Users/rjhb/etc/texmf,/Users/rjhb/var/texmf,/Users/rjhb/lib/texmf,!!/opt/local/share/texlive/texmf-local,!!/opt/local/share/texlive/texmf-config,!!/var/opt/texlive,!!/opt/local/share/texlive/texmf-dist}/dvips//
TEXFONTMAPS=.:{{}/Users/rjhb/etc/texmf,/Users/rjhb/var/texmf,/Users/rjhb/lib/texmf,!!/opt/local/share/texlive/texmf-local,!!/opt/local/share/texlive/texmf-config,!!/var/opt/texlive,!!/opt/local/share/texlive/texmf-dist}/fonts/map/{kpsewhich,pdftex,dvips,}//
TEXMF={{}/Users/rjhb/etc/texmf,/Users/rjhb/var/texmf,/Users/rjhb/lib/texmf,!!/opt/local/share/texlive/texmf-local,!!/opt/local/share/texlive/texmf-config,!!/var/opt/texlive,!!/opt/local/share/texlive/texmf-dist}
TEXMFCONFIG=/Users/rjhb/etc/texmf
TEXMFDBS={!!/opt/local/share/texlive/texmf-local,!!/opt/local/share/texlive/texmf-config,!!/var/opt/texlive,!!/opt/local/share/texlive/texmf-dist}
TEXMFDIST=/opt/local/share/texlive/texmf-dist
TEXMFHOME=/Users/rjhb/lib/texmf
TEXMFLOCAL=/opt/local/share/texlive/texmf-local
TEXMFMAIN=/opt/local/share/texlive/texmf-dist
TEXMFSYSCONFIG=/opt/local/share/texlive/texmf-config
TEXMFSYSVAR=/var/opt/texlive
TEXMFVAR=/Users/rjhb/var/texmf
TEXPSHEADERS=.:{{}/Users/rjhb/etc/texmf,/Users/rjhb/var/texmf,/Users/rjhb/lib/texmf,!!/opt/local/share/texlive/texmf-local,!!/opt/local/share/texlive/texmf-config,!!/var/opt/texlive,!!/opt/local/share/texlive/texmf-dist}/{dvips,fonts/{enc,type1,type42,type3}}//
VARTEXFONTS=/Users/rjhb/var/texmf/fonts

Re: [NTG-context] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)

2021-08-30 Thread Jan U. Hasecke via ntg-context

Am 30.08.21 um 09:58 schrieb Benjamin Buchmuller via ntg-context:
(For the record on the list, I attach a small res screenshot to 
illustrate the matter, description below; My apologies for any 
inconvenience.)


When I open the pdf in evince I see no difference. Maybe also a reader 
problem?


juh
___
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] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)

2021-08-30 Thread Benjamin Buchmuller via ntg-context
How odd; Then it must be related to my viewer here ...

I was just surprised to literally see two different outcomes with the 
\startTEXpage and without. Maybe it has to do with some sort of "nesting" in 
the PDF that is not handled correctly at the PDF viewer's end. I'll test again 
on a different machine (and with the printing company) when I'm back to work.

Thanks for having looked into it!

> On Aug 30, 2021, at 10:50, Hans Hagen  wrote:
> 
> attached is what i get and i see the green shading here
> 
> 
> 
> -
>  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] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)

2021-08-30 Thread Benjamin Buchmuller via ntg-context
(For the record on the list, I attach a small res screenshot to illustrate the 
matter, description below; My apologies for any inconvenience.)

On Aug 30, 2021, at 09:36, Benjamin Buchmuller  
wrote:

Sorry, I've been probably a bit unclear. The file to look at is "test.pdf" 
(first and second page).

This is a screenshot of what I see (attached):

* in the embedded png (as reference for how the original pdf looks like) the 
gradients are (no surprise) visible. Green to read for the ellipse and in the 
rod using a white-to-gray gradient.

* in the embedded pdf (what I would like to do eventually) both gradients 
disappear.

However, when I use \startTEXpage ... \stopTEXpage around the \externalfigure, 
everything looks and prints fine.



> On Aug 30, 2021, at 08:54, Hans Hagen  wrote:
> 
> On 8/30/2021 7:03 AM, Benjamin Buchmuller via ntg-context wrote:
>> Hello list,
>> I have noticed that some gradients get lost when embedding an external 
>> figure from a pdf (Preview and Acrobat DC and in printer), although the 
>> original pdf works fine for me.
> 
> you have to be a bit more precise in desribing what you expect because i 
> don't see it ... there's a pdf and lowres png .. these are different anyway, 
> the low res png has some anti aliasing
> 
> 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] Best way to apply a fill-pattern to a closed shape?

2021-08-30 Thread Hans Hagen via ntg-context

On 8/30/2021 6:35 AM, Ramkumar KB wrote:

Hans,

Thank you! Yes, it would be great to learn more about MetaFun - if you 
can point me to the test suite, then I can document a few good tutorial 
level examples in the Wiki (beginner & intermediate). MetaFun's turbo 
charged capabilities are awesome!


the test suite is a zip on the website alongside the others (not only 
metafun)


best is to to look at the luametafun manual in the distribution (which 
is anyway where the tests come from)


there is also the metafun manual (that i occasionally update / extend) 
but the newest things are in the luametafun manual


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] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)

2021-08-30 Thread Hans Hagen via ntg-context

On 8/30/2021 7:03 AM, Benjamin Buchmuller via ntg-context wrote:

Hello list,

I have noticed that some gradients get lost when embedding an external figure 
from a pdf (Preview and Acrobat DC and in printer), although the original pdf 
works fine for me.


you have to be a bit more precise in desribing what you expect because i 
don't see it ... there's a pdf and lowres png .. these are different 
anyway, the low res png has some anti aliasing


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
___