Re: [NTG-context] Bloody PDF boxes and cr*p marks!

2021-11-01 Thread Floris van Manen via ntg-context



On 30/10/2021 21:21, Henning Hraban Ramm via ntg-context wrote:

this document:

and also extendedhttps://wiki.contextgarden.net/PDFX  a bit.


contains a link to the Ghent Workshop that returns a 404

Special thanks must go to the Ghent PDF Workgroup (GWG) for making a 
list of recommended profiles. Please have a look at the official 
documentation first (will take you only a minute). The origin of this 
document (and some more info) is located [here].


[here] -> http://www.gwg.org/recommended_ICC_profiles.phtm -> 404

.F
___
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] Memo module not working with lmtx

2021-10-16 Thread Floris van Manen via ntg-context



On 16/10/2021 09:57, Wolfgang Schuster via ntg-context wrote:




There is a new version of the module online which fixes the bug.


But is it not part of de LMTX distribution?
___
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] metafun: circular arc

2021-10-05 Thread Floris van Manen via ntg-context

In the example the text is drawn as:

draw followtext(q, "\strut TEXT ONE")


it looks as if the \strut generates a space before the text.
e.g. if you omit the \strut, the text will align at the start point.
In my perception, the \strut is a zero width box, so it should not 
generate the space before.

But I might be wrong here (most likely ;-)

.F




On 05/10/2021 23:32, Thomas A. Schmitz via ntg-context wrote:


\startuseMPgraphic{empedocless}
path p, q, r ;
pair a ;

p := fullcircle scaled 10cm ;
drawarrow p  withpen pencircle scaled 1mm withcolor red ;
draw    point 0 of p withpen pencircle scaled 1mm withcolor blue ;
q := p cutafter (point .4 along p) ;
drawarrow q  withpen pencircle scaled .5mm withcolor green ;
draw followtext(q, "\strut TEXT ONE") ;

p := fullcircle scaled 8cm ;
drawarrow p  withpen pencircle scaled 1mm withcolor cyan ;
draw    point 0 of p withpen pencircle scaled 1mm withcolor magenta ;
q := p cutafter (point .3 along p) ;
q := q rotated 120 ;
drawarrow q  withpen pencircle scaled .5mm withcolor yellow ;
draw followtext(q, "\strut TEXT TWO") ;

% the real deal: best make a macro for this

p := fullcircle scaled 6cm ;
draw    point 0 of p withpen pencircle scaled 5mm withcolor blue ;
drawarrow p  withpen pencircle scaled 1mm withcolor red ;
a := (point eps of p) rotated 45 ;
draw a withpen pencircle scaled 2mm;
q := p cutafter a ;
q := q rotated 20 ;
drawarrow q  withpen pencircle scaled .5mm withcolor green ;
draw followtext(q, "\strut TEXT TWO") ;

\stopuseMPgraphic

\useMPgraphic{empedocless}

___
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] Regular online meet-up

2021-10-02 Thread Floris van Manen via ntg-context



On 01/10/2021 21:22, Alain Delmotte via ntg-context wrote:
What is the way to attend: just log to 
https://lecture.senfcall.de/hen-rbr-rku-oke ??


Thanks for the proposal,




why not using (free open source) meet.jit.si instead of membershipped 
yellow-button?


.F
___
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] [lmtx offline?]

2021-09-20 Thread Floris van Manen via ntg-context
I try to update my lmtx installation, but it seems that there is no 
contact with the server somehow...

Any hints?



$ ./install.sh
mtx-install | provide valid server and instance


The following settings were used:

  server   : lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl
  instance : install-lmtx
  extras   :
  ownpath  : /home/vm/context
  platform : linux-64


___
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] zint barcode module on LMTX/MacOS

2021-09-08 Thread Floris van Manen via ntg-context



On 08/09/2021 19:08, Henning Hraban Ramm wrote:

I just checked on my Linux laptop with a new installation, and it worked 
exactly like this.

Did you check with --luatex (i.e. MkIV)?

What’s your ConTeXt version? You left out this essential piece of information.



$ context --version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file: 
/home/vm/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv

mtx-context | current version: 2021.09.06 11:47
mtx-context | main context file: 
/home/vm/context/tex/texmf-context/tex/context/base/mkxl/context.mkxl

mtx-context | current version: 2021.09.06 11:47



this is the results form --generate:

$ mtxrun --generate
resolvers   | resolving | variable 'SELFAUTOLOC' set to 
'/home/vm/context/tex/texmf-linux-64/bin'
resolvers   | resolving | variable 'SELFAUTODIR' set to 
'/home/vm/context/tex/texmf-linux-64'
resolvers   | resolving | variable 'SELFAUTOPARENT' set to 
'/home/vm/context/tex'

resolvers   | resolving | variable 'TEXMFCNF' set to ''
resolvers   | resolving | variable 'TEXMF' set to '/home/vm/context'
resolvers   | resolving | variable 'TEXOS' set to 'texmf-linux-64'
resolvers   | resolving |
resolvers   | resolving | using configuration specification 
'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf-dist/web2c;selfautoparent:/texmf/web2c'

resolvers   | resolving |
resolvers   | resolving | looking for regular 'texmfcnf.lua' on 
given path '/home/vm/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on 
given path '/home/vm/context/tex/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on 
given path '/home/vm/context/tex/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on 
given path '/home/vm/context/tex/texmf-dist/web2c' from specification 
'selfautoparent:/texmf-dist/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on 
given path '/home/vm/context/tex/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'
resolvers   | resolving | found regular configuration file 
'/home/vm/context/tex/texmf/web2c/texmfcnf.lua'

resolvers   | resolving |
resolvers   | resolving | loading configuration file 
'selfautoparent:/texmf/web2c/texmfcnf.lua'

resolvers   | resolving |
resolvers   | resolving | locating list of '/home/vm/context' 
(runtime) (tree:home/vm/context)
resolvers   | methods | resolving, method 'locators', how 'uri', 
handler 'tree', argument 'tree:home/vm/context'

resolvers   | trees | locator '/home/vm/context' found
resolvers   | resolving | hash '/home/vm/context' appended
resolvers   | resolving |
resolvers   | methods | resolving, method 'generators', how 'uri', 
handler 'file', argument '/home/vm/context'
resolvers   | expansions | scanning path '/home/vm/context', branch 
'/home/vm/context'
resolvers   | expansions | 5750 files found on 358 directories with 
207 uppercase remappings

resolvers   | resolving |
resolvers   | resolving | not saving runtime tree '/home/vm/context'
mtxrun  |
mtxrun  | elapsed lua time: 0.031 seconds



___
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] lmt_chart_bar with data from luacode

2021-07-24 Thread Floris van Manen



On 23/07/2021 23:56, Jorge Manuel wrote:


I tried this code, but it didn't work. This is not my day.


Using the latest version made it work here.

.F
___
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] weekend upload - stacking and animation

2021-07-13 Thread Floris van Manen



On 13/07/2021 15:14, Hans Hagen wrote:

How about:

\startuseMPgraphic{demo}
     for i=1 upto 10:
     draw fullcircle scaled (i*cm/3)
     withcolor (i*red/10)
     withpen   pencircle scaled (bp/2)
     withstacking i
     ;
     endfor ;
\stopuseMPgraphic

\unprotect

\tolerant\protected\def\useMPanimation[#1]#2%
   {\begingroup
    \scratchtoks\emptytoks

\dorecurse{10}{\etoksapp\scratchtoks{{\useMPgraphic[\c!stacking={\recurselevel}]{#2% 


    \expanded{\startanimation[#1]\the\scratchtoks\stopanimation}%
    \endgroup}

\protect

\setupinteraction[state=start]

\usemodule[animation]

\starttext
     \useMPanimation[menu=yes]{demo}
\stoptext


Placing this excerpt in a file and compiling it I get an error:


$ context animation.tex

resolvers   | formats | executing runner 'run luametatex format': 
/home/vm/context/tex/texmf-linux-64/bin/luametatex --jobname="animation" 
--fmt=/home/vm/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt 
--lua=/home/vm/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui 
cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./animation.tex" 
--c:input="./animation.tex" --c:kindofrun=1 --c:maxnofruns=9 
--c:texmfbinpath="/home/vm/context/tex/texmf-linux-64/bin"

open source > level 1, order 1, name 'cont-yes.mkiv'
fonts   > beware: no fonts are loaded yet, using 'lm mono' in box
system  >
system  > ConTeXt  ver: 2021.07.10 21:51 LMTX  fmt: 2021.7.12 
int: english/english

system  > system  > 'cont-new.mkxl' loaded
open source > level 2, order 2, name 
'/home/vm/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'

system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name 
'/home/vm/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system  > files > jobname './animation', input 
'./animation.tex', result './animation'

fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name './animation.tex'
modules > 'animation' is not found
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
tex error   > tex error on line 31 in file ./animation.tex: 
Undefined control sequence


\startanimation [menu=yes]{\useMPgraphic 
[stacking={1}]{demo}}{\useMPgraphic [stacking={2}]{demo}}{\useMPgraphic 
[stacking={3}]{demo}}{\useMPgraphic [stacking={4}]{demo}}{\useMPgraphic 
[stacking={5}]{demo}}{\useMPgraphic [stacking={6}]{demo}}{\useMPgraphic 
[stacking={7}]{demo}}{\useMPgraphic [stacking={8}]{demo}}{\useMPgraphic 
[stacking={9}]{demo}}{\useMPgraphic [stacking={10}]{demo}}


 \startanimation [menu=yes]\the \scratchtoks \stopanimation

 \expanded #1->\xdef \m_syst_helpers_expanded {\noexpand #1
}\m_syst_helpers_expanded
 \useMPanimation [#1]#2->\begingroup \scratchtoks \emptytoks \par 
\dorecurse {10}{\etoksapp \scratchtoks {{\useMPgraphic [\c!stacking 
={\recurselevel }]{#2\expanded {\startanimation [#1]\the 
\scratchtoks \stopanimation }

\endgroup

 \useMPanimation[menu=yes]{demo}

21\expanded{\startanimation[#1]\the\scratchtoks\stopanimation}%
22\endgroup}
23
24 \protect
25
26 \setupinteraction[state=start]
27
28 \usemodule[animation]
29
30 \starttext
31 >>  \useMPanimation[menu=yes]{demo}
32 \stoptext
33
The control sequence at the end of the top line of your error message 
was never

\def'ed. You can just continue as I'll forget about whatever was undefined.
mtx-context | fatal error: return code: 256

___
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] weekend upload

2021-07-12 Thread Floris van Manen

with the latest version not everything gets drawn as intended.


$ context --version
mtx-context | ConTeXt Process Management 1.04
mtx-context | current version: 2021.07.10 21:51




On 12/07/2021 10:07, Hans Hagen wrote:
I need to ckeck if the range checked does negative numbers ... anyway, 
you can do this


\startMPpage[offset=2mm, stacking={1,2,3,4}]

   boxit.A("\boxframed{Box A}");
   boxit.B("\boxframed{Box B}");
   boxit.C("\boxframed{Box C}");

   defaultdx := 0pt;
   defaultdy := 0pt;

   A.c = origin;

   B.w - A.e = (1cm, 0);

   0.5[ A.s, B.s ] - C.n = (0, 1cm);

   draw image (drawunboxed(A,B,C)) withstacking 2;

   drawarrow A.s +- C.w withstacking 3 ;
   drawarrow B.s +- C.e withstacking 4 ;

   newpath highlight;

   highlight := (A.sw -- B.se -- B.ne -- A.nw) enlarged EmWidth;
   fill highlight withcolor "darkgray" withstacking 1;

\stopMPpage
___
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 in upload

2021-06-09 Thread Floris van Manen



On 09/06/2021 20:42, Hans Hagen wrote:


\startoverlayMPgraphic{mp:whatever-6}
     draw anchorcell (1,1)   withpen pencircle scaled 1pt withcolor 
"blue" ;
     fill anchorspan (2,2) (3,5) withpen pencircle scaled 1pt withcolor 
"yellow" ;
     draw anchorcell (2,2)   withpen pencircle scaled 1pt withcolor 
"green" ;
     draw anchorcell (3,3)   withpen pencircle scaled 1pt withcolor 
"red" ;

\stopoverlayMPgraphic




The fill works with multiple cells, but the draw does not:

fill anchorspan (2,2) (3,5) withpen pencircle scaled 1pt withcolor
draw anchorspan (2,2) (3,5) withpen pencircle scaled 1pt withcolor



___
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] [metafun example does not compile]

2021-05-21 Thread Floris van Manen



On 21/05/2021 14:14, Taco Hoekwater wrote:

It looks like textext.dflt is undefined in the latest lmtx because it is now
renamed to textext.dlft :)


As we say in dutch: een kniesoor die daar op let
;-)

___
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] [metafun example does not compile]

2021-05-21 Thread Floris van Manen

the line preventing the output from showing uo seems to be be:

draw textext.dflt("DFLT-" & MonTexte) shifted PB;

If I remove that, I'll get output.


___
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] [metafun example does not compile]

2021-05-21 Thread Floris van Manen

Using the example from the wiki
https://wiki.contextgarden.net/textext_positioning

then using the latest version of lmtx

$ context --version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file: 
/home/vm/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv

mtx-context | current version: 2021.05.20 16:06
mtx-context | main context file: 
/home/vm/context/tex/texmf-context/tex/context/base/mkxl/context.mkxl

mtx-context | current version: 2021.05.20 16:06


it will produce an error (and an empty page)


metapost> initializing instance 'metafun:1' using format 
'metafun' and method 'default'

metapost> loading 'metafun' as 'metafun.mpxl' using method 'default'
metapost> initializing number mode 'scaled'
metafun > log >
metafun > log > error: Unknown relation will be considered false
metafun > log >
metapost> log >
metapost> log > 
metapost> log >)
metapost> log > 
thetextext->...FIX2)(rawtextext(ddecimal(EXPR3)),(EXPR4))else:if.anchortextexts>0:image(draw(EXPR3)withprescript"tx_anchor="(EXPR4))else:(EXPR3)fi.if(mfun_labtype(SUFFIX2)>=10)
metapost> log > 



:shifted(0,y...
metapost> log > 
thetextext->begingroup.if.string(EXPR3):thetextext(SUFFIX2)(rawtextext((EXPR3)),(EXPR4))
metapost> log > 


elseif.numeric(EXPR3):thetextext(SUFFIX2)(rawtextext(decimal(EXPR3)),(EXPR4))elseif.pair(EXPR3):thetextext(SU...
metapost> log > 
textext->begingroup.thetextext(SUFFIX2)((EXPR3),origin)
metapost> log > 
  endgroup
metapost> log > <*> ...A; draw PA withpen pencircle scaled 1.5mm 
withcolor red; pair PB ; PB := PA shifted decal ; draw textext.drt 
("DRT-" & MonTexte) shifted PB; draw textext.dflt("DFLT-" & MonTexte)

metafun > log >
metafun > log > Oh dear. I can't decide if the expression above 
is positive, negative, or zero.

So this comparison test won't be 'true'.




As in most of the cases with software, there is (probably) a reason to 
it ;-)



.F
___
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] [installing lmtx on raspi400]

2021-05-13 Thread Floris van Manen



On 13/05/2021 22:39, Christian Prim wrote:

I solved it following this (or a similar) solution:

https://github.com/deltachat/deltachat-desktop/issues/1006#issue-498257133 



That worked very well, thank you !

$ hostnamectl
   Static hostname: rp400
 Icon name: computer
  Operating System: Debian GNU/Linux bullseye/sid
Kernel: Linux 5.10.17-v8+
  Architecture: arm64


$ context --version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file: 
/home/pi/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv

mtx-context | current version: 2021.05.09 17:14
mtx-context | main context file: 
/home/pi/context/tex/texmf-context/tex/context/base/mkxl/context.mkxl

mtx-context | current version: 2021.05.09 17:14


___
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] [installing lmtx on raspi400]

2021-05-13 Thread Floris van Manen

No desktop system is complete before having a proper lmtx installed ;-)

So with this OS version

$ uname -a
Linux rp400 5.10.17-v8+ #1414 SMP PREEMPT Fri Apr 30 13:23:25 BST 2021 
aarch64 GNU/Linux


$ hostnamectl
   Static hostname: rp400
 Icon name: computer
  Operating System: Debian GNU/Linux 10 (buster)
Kernel: Linux 5.10.17-v8+
  Architecture: arm64


I downloaded
context-linux-aarch64.zip


unzipped it in the ~/context folder and ran the install.sh script

$ sudo sh ./install.sh

this gives an error:

/home/pi/context/bin/mtxrun: /lib/aarch64-linux-gnu/libm.so.6: version 
`GLIBC_2.29' not found (required by /home/pi/context/bin/mtxrun)




Anyone with a hint ?

Thx
.Floris


___
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] KeenWrite 2.0

2021-05-10 Thread Floris van Manen



On 10/05/2021 07:40, Thangalin wrote:
https://github.com/DaveJarvis/keenwrite#download 



Stay safe everyone!



When launching from

Linux vmz 5.11.0-7614-generic #15~1618626693~20.10~ecb25cd-Ubuntu SMP 
Thu Apr 22 16:00:45 UTC  x86_64 x86_64 x86_64 GNU/Linux


I get a warning:

$ keenwrite.bin
OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated 
and will be removed in a future release.



___
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] [formatting verbatim text]

2021-04-26 Thread Floris van Manen

Aparently all spaces after @etex get reduced to one only.
I'd expect that to happen inside @btex and @etex


\starttext
\starttyping[escape=@]
  1   137  26  25 >1  69  32
  2   @btex@bgroup@red@bf 137 @egroup@etex  26  25 >1  69  32
  3   @btex@bgroup@red@bf 137 @egroup@etex  26  25 >1  69  32
  4   137  26  25 >1  69  32
  5   @btex@bgroup@red@bf 137  @egroup@etex  26  25 >1  69  32
 \stoptyping
\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] [formatting verbatim text]

2021-04-26 Thread Floris van Manen



On 26/04/2021 10:59, Hans Hagen wrote:


\starttext
\starttyping[escape=/]
one two three
four /btex/bgroup/red five /egroup/etex six
seven eight nine
\stoptyping
\stoptext


That works indeed! Thanks.


Are there restriction on what context commands can be given inside the 
bgroup? e.g. I tried to include a highlight definition with white font 
on black background with an inframed, but that doesn't seem to work (in 
my definitions that is)


___
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] [formatting verbatim text]

2021-04-26 Thread Floris van Manen
What is the easiest way, if possible, to highlight some sections of 
verbatim text?


given:

\starttyping
one two three
four five six
seven eight nine
\stoptyping

i'd like to color the word 'five' in red, or italic.


.Floris




___
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] [pagenumbers in pdf]

2021-02-13 Thread Floris van Manen
When I generate a serie of TEXpages, those pages end up with the same 
page number in the pdf.

1, 1, 1

\starttext
\def\blz{\begingroup
\startTEXpage
1 2 3
\stopTEXpage
\endgroup}
\blz
\blz
\blz
\stoptext


If I insert a \strut at the start,
I get pagenumbering 1, 2, 3, 1


\starttext
\def\blz{\begingroup
\startTEXpage
1 2 3
\stopTEXpage
\endgroup}
\strut
\blz
\blz
\blz
\stoptext


As in most software, there is a probable reason for that :-)
But how to get the pages numbered 1, 2, 3 without an empty page at the 
start?


.F
___
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] [passing parameter into MPpage]

2021-02-12 Thread Floris van Manen

What is the correct ways to pass parameters into a \startMPpage section?
This does not produce a page (obviously if you know how it works)
But how to get the intende output?


\def\blz[#1][#2][#3]{
\startMPpage
draw thefmttext(#1) shifted(10mm, 20mm);
draw thefmttext(#2) shifted(10mm, 205m);
draw thefmttext(#3) shifted(10mm, 30mm);
\stopMPpage
}

\blz[01][02][AA]

\blz[03][42][ZZ]


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

2021-01-22 Thread Floris van Manen



On 22/01/2021 23:39, Wolfgang Schuster wrote:


No \do...empty (LMTX only):

\tolerant\protected\def\startzzz#=%
   {\hrule
    \doifsomething{#1}{\bold{\strut#1}\blank}}

\protected\def\stopzzz
   {\blank[10mm]}

\starttext

\startzzz
\input weisman
\stopzzz

\startzzz{Ward}
\input ward
\stopzzz

\stoptext



Thank you !

.F
___
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] [startstop]

2021-01-22 Thread Floris van Manen

unfortunately this does not work, 'annotation' is not found.

But is it possible to give a start/stop definition user parameters?
And if so, how?


.F
___
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] [startstop]

2021-01-22 Thread Floris van Manen

I'd like to create a start/stop command with a parameter



\startzzz[a]
one two three
\stopzzz

\startzzz[b]
one two three
\stopzzz


How do i define/pass the tag parameter in the definition?
This does not work (obviously)

\definestartstop[zzz][
before={\hrule\bf tag\blank},
after={\blank[10mm]}
]


I cannot find it in the documentation

.F
___
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] lmtx

2021-01-19 Thread Floris van Manen



On 18/01/2021 19:20, Hans Hagen wrote:

You can run

   meta-imp-punk.mkxl

to get an idea. There's also a typescript:

   type-imp-punk.mkxl



How to run these?

.F
___
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] checkbox in fields show the word yes

2020-12-11 Thread Floris van Manen



On 11/12/2020 08:46, Jan U. Hasecke wrote:

as nobody answered I would like too repeat my question.


This is what I see

___
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] install.sh not working on Linux (Ubuntu 20.04)?

2020-12-01 Thread Floris van Manen



On 06/11/2020 18:55, Pablo Rodriguez wrote:

I reported a similar issue some days ago.

I think I have solved it (no extensive checking yet) by deleting the
three texmf*.tma files on the tex/ directory.

If you still have a copy of your older installation, you may try this
(but please make a backup of the older installation first).

Just in case it might help,


The deleting of those tma files is part of my update script already.
But at that moment starting with a fresh empty context folder seemed to 
work only.

No issues as yet.

.F
___
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] RE : upload

2020-11-25 Thread Floris van Manen



On 25/11/2020 16:48, Pablo Rodriguez wrote:

Just out of curiosity, could you fix your already installed ConTeXt version?


no, that did not work.
I just dumped the whole folder after a new folder/download seemed to 
work again.


.F
___
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] RE : upload

2020-11-24 Thread Floris van Manen
by creating a new empty ~/context folder, then unzip the distribution 
and running the install script made Context work again.


.F
___
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] RE : upload

2020-11-24 Thread Floris van Manen



On 24/11/2020 18:28, Pablo Rodriguez wrote:

I’m afraid you are getting an old version, since the newer one reads:

mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file:
/home/ousia/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2020.11.24 00:41
mtx-context | main context file:
/home/ousia/context/tex/texmf-context/tex/context/base/mkxl/context.mkxl
mtx-context | current version: 2020.11.24 00:41


Well I can see that there is two versions.
But when unzipping the new context-linux-64.zip (nov 24 00:24)
then run the install script
sh ./install.sh
will not solve the issue...

So context is not working anymore.
Any hints?

.Floris
___
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] RE : upload

2020-11-23 Thread Floris van Manen



On 23/11/2020 23:02, Hans Hagen wrote:

On 11/23/2020 9:42 PM, Joseph wrote:

After running install.bat I see error :

new attempt


I still get the error:

csname overload > fatal error, protection level 4, control sequence 
'textcontrolspace', properties 'immutable', file 'enco-ini.mkxl', line 315



Also aafter the update I got two different current versions:

$ context --version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file: 
/home/vm/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv

mtx-context | current version: 2020.11.23 22:40
mtx-context | main context file: 
/home/vm/context/tex/texmf-context/tex/context/base/mkiv/context.mkxl

mtx-context | current version: 2020.11.19 11:28



before the update it was like so:

mtx-context | current version: 2020.11.19 11:28
mtx-context | current version: 2020.11.19 11:28
current:  2020-11-19 11:32:59.0 +0100
new:  2020-11-23 20:23:18.0 +0100
mtx-context | current version: 2020.11.23 20:20
mtx-context | current version: 2020.11.19 11:28



___
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

2020-11-07 Thread Floris van Manen



On 07/11/2020 13:11, Pablo Rodriguez wrote:

echo "" && curl -Ihttp://pragma-ade.com/context/latest/cont-tmf.zip
2>&1 | grep Last-Modified && echo ""

So you don’t mix access time with last modification.


this seems to work:


#!/usr/bin/env bash
cd  ~/context
OLD=`stat -c "%w" context-linux-64.zip`
echo "current: " $OLD
curl -s -O http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip
NEW=`stat -c "%w" context-linux-64.zip`
if [[ "$OLD" != "$NEW" ]] ; then
echo "new: " $NEW
mtxrun --script cache --erase >ctx.log
unzip -q -o context-linux-64.zip
rm tex/*.tma
sh ./install.sh >ctx.log
context --version | grep "current version"
fi
___
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

2020-11-07 Thread Floris van Manen



On 07/11/2020 13:11, Pablo Rodriguez wrote:

Improved message:

echo "" && curl -Ihttp://pragma-ade.com/context/latest/cont-tmf.zip
2>&1 | grep Last-Modified && echo ""

So you don’t mix access time with last modification.

Just in case it helps,


That helps.
Thx
___
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

2020-11-07 Thread Floris van Manen



On 07/11/2020 12:19, Hans Hagen wrote:
a version mismatch normally comes from the fact that i generate an lmtx 
update (for wolfgang to check, posted elsewhere) but nor a mkiv one and 
then upload to the website (as happened)


also, the update script itself doesn't get updated so when that gets 
adapted one has to get it from the bare install


(keep in mind that doing a fresh install doesn't hurt the system because 
texmf-projects and texmf-fonts are not affected)


The version check is just to prevent the extra data from being 
downloaded and installed when there was no need for it, because the 
current installed version is the same. (it saves the coal to be burned 
for the electricity)

___
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

2020-11-07 Thread Floris van Manen

Dear Hans,

Would it be possible to have a simple text file with the latest release 
version (or date) tag in it? Next to the folder containing the actual 
install script files? In that case it is easy to check that version tag 
by comparing with the local copy and decide if a further download and 
install is needed.


m.vr.gr.
Floris
___
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

2020-11-06 Thread Floris van Manen

this is my script for a daily update check which seems to do the job


#!/usr/bin/env bash
cd  ~/context
context --version | grep "current version"
echo ""
mtxrun --script cache --erase >ctx.log
rm tex/*.tma
sh ./install.sh >ctx.log
context --version | grep "current version"

___
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] install.sh not working on Linux (Ubuntu 20.04)?

2020-11-06 Thread Floris van Manen



On 06/11/2020 16:49, Jairo A. del Rio wrote:
Is anyone else having problems with recent ConTeXt updates on Linux? 
Since last month, install.sh isn't doing anything. However, when I go to 
Pragma ADE's website, I can download newer releases and they work fine 
(e.g. --permitloadlib works now). I'm not so picky about manual 
downloads, but I think install.sh is (or was) quite better. I'm on 
Ubuntu 20.04, in case it helps. Thank you very much.


yes I had a similar experience.
After downloading a fresh install.sh new updates became available again.
(Pop!OS 20.10)


.F
___
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] Typesetting poetry with particular indenting

2020-07-02 Thread Floris van Manen


On 02/07/2020 20:46, Wolfgang Schuster wrote:
> The following example needs version 2020.07.02 or newer.
Nice !

.F


pEpkey.asc
Description: application/pgp-keys
___
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] Draft Watermark of Garden gives unexpected results

2020-06-11 Thread Floris van Manen


On 11/06/2020 22:31, Jairo A. del Rio wrote:
> The watermark is partially outside the page, whereas the Wiki result is
> more "centered". Is that an intended behaviour?
> 

Also, if you set \rotate[rotation=0.0]{Draft} it will disappear...



pEpkey.asc
Description: application/pgp-keys
___
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] [overstrike] with different color?

2020-06-04 Thread Floris van Manen


On 03/06/2020 16:30, Henning Hraban Ramm wrote:
> \setupbar[color=red,rulethickness=1.4] % measurement in pt

the command also takes a parameter offset as well as dy.
I assume the offset will position the line higher / lower .
But I see no effect.

\setupbar[color=red,rulethickness=.3,offset=0.5]


pEpkey.asc
Description: application/pgp-keys
___
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] [overstrike] with different color?

2020-06-03 Thread Floris van Manen
What is the preferred way to overstrike a text with a different color?
This does not work:
One \overstrike[color=red]{Two} Three


.F


pEpkey.asc
Description: application/pgp-keys
___
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] A simpler way to install LMTX in macOS Catalina

2020-05-30 Thread Floris van Manen


On 30/05/2020 13:09, Nicola wrote:
>  Of course, it would be
> better if the binary were signed...

And of course, it would be better to use Linux ;-)

.F


pEpkey.asc
Description: application/pgp-keys
___
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] [pretty printing python]

2020-05-24 Thread Floris van Manen
Does anyone know how to activate/use the pretty printing of python code?

\starttyping[option=python]

does not work.

.Floris


pEpkey.asc
Description: application/pgp-keys
___
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] [ibmplex setup script]

2020-05-03 Thread Floris van Manen
I noticed that the same font test with the same lmtx versions on two
different linux machines with the same ibmplex fonts installed, return a
different rendering for the bold-italic.
That is only one produces the italics, the other doesn't.

I guess that is an example of true software magic,
or yet another evidence that one observation will invert the result of
the other ;-)

.F


pEpkey.asc
Description: application/pgp-keys
___
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] [ibmplex setup script]

2020-05-03 Thread Floris van Manen
Hello Wolfgang,


On 03-05-2020 10:49, Wolfgang Schuster wrote:
> % Load IBM Plex with the regular width
> 
> % \setupbodyfont[ibmplex]
> 
> % Load IBM Plex with the thin width
> 
> %\setupbodyfont[ibmplex-thin]


A quick follow-up question.

Apparently the thin/bold/italics combination does not work.
I assume this is defined in a ibmplex-thin  file somwhere.
If so, where is that file located?
What is the formula to derive ibmplex-thin from the underlying font files?

.Floris


pEpkey.asc
Description: application/pgp-keys
___
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] [ibmplex setup script]

2020-05-03 Thread Floris van Manen
Thank you Wolfgang!

Your example works as intended.

I really get lost in the font definition files, as it is difficult to
understand which variable point to what other definition.

Is there a (simple) picture where the scripts are annotated with arrows,
to know which variable points to where? All the way back to the
mtxrun --script fonts --list --all --pattern=*
reply?
With all the options available it is a steep learning curve, but i hope
to be able to understand it at some point.

Thanks for the working solution.
.Floris




pEpkey.asc
Description: application/pgp-keys
___
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] [ibmplex setup script]

2020-05-02 Thread Floris van Manen

At present the ibmplexmonothin font is seen by the mtxrun script

 mtxrun --script fonts --list --all --pattern=ibmplexmonothin*
identifier  familynamefontnamefilename
subfont   instances

ibmplexmonothin ibmplexmono   ibmplexmonothin
/home/vm/.local/share/fonts/Unknown Vendor/OpenType/IBM Plex
Mono/IBM_Plex_Mono_Thin.otf
ibmplexmonothinitalic   ibmplexmono   ibmplexmonothinitalic
/home/vm/.local/share/fonts/Unknown Vendor/OpenType/IBM Plex
Mono/IBM_Plex_Mono_Thin_Italic.otf

But I don't manage to get the monothin variants loaded.
Any hints available?


Thanks
.Floris



pEpkey.asc
Description: application/pgp-keys
___
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] [rotate question]

2020-05-01 Thread Floris van Manen
I try to introduce a per character rotation using lua.
But a negative rotation angle seems to introduce a vertical offset to
the base line.
It might be intended, but how to get it gone?
Any hints?
.Floris

\def\streepA{%
\rotate[rotation=\ctxlua{context(math.random(1,15))}]{\|}%
}
\def\streepB{%
\rotate[rotation=\ctxlua{context(math.random(-15,-1))}]{\|}%
}
\def\stapA#1{\dorecurse{#1}{\streepA}}
\def\stapB#1{\dorecurse{#1}{\streepB}}
\starttext
\startTEXpage[offset=20mm, width=297mm]
\startalignment[width]~
\dorecurse{50}{\stapA{10}\stapB{10}}
\stopalignment
\stopTEXpage
\stoptext




pEpkey.asc
Description: application/pgp-keys
___
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] extracting pages using luacode

2020-04-25 Thread Floris van Manen


On 25-04-2020 16:56, Hans Hagen wrote:
>>
>> Where am I missing the point?
> the syntax ...
> 
>     context.externalfigure( { "my_pdf.pdf" }, { page = blz } )

so simple :-)

Thanks!

.F


pEpkey.asc
Description: application/pgp-keys
___
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] extracting pages using luacode

2020-04-25 Thread Floris van Manen
I'm trying to extract pages from an existing pdf using lua.
But this approach to extract pages 11 and 30 does not work:

\starttext
\startluacode
for i, blz in ipairs({11, 30}) do
  context.startTEXpage()
  context.externalfigure("my_pdf.pdf", page=blz)
  context.stopTEXpage()
end
\stopluacode
\stoptext


Where am I missing the point?

.F


pEpkey.asc
Description: application/pgp-keys
___
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] [preventing blackrule tp break line]

2020-03-06 Thread Floris van Manen
Using lmtx, while trying to get multiple pieces of black rule on one
line, for some reason the line breaks after the first item, to continue
on the second line with the remainder.


\starttext
\blackrule[width=15mm,height=1mm,depth=0mm,color=yellow]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=red]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=green]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=blue]\quad

\blackrule[width=15mm,height=1mm,depth=0mm,color=yellow]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=red]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=green]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=blue]\quad
\stoptext


What is the proper way to do it?
.F


pEpkey.asc
Description: application/pgp-keys
___
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] [error] web-server font-test fails

2020-03-01 Thread Floris van Manen
while trying out the embedded web-server, choosing the fonttest will
fail and cause the server to crash


$ mtxrun --script server --auto
mtx-server  | running at port: 8088
mtx-server  | document root:
/home/vm/data/context/tex/texmf-context/scripts/context/lua
mtx-server  | main index file: unknown
mtx-server  | scripts subpath:
/home/vm/data/context/tex/texmf-context/scripts/context/lua
mtx-server  | context services:
http://localhost:8088/mtx-server-ctx-startup.lua
mtx-server  | request from: 127.0.0.1
mtx-server  | request data: GET /mtx-server-ctx-startup.lua HTTP/1.1
mtx-server  | requested url: /mtx-server-ctx-startup.lua
mtx-server  | requested action: /mtx-server-ctx-startup.lua
mtx-server  | performing action: /mtx-server-ctx-startup.lua
mtx-server  | locating script:
/home/vm/data/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua
mtx-server  | loading script:
/home/vm/data/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua
mtx-server  | return type: function
mtx-server  | saving script: function
mtx-server  | running script:
/home/vm/data/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua
mtx-server  | request from: 127.0.0.1
mtx-server  | request data: GET /favicon.ico HTTP/1.1
mtx-server  | requested url: /favicon.ico
mtx-server  | requested action: /favicon.ico
mtx-server  | performing action: /favicon.ico
mtx-server  | requested file: /favicon.ico
mtx-server  | unknown file: /favicon.ico
mtx-server  | handling error 404: Not Found
mtx-server  | request from: 127.0.0.1
mtx-server  | request data: GET /mtx-server-ctx-fonttest.lua HTTP/1.1
mtx-server  | requested url: /mtx-server-ctx-fonttest.lua
mtx-server  | requested action: /mtx-server-ctx-fonttest.lua
mtx-server  | performing action: /mtx-server-ctx-fonttest.lua
mtx-server  | locating script:
/home/vm/data/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-fonttest.lua
mtx-server  | loading script:
/home/vm/data/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-fonttest.lua
mtx-server  | return type: function
lua error :
...ext/tex/texmf-context/tex/context/base/mkiv/font-hsh.lua:12: attempt
to index a nil value (global 'font')


pEpkey.asc
Description: application/pgp-keys
___
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] Any plans for an active color management?

2020-02-17 Thread Floris van Manen


On 17-02-2020 16:10, juh wrote:
> At least, digital images are always RGB.
> 
> In my special case we started with a RGB corporate design as we are an
> online cooperative. Print comes later.

The thing is that in print the CMYK will result in a fixed well defined
object: a physical  print on paper. That is then the reference.
The complete chain of getting the information into print is well defined.

Compare that to the world of digital monitor viewing.
None is well defined, every monitor and platform has its own unknown
settings. How would you translate those into a printed document?

So my point was that it might be more convenient to first create the
publication for print, then let individual pdf browsers do their trick
in their own environment rendering the CMYK into RGB or whatever...

Unless it is fun to do both of course...

.F


pEpkey.asc
Description: application/pgp-keys
___
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] Any plans for an active color management?

2020-02-17 Thread Floris van Manen


On 17-02-2020 15:39, Hans Hagen wrote:
> On 2/17/2020 3:03 PM, Jan U. Hasecke wrote:
> 
>> Are there any plans to automate these steps into ConTeXt? That would
>> enable us to work in RGB the whole time. Only when creating a print pdf
>> we would specify a color profile and ConTeXt would do the rest by
>> converting all rgb values to cmyk values due to the given color profile.
> 
> that would mean plugging some color transfer function into the rgb ->
> cmyk conversion that is already there (but i never had to deal with
> color transfer functions)
> 
>> As this seems very complex I fear that there are no plans to do this.
> not unless i know exactly what to do (or am forced to use it myself)
> 
> can't you use spotcolors? these are kind of standardized (say pantone)

As in print the default is CMYK, why not start there.
The online might be RGB but all pdf viewers know how to deal with the
convertion from CMYK to RGB by themselves.

.F




pEpkey.asc
Description: application/pgp-keys
___
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] Metapost and TikZ color code equivalent

2020-02-15 Thread Floris van Manen


On 15-02-2020 12:25, Fabrice Couvreur wrote:
> Hi Henri,
> Why does the blue path not rotate 90 with the draw command but rotate
> with the fill command?
> 

Why not draw the match as a picture first, then rotate and shift that
picture?
Also, if you use a local scale unit, it will be easier to stach the
matches together by merely applying a factor in match units.

.F


pEpkey.asc
Description: application/pgp-keys
___
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] mtxrun

2020-02-15 Thread Floris van Manen


On 15-02-2020 06:40, Rudolf Bahr wrote:
> I hope this helps you! At least in the case you're using linux.

it appears as that many of the files in the two path are sort of identical:

~/data/context

$ md5sum bin/mtxrun tex/texmf-linux-64/bin/luametatex
b95ca64fabcb3f09edd861c4b87671cc  bin/mtxrun
b95ca64fabcb3f09edd861c4b87671cc  tex/texmf-linux-64/bin/luametatex

$ md5sum bin/mtxrun.lua tex/texmf-linux-64/bin/mtxrun.lua
4d73c3608cc2463e80c59942b3db7158  bin/mtxrun.lua
4d73c3608cc2463e80c59942b3db7158  tex/texmf-linux-64/bin/mtxrun.lua


There is probably a reason for it ;-)
.F


pEpkey.asc
Description: application/pgp-keys
___
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] upload

2020-02-11 Thread Floris van Manen


On 11-02-2020 17:00, Hans Hagen wrote:
> 
> - support for ecmascript for those who think thayt javascript is better
> than lua (of course only to find out at some point that it's not true in
> the perspective of context but it migh tmake a transition easier). For
> the impatient:
> 
> http://www.pragma-ade.com/general/manuals/ecmascript-mkiv.pdf

to (further) promote the usage of lua, it might help if the examples
given in the pdf documentation will also include the (better) lua version...

.F


pEpkey.asc
Description: application/pgp-keys
___
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] Official file ending?

2020-02-04 Thread Floris van Manen


On 04-02-2020 20:39, Henning Hraban Ramm wrote:
> I’d suggest to start a war to claim it…

we already have it ;-)

.F


pEpkey.asc
Description: application/pgp-keys
___
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] Official file ending?

2020-02-03 Thread Floris van Manen


On 04-02-2020 00:31, Exp wrote:
> 
> Mkiv is a good choice for the moment. If there would be no Mkvi and so
> on, it is good forever.

.tex is used for both tex (as well as latex as well as other wrappers).

how about for the new context era:
.lmtx


.F



pEpkey.asc
Description: application/pgp-keys
___
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] [HOWTO] spanning xtable cells

2020-02-02 Thread Floris van Manen
Can someone (please) help me out to fix the incorrect/unintended
stacking of cells within the xtable?

.Floris


On 31-01-2020 00:13, Floris van Manen wrote:
> Does anyone knows a hint to get the stacked boxes to the correct size?
> When usinig non-zero values for the options
> spaceinbetween and/or columndistance
> the cells of the xtable will not properly size when spanning over rows
> and/or columns.
> 
> e.g.
> 
> \starttext
> 
> \startxtable[spaceinbetween=2mm, columndistance=2mm, corner=round]
>   \startxtablebody
> \startxrow
>   \startxcell[ny=3] a1\stopxcell
>   \startxcell[nx=2] a2/3  \stopxcell
>   \startxcell[ny=3] a4\stopxcell
> \stopxrow
> \startxrow
>   \startxcell b2 \stopxcell
>   \startxcell b3 \stopxcell
> \stopxrow
> \startxrow
>   \startxcell c2 \stopxcell
>   \startxcell c3 \stopxcell
> \stopxrow
> \startxrow
>   \startxcell[nx=3] d1/2/3  \stopxcell
>   \startxcell   d4  \stopxcell
> \stopxrow
> \startxrow
>   \startxcell e1 \stopxcell
>   \startxcell e2 \stopxcell
>   \startxcell e3 \stopxcell
>   \startxcell e4 \stopxcell
> \stopxrow
>   \stopxtablebody
> \stopxtable
> 
> \stoptext
> 
> 
> Screenshot from 2020-01-31 00-11-42.png
> 
> 
> ___
> 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
> ___
> 


pEpkey.asc
Description: application/pgp-keys
___
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] [HOWTO] spanning xtable cells

2020-01-30 Thread Floris van Manen
Does anyone knows a hint to get the stacked boxes to the correct size?
When usinig non-zero values for the options
spaceinbetween and/or columndistance
the cells of the xtable will not properly size when spanning over rows
and/or columns.

e.g.

\starttext

\startxtable[spaceinbetween=2mm, columndistance=2mm, corner=round]
  \startxtablebody
\startxrow
  \startxcell[ny=3] a1\stopxcell
  \startxcell[nx=2] a2/3  \stopxcell
  \startxcell[ny=3] a4\stopxcell
\stopxrow
\startxrow
  \startxcell b2 \stopxcell
  \startxcell b3 \stopxcell
\stopxrow
\startxrow
  \startxcell c2 \stopxcell
  \startxcell c3 \stopxcell
\stopxrow
\startxrow
  \startxcell[nx=3] d1/2/3  \stopxcell
  \startxcell   d4  \stopxcell
\stopxrow
\startxrow
  \startxcell e1 \stopxcell
  \startxcell e2 \stopxcell
  \startxcell e3 \stopxcell
  \startxcell e4 \stopxcell
\stopxrow
  \stopxtablebody
\stopxtable

\stoptext


pEpkey.asc
Description: application/pgp-keys
___
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] [question] \clipping some data from a pdf

2020-01-28 Thread Floris van Manen
Does anyone know?

Using the latest LMTX, i try to clip some portion of an external  pdf
page, then resize that portion on top a new page.
i use the \clip command.

\starttext
\scale[width=100mm, hwight=100mm]{\clip[width=150mm, height=120mm,
hoffset=30mm, voffset=40mm]{\externalfigure[drawing.pdf]}} % incorrect

\scale[width=100mm, hwight=100mm]{\clip[width=150mm, height=120mm,
hoffset=30mm, voffset=136mm]{\externalfigure[drawing.pdf]}} % correct
\stoptext

I noticed that the voffset parameter *always* counts from the top/left
of the external source. Also if the source has its origin defined at the
lower/left corner.
Is that intentional?

It is confusing as when i place a rectangle on top of the clip i want to
extract from the source pdf, the x,w,w,h of that rectangle will not
match the parameter needed for the \clip command.

Or does there happen to be some snazzy tool out there to get the
coordinates of embedden images within a pdf?

.Floris



pEpkey.asc
Description: application/pgp-keys
___
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] Fonts/Layouts in ConTeXt books

2020-01-25 Thread Floris van Manen


On 25-01-2020 21:50, Saša Janiška wrote:
> There are plenty of free font but here

also free:

ibm plex
https://www.ibm.com/plex/

.F


pEpkey.asc
Description: application/pgp-keys
___
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] ConTeXt support for Atom

2020-01-14 Thread Floris van Manen


On 14-01-2020 19:32, Henning Hraban Ramm wrote:
> It’s still work in progress, but I use it every day.

what are the key shortcuts to compile the context file at hand?
i try the atom editor on Linux platform.
Can't find the way to feed the tex file into context luatex...

.F


pEpkey.asc
Description: application/pgp-keys
___
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] [OT] fun kerning challenge

2019-12-31 Thread Floris van Manen
Just in case:
https://type.method.ac



pEpkey.asc
Description: application/pgp-keys
___
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] last beta this year

2019-12-31 Thread Floris van Manen


On 31-12-2019 11:50, Hans Hagen wrote:
> 
> So, upto next year,

tomorrow will be day 737424 as of counting from day 1
;-)
.F


pEpkey.asc
Description: application/pgp-keys
___
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] [LMTX] core dumped

2019-12-26 Thread Floris van Manen


On 26-12-2019 09:02, Wolfgang Schuster wrote:
> 
> Delete the cache and regenerate the format file:
> 
> mtxrun --script cache --erase --make

.
.
.
system  | lua | compiling
'/home/vm/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tma'
into
'/home/vm/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tmd'
system  | lua | dumping
'/home/vm/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tma'
into
'/home/vm/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tmd'
stripped






Not much of an improvement yet...

\starttext
\input knuth
\stoptext


$ context ctx.tex

resolvers   | formats | executing runner 'run luametatex format':
/home/vm/data/context/tex/texmf-linux-64/bin/luametatex --jobname="ctx"
--fmt=/home/vm/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
--lua=/home/vm/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./ctx.tex"
--c:input="./ctx.tex" --c:kindofrun=1 --c:maxnofruns=9
--c:texmfbinpath="/home/vm/data/context/tex/texmf-linux-64/bin"
This is LuaMetaTeX, Version 2.03.5
open source > level 1, order 1, name 'cont-yes.mkiv'
system  >
system  > ConTeXt  ver: 2019.12.24 20:09 MKIV beta  fmt:
2019.12.26  int: english/english
system  >
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name
'/home/vm/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name
'/home/vm/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'ctx', input './ctx', result 'ctx'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name './ctx.tex'
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
open source > level 3, order 4, name 'knuth.tex'
close source> level 3, order 4, name 'knuth.tex'
backend > xmp > using file
'/home/vm/data/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages   > flushing realpage 1, userpage 1, subpage 1
Segmentation fault (core dumped)
mtx-context | fatal error: return code: 35584








pEpkey.asc
Description: application/pgp-keys
___
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] [LMTX] core dumped

2019-12-25 Thread Floris van Manen
the latest version of lmtx does not run, e.g. core dumped...
any hints as how to fix this locally?

.F



This is LuaMetaTeX, Version 2.03.5
open source > level 1, order 1, name 'cont-yes.mkiv'
Segmentation fault (core dumped)
mtx-context | fatal error: return code: 35584
Exit status: 1 [15:30] vm @ vmz: ~/docs/tex [master]: Modified, Untracked
$ context --version
mtx-context | ConTeXt Process Management 1.03
mtx-context |
mtx-context | main context file:
/home/vm/data/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2019.07.24 11:31
mtx-context | main context file:
/home/vm/data/context/tex/texmf-context/tex/context/base/mkiv/context.mkxl
mtx-context | current version: 2019.12.24 20:09


pEpkey.asc
Description: application/pgp-keys
___
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] Disappearing font feature

2019-12-22 Thread Floris van Manen
while trying to reproduce the example, i ran into some confusion myself...

I downloaded the fonts and installed them, then ran the script:
mtxrun --generate
mtxrun --script font --reload
context --make

verifying the existence of the font within the context region:
mtxrun --script fonts --list --all --name jost | cut -d" " -f1
shows the font appeared to be installed:
jostblack
jostblackitalic
jostbold
jostbolditalic
jostbook
jostbookitalic
josthairline
josthairlineitalic
jostheavy
jostitalic
jostlight
jostlightitalic
jostmedium
jostmediumitalic
jostnormal
jostregular
jostsemi
jostsemiitalic
jostthin
jostthinitalic

Now when i compile the example, lmtx will shows an issue with the font:

preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
fonts   > names > font database has mismatching configuration
and file hashes
fonts   > names > warnings are disabled (tracker 'fonts.warnings')
fonts   > names > identifying tree font files with suffix 'otf'
fonts   > names > scanning path
'/home/vm/data/context/tex/texmf-project' for otf files
fonts   > names > 0 otf files checked,  okay
fonts   > names > scanning path
'/home/vm/data/context/tex/texmf-fonts' for otf files
fonts   > names > 0 otf files checked,  okay
fonts   > names > scanning path
'/home/vm/data/context/tex/texmf-local' for otf files
fonts   > names > 0 otf files checked,  okay
fonts   > names > scanning path
'/home/vm/data/context/tex/texmf-modules' for otf files
fonts   > names > 0 otf files checked,  okay
fonts   > names > scanning path
'/home/vm/data/context/tex/texmf-context' for otf files
fonts   > names > 1 otf files checked,  okay
fonts   > names > scanning path
'/home/vm/data/context/tex/texmf-linux-64' for otf files
fonts   > names > 0 otf files checked,  okay
fonts   > names > scanning path
'/home/vm/data/context/tex/texmf' for otf files
fonts   > names > 222 otf files checked,  okay
fonts   > names > identifying tree font files with suffix 'OTF'
fonts   > names > scanning path
'/home/vm/data/context/tex/texmf-project' for OTF files
fonts   > names > 0 OTF files checked,  okay
fonts   > names > scanning path
'/home/vm/data/context/tex/texmf-fonts' for OTF files
fonts   > names > 0 OTF files checked,  okay
fonts   > names > scanning path
'/home/vm/data/context/tex/texmf-local' for OTF files
fonts   > names > 0 OTF files checked,  okay
fonts   > names > scanning path
'/home/vm/data/context/tex/texmf-modules' for OTF files
fonts   > names > 0 OTF files checked,  okay
fonts   > names > scanning path
'/home/vm/data/context/tex/texmf-context' for OTF files
fonts   > names > 1 OTF files checked,  okay
fonts   > names > scanning path
'/home/vm/data/context/tex/texmf-linux-64' for OTF files
fonts   > names > 0 OTF files checked,  okay
fonts   > names > scanning path
'/home/vm/data/context/tex/texmf' for OTF files
fonts   > names > 222 OTF files checked,  okay
fonts   > names > 446 tree files identified, 0 skipped, 0
duplicates, 446 hash entries added, runtime 0.045 seconds




and it will fallback to the default lmroman12-regular

I noticed that if i omit the context --make
and only run
mtxrun --generate
mtxrun --script font --reload

then compile the example, lmtx will show a different set of issues.
Most likely related...



open source > level 1, order 1, name 'cont-yes.mkiv'
system  >
system  > ConTeXt  ver: 2019.12.17 16:30 MKIV beta  fmt:
2019.12.22  int: english/english
system  >
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name
'/home/vm/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name
'/home/vm/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'j2', input './j2', result 'j2'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name './j2.tex'
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
fonts   > defining > font with asked name 'jost-100-hairline' is
not found using lookup 'file'
fonts   > defining > unknown font 'jost-100-hairline', loading
aborted
fonts   > defining > unable to define 'jost-100-hairline' as
'JHair--0'
fonts   > defining > font with asked name 'jost-200-thin' is not
found using lookup 'file'
fonts   > defining > unknown font 'jost-200-thin', loading aborted
fonts   > defining > unable to define 'jost-200-thin' as 'JThin--0'
fonts   > defining > font with asked 

Re: [NTG-context] problem with a new installation of LMTX

2019-12-08 Thread Floris van Manen


On 08/12/2019 17:35, Alan Braslau wrote:
>> but otherwise as Floris suggests in his response, maybe we have to abandon 
>> MacOS in the near future…
> No, simply we need to adapt our procedures (installation scripts) to be 
> compatible with MacOS policy.

That is indeed part of the issue: these platforms want You to move away
from the things that worked before and force you into closed areas
that'll make you depend on them. Its a pattern and a waste of energy
that could be better spend...
(but one cannot force people to their luck ;-)

.F



pEpkey.asc
Description: application/pgp-keys
___
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 a new installation of LMTX

2019-12-08 Thread Floris van Manen


On 08-12-2019 09:12, Jeong Dal wrote:
> Catalina(MacOS 10.15.1) prohibits an unauthorized program run.

There are many ways to solve specific problems.
One approach is to try avoid them in the first place ;-)
So you could consider moving away from MacOS (and Windows).
The problems you describe will become worse over time as most of those
systems are sugar coated surveillance platforms.
Make the move to Linux instead (now that you still can ;-)
FYI ConTeXt works great on Linux (Ubuntu / Pop-OS!)

.F


pEpkey.asc
Description: application/pgp-keys
___
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] [LMTX urgent] core keeps getting dumped after 2019.11.28 LMTX update

2019-11-29 Thread Floris van Manen




On 29-11-2019 13:20, Vladimir Lomov wrote:
> On other host I have luametatex 2019.11.14 and it works fine on all
> investigated examples.


and also the standard (non meta) version works well.

.F


$ context --version
mtx-context | ConTeXt Process Management 1.03
mtx-context |
mtx-context | main context file:
/home/vm/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2019.11.25 17:28
mtx-context | main context file:
/home/vm/context/tex/texmf-context/tex/context/base/mkiv/context.mkxl
mtx-context | current version: 2019.11.25 17:28




pEpkey.asc
Description: application/pgp-keys
___
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] [LMTX urgent] core keeps getting dumped after 2019.11.28 LMTX update

2019-11-28 Thread Floris van Manen
Anyone?

After updating LMTX to the latest version 2019.11.28, context stopped
working, only to produce core dumps ...

Any hints as how to resolve this?
Thanks!
.Floris



resolvers   | formats | executing runner 'run luametatex format':
/home/vm/data/context/tex/texmf-linux-64/bin/luametatex --jobname="zzz"
--fmt=/home/vm/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
--lua=/home/vm/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./zzz.tex"
--c:input="./zzz.tex" --c:kindofrun=1 --c:maxnofruns=9
--c:texmfbinpath="/home/vm/data/context/tex/texmf-linux-64/bin"
This is LuaMetaTeX, Version 2.01.0
open source > level 1, order 1, name 'cont-yes.mkiv'
system  >
system  > ConTeXt  ver: 2019.11.28 14:27 MKIV beta  fmt:
2019.11.29  int: english/english
system  >
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name
'/home/vm/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name
'/home/vm/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'zzz', input './zzz', result 'zzz'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name './zzz.tex'
fonts   > beware: no fonts are loaded yet, using 'lm mono' in box
fonts   > otf loading > loading
'/home/vm/data/context/tex/texmf/fonts/opentype/public/lm/lmmono10-regular.otf',
hash 'lmmono10-regular'
fonts   > otf loading > loading done
fonts   > otf loading > saving
'/home/vm/data/context/tex/texmf/fonts/opentype/public/lm/lmmono10-regular.otf'
in cache
system  > lua > compiling
'/home/vm/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/lmmono10-regular.tma'
into
'/home/vm/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/lmmono10-regular.tmd'
system  > lua > dumping
'/home/vm/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/lmmono10-regular.tma'
into
'/home/vm/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/lmmono10-regular.tmd'
stripped
fonts   > otf loading > loading, optimizing, packing and caching
time 0.029
Floating point exception (core dumped)
mtx-context | fatal error: return code: 34816


pEpkey.asc
Description: application/pgp-keys
___
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] [updating LMTX]

2019-11-20 Thread Floris van Manen
when updating lmtx using the install.sh script, it seems to be unable to
find among others, the web2c . It looks everywhere, except the location
where it was put by that script in the first place.
/home/vm/data/context/tex/texmf/web2c

the $PATH contains
/home/vm/data/context/tex/texmf-linux-64/bin

I have no clue as how to interpret the log.
Should i define $TEXMF ?

.F


...

mtxrun  | forcing cache reload
resolvers   | resolving | looking for regular 'texmfcnf.lua' on
given path '/home/vm/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on
given path '/home/vm/data/texmf-local/web2c' from specification
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on
given path '/home/vm/data/texmf-context/web2c' from specification
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on
given path '/home/vm/data/texmf-dist/web2c' from specification
'selfautoparent:/texmf-dist/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on
given path '/home/vm/data/texmf/web2c' from specification
'selfautoparent:/texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on
given path '/home/vm/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on
given path '/home/vm/data/texmf-local/web2c' from specification
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on
given path '/home/vm/data/texmf-context/web2c' from specification
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on
given path '/home/vm/data/texmf-dist/web2c' from specification
'selfautoparent:/texmf-dist/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on
given path '/home/vm/data/texmf/web2c' from specification
'selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | warning: no lua configuration files found
resolvers   | resolving | no texmf paths are defined (using TEXMF)

...

mtxrun  | unknown script 'cache.lua' or 'mtx-cache.lua'

...


pEpkey.asc
Description: application/pgp-keys
___
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] no vertical line between columns

2019-11-15 Thread Floris van Manen


On 15-11-2019 14:04, Wolfgang Schuster wrote:
> Use separator=rule, the columns environments uses since a few months
> the mixedcolumns mechanism but the you can load the old code base
> with \usemodule[old-multcolumns].

Is the new syntax the default for the new context only?
e.g. the online documentation doesn't mention the separator=rule syntax.

https://wiki.contextgarden.net/Command/setupcolumns

.F


pEpkey.asc
Description: application/pgp-keys
___
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] no vertical line between columns

2019-11-15 Thread Floris van Manen
Using the latest nov 14 version of context
i get now separating line between columns.


\startcolumns[n=2,rule=on]
\input knuth
\stopcolumns

Has the syntax changed?


mtx-context | main context file:
/home/vm/data/context/tex/texmf-context/tex/context/base/mkiv/context.mkxl
mtx-context | current version: 2019.11.14 17:47





pEpkey.asc
Description: application/pgp-keys
___
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] beta

2019-10-29 Thread Floris van Manen


On 29-10-2019 14:21, Hans Hagen wrote:
> You mean: produce pdf layers? Well, imo usage of  is so messy and
> inconsistent that it doesn't pay off, apart from overhead. But grouping
> as way of combining properties is supported.
> 

the cause might be outside context.
e.g. it might be that the layers/grouping are dropped by inkscape while
importing the pdf.

if i export the original svg as a pdf within inkscape, then re-import it
again, the layers/grouping are gone too.

not urgent, as many other paths exist ;-)
.F



pEpkey.asc
Description: application/pgp-keys
___
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] beta

2019-10-28 Thread Floris van Manen


On 28-10-2019 19:20, Hans Hagen wrote:
> 
> As a teaser ... it is also possible to embed svg code, as in:
> 
> \startbuffer[svgtest]
> 
>          cx="50" cy="50" r="40"
>     stroke="green" stroke-width="10" stroke-opacity="0.3"
>     fill="red" fill-opacity="0.3"
>     />
>          cx="150" cy="50" r="40"
>     stroke="green" stroke-width="10"
>     fill="red"
>     opacity="0.3"
>     />
> 
> \stopbuffer
> 
> \startTEXpage
>     \includesvgbuffer[svgtest]
> \stopTEXpage
> 
> \startTEXpage
>     \includesvgbuffer[svgtest][offset=2bp]
> \stopTEXpage

Nice !
It seems that it does not retains the  grouping and layering in
place. e.g. everything ends up in one layer and one group.

.Floris



pEpkey.asc
Description: application/pgp-keys
___
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] howto create labels with multiple lines ?

2019-10-10 Thread Floris van Manen
List,

In the metafun-p document, there is the example creating a clock with
labels placed at the dots.

pair destination ;
for whereto = 0 step 30 until 330 :
destination := dir(whereto) * 1.5cm ;
freedotlabel(decimal whereto, destination, origin) ;
drawarrow origin -- destination
withpen pencircle scaled .25mm withcolor .625 red ;
endfor ;


I cannot find any example as how to have a label with multiple lines.
like:

. one
  two


  two
. three
  four


Can someone point me to an example as how to do that?

Thanks
.Floris


pEpkey.asc
Description: application/pgp-keys
___
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] context --autopdf=auto/default

2019-08-29 Thread Floris van Manen


On 29-08-19 11:40, Henning Hraban Ramm wrote:
> Hans, could you use "xdg-open" for "—autopdf=auto" on Linux?
> That’s more or less the same as "open" on MacOS.


you could also create an alias for in your .bashrc

alias open=xdg-open



pEpkey.asc
Description: application/pgp-keys
___
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] ttf font not seen ?

2019-08-28 Thread Floris van Manen


On 26-08-19 22:11, Floris van Manen wrote:
> 
> On 26-08-19 21:27, Mohammad Hossein Bateni wrote:
>> I have had the same problem.  Unlike Mark IV Context, LMTX does not seem
>> to recognize fonts outside its tree.  Maybe there's some option to tweak
>> with.
>>
>> The workaround I found was to copy the TTF files under
>> "{context-lmtx-root}/tex/texmf/fonts/truetype/public/" and run "context
>> --generate".
>>
>> If you like to have mtxrun font commands to work properly, you need to
>> invoke "mtxrun --script font --reload" after that.
>>
>> Hope this helps.
> nope.
> does not work here.
> 
> can the native font paths be symbolically linked into the lmtx font tree ?



Is there a description available as how to include all font paths of the
underlaying system (ubuntu) into the font awareness of the new
luametatex system so they can be used?
Apparently there is a difference between the older (works) and the newer
(does not work) system.

thanks
Floris



pEpkey.asc
Description: application/pgp-keys
___
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] ttf font not seen ?

2019-08-26 Thread Floris van Manen


On 26-08-19 21:27, Mohammad Hossein Bateni wrote:
> I have had the same problem.  Unlike Mark IV Context, LMTX does not seem
> to recognize fonts outside its tree.  Maybe there's some option to tweak
> with.
> 
> The workaround I found was to copy the TTF files under
> "{context-lmtx-root}/tex/texmf/fonts/truetype/public/" and run "context
> --generate".
> 
> If you like to have mtxrun font commands to work properly, you need to
> invoke "mtxrun --script font --reload" after that.
> 
> Hope this helps.

nope.
does not work here.

can the native font paths be symbolically linked into the lmtx font tree ?

.F



pEpkey.asc
Description: application/pgp-keys
___
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] ttf font not seen ?

2019-08-26 Thread Floris van Manen
using the latest context version luametatex on ubuntu 19.4

system  > ConTeXt  ver: 2019.08.24 22:50 MKIV beta  fmt:
2019.8.25  int: english/english
system  > 'cont-new.mkiv' loaded


with the dijkstra.ttf font apparently seen:

$ mtxrun --script fonts --list --all --name dijkstra
identifierfamilyname   fontname   filename
  subfont   instances

dijkstra  dijkstra dijkstra   ~/.local/share/fonts/Unknown
Vendor/TrueType/Dijkstra/Dijkstra_Thin.ttf
dijkstranormaldijkstra dijkstra   ~/.local/share/fonts/Unknown
Vendor/TrueType/Dijkstra/Dijkstra_Thin.ttf
dijkstraregular   dijkstra dijkstra   ~/.local/share/fonts/Unknown
Vendor/TrueType/Dijkstra/Dijkstra_Thin.ttf



context will complain that the font is unknown:

selectfont  > The requested font 'dijkstra' has no files for the
'tf' alternative, Latin Modern is used instead.


I assume i missed a critical step somewhere down the road.
any hints?

thanks
Floris





pEpkey.asc
Description: application/pgp-keys
___
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] metafun 2

2019-08-14 Thread Floris van Manen
where can i find the steps to install lmtx next to my current context
luatex ?

.F


pEpkey.asc
Description: application/pgp-keys
___
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] [feature] update

2019-08-09 Thread Floris van Manen


On 09-08-19 16:18, Hans Hagen wrote:
> it uses rsync so it already does partial downloads
> 

but it is still very verbose...
is there a less-verbose switch ?

.F


pEpkey.asc
Description: application/pgp-keys
___
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] [feature] update

2019-08-09 Thread Floris van Manen
I do a daily update of the context distribution using the command
sh ./first-setup.sh --modules=all --engine=luatex

This works well, but is rather verbose on the screen.
Would it be possible to have a less verbose version?
Or that the script could check some kind of a checksum before deciding
to download all data? Or download only part of the data (saving on some
carbon footprint ;-)

Thanks.
.Floris





pEpkey.asc
Description: application/pgp-keys
___
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] preventing page break

2019-07-10 Thread Floris van Manen
Hello List,

What is the preferred way in context to prevent a page break happening
between the heading(s) of a section and, for instance, the first 3 lines
of the following paragraph?

\section(one)
\subsection(one two}
%--- no page break here
One two three for ...
One two three for ...
One two three for ...
%- from here page breaks allowed




Thanks
.Floris


pEpkey.asc
Description: application/pgp-keys
___
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] Typesetting Markdown -- Part 3

2019-06-17 Thread Floris van Manen


On 17-06-19 19:31, Thangalin wrote:
> 
> Definitely. Part 4 will be about themes.

great !

.F


pEpkey.asc
Description: application/pgp-keys
___
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] Typesetting Markdown -- Part 3

2019-06-17 Thread Floris van Manen


On 17-06-19 07:54, Thangalin wrote:
> Hi all!
> 
> The third part of the series describes a way to perform continuous
> integration when writing Markdown that is typeset using ConTeXt.
> 
> https://dave.autonoma.ca/blog/2019/06/16/typesetting-markdown-part-3/
> 
> Suggestions for improvement are welcome.
> 
> Thank you.

Very nice indeed.
Maybe some instructions as how to adjust/redefine the pandoc output?
e.g. how to include different style templates for ConTeXt.

.F


pEpkey.asc
Description: application/pgp-keys
___
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] Questions on columnsetspan (and grids and backgrounds)

2019-05-14 Thread Floris van Manen
is this related?

\setuplayout[grid=yes]
\showgrid
\definecolumnset[three][n=3]
\starttext
\samplefile{knuth}
\startcolumns[n=3]
\dorecurse{4}{\samplefile{knuth}\par}
\stopcolumns
\page
\samplefile{knuth}
\startcolumnset[three]
\dorecurse{4}{\samplefile{knuth}\par}
\stopcolumnset
\stoptext


Using the \startcolumnset instead of \startcolumns will overwrite the first 
paragraph at the top of the page
in its second and third column

.F


signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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 get reference label from stacked itemize

2019-04-06 Thread Floris van Manen

> Did you try \item[myref] and \in[myref]?
> 

This will do the job indeed.

\starttext
\startitemize[n]
\item One
\item[refTwo] Two
\startitemize[a]
\item A
\item[refB] B Test
\stopitemize
\stopitemize

see (\in[refTwo].\in[refB]) for Test



Is there some construction to combine an item reference with its parent item?

\startitemize[n]
\item One
\item Two
\startitemize[a]
\item A
\item[refB] B Test
\stopitemize

see (\in[parent, refB].\in[refB]) for Test




signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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 get reference label from stacked itemize

2019-04-06 Thread Floris van Manen
Could someone point me to the docs where to find the proper way to
make a reference to some stacked itemize context?


\startitemize[n]
\item One
\item Two
\startitemize[a]
\item A
\item B Test
\stopitemize
\stopitemize

how to label / ref the generated label for item 2.b ?

see (2.b) Test



Thanks!
.Floris van Manen




signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] follow up

2019-04-02 Thread Floris van Manen
> More likely the problem it has is due to the omitted /CIDSet in the font 
> descriptor.
> 
> The error is in the display engine, not the text extractor (since cut 
> work ok).
> And that means the problem is almost certainly not the cmap. The only other 
> non-trivial
> difference I saw in the old vs. new pdf was that no longer present /CIDSet.
> 
> Unf., generating one in the text editor is bit beyond me-on-the-could mode, 
> so I can
> not be certain of that although it seems likely (I checked with FF that the 
> two glyphs
> are indeed in the embedded font subset and in the exact slots the pdf says 
> they have, so
> that is also unlikely to be the problem.)
> 

I’m not familiar with the internals of pdf files.

When i use firefox as pdf viewer, the font information seems to go void in the 
new version (fun1.pdf).








fun.pdf
Description: Adobe PDF document


fun1.pdf
Description: Adobe PDF document




signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] follow up

2019-04-02 Thread Floris van Manen
> indeed on preview no x shows up but it does in other viewers
> 

Not just the x.
In the second example the s will disappear, be shows up if you add some extra 
digits, and then dropping the 2

The OSX preview is flaky but i’d assume the output of both context version 
would be similar (enough)

.F


signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] follow up

2019-04-02 Thread Floris van Manen
> With osx preview? How small can you make that test (try removing characters) 
> till it shows up ok.

yes, OSX 10.11.6 preview
Most likely an issue with OSX preview.
The pdf show correct on Ubuntu

.F


the error will stay all the way down:

\starttext
conText
\stoptext






\starttext
conTest
\stoptext




\starttext
conTest 123
\stoptext




signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] follow up

2019-04-02 Thread Floris van Manen
There seems to be some subtle differences in the pdf output when comparing the 
old and new context

This is the context input:

\usemodule [vim]
\setuppapersize [A4]
\setuplayout [
  backspace=10mm,
  topspace=25mm,
  width=190mm,
  header=0mm,
  footer=0mm,
  height=240mm,
]

\setupheader [state=empty, no]
\setupbodyfontenvironment [default] [em=italic]
\definefontfamily [myfamily] [serif] [TeX Gyre Termes]
\setupbodyfont [myfamily, 10pt]
\definefontsize [e]
\definebodyfontenvironment [default] [e=3.5]
\starttext
\strut\vfill
\startalign[center]
{\tfe conText is fun}
\blank[10mm]
{\em ( ijver & vlijt 8+ )}

\stopalign
\vfill\strut
\stoptext


this is the old version

this is the new output





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] follow up

2019-04-01 Thread Floris van Manen
H.

> We have worked furiously all day kicking-out extra code, and are pleased to 
> present a lean-and-mean version of luatex with your favorite ConTeXt. Same 
> good taste but only half the calories and a new name: luametatex and ConTeXt 
> LMTX. No more Mk-whatever, no more dependencies for we can now stand on our 
> own. Of course, good-old luatex and MkIV (as well as MkII) will continue to 
> coexist and be maintained. However, now you will be able to run ConTeXt lmtx 
> on your smart thermostat or on your refrigerator for the Internet of Things - 
> the dawn of a new era!

That sound like a very good thing indeed !
Is it available for download already?

.F



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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 logo proposal

2019-01-30 Thread Floris van Manen
> On Wed, Jan 30, 2019 at 10:15 AM Floris van Manen  wrote:
> If TeX and Context are about typesetting beautiful readable typography,
> the logos as presented do not reflect that thought per se.
> At first glance is is a pile of incoherent letters and colours.
> e.g. difficult to read and memorise.
> 
> 
> perhaps a gradient on background can suggest the right orientation of reading.
> 
> 

Making things complex is easy.
The challenge remains to find a simple solution.

> In fact, having a pictograph instead of / along with
> textual content is probably a good idea.

I do agree ;-)


Here’s an attempt the blend the lines in plain monochrome …
The latter having a naive reference to the typical TeX letter dropping

e.g. always room for improvement ;-)

.F









signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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 logo proposal

2019-01-30 Thread Floris van Manen
If TeX and Context are about typesetting beautiful readable typography,
the logos as presented do not reflect that thought per se.
At first glance is is a pile of incoherent letters and colours.
e.g. difficult to read and memorise.

.F



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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 logo proposal

2019-01-30 Thread Floris van Manen
> @Floris vM: Font, spacing, overall appealingness.
> No Helvetica/Nimbus Sans, which has less meaning to me for ConTeXt than a 
> DIN-ish/technical one.
> Colors are fun.

Could you elaborate on how ‘fun’ in colors is defined?
I see no coherency in the color palet.


> If you don’t see it this way, it’s perfectly fine.
> 

Apparently i see different ;-)
How about a one color logo without any text?


.F



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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
___

  1   2   >