[NTG-context] Re: OSFONTDIR

2023-07-19 Thread Hans Hagen via ntg-context

On 7/19/2023 10:27 PM, Thomas A. Schmitz wrote:

Hi everybody,

just a short question: I was under the impression that ConTeXt would not 
look for system fonts unless we set OSFONTDIR explicitly; this appears 
to be the basis of the page Use_the_fonts_you_want on the wiki, and I 
prefer this behavior because it lets me control the fonts I want to use. 
Recently, however (when exactly? I don't know.) this seems to have 
changed, and ConTeXt now searches the system font directories by 
default. I found this out because one of my documents is set up to use 
the STIX2 fonts. In the most recent versions of macos, some files of 
these fonts are included as system fonts under 
/System/Library/Fonts/Supplemental, but not all of them. It took me some 
head scratching to figure out why every run complained about missing 
glyphs until I saw that ConTeXt was using the wrong font. I had to set 
the variable OSFONTDIR to some value to prevent this from happening. So 
my question is: is looking for system fonts by default the new standard? 
Is it a good idea?


Thank you and all best
it is a tex live thing; you can just set that variable to nothing, in 
the environment or in a local file like in


../tex/texmf-local/web2c/texmfcnf.lua

normally texmf-fonts is where i put fonts and that one should win

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

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

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


[NTG-context] Re: Custom highlight ConTeXt syntax in AUCTEX

2023-07-19 Thread skrantajanneman
It does not highlight e.g \starttext keyword by default. The colorscheme seems 
adapted to LaTeX mode so I managed to fix this now for all \start - \stop 
commands with this code put in ~/.emacs.d/init.el

(add-hook ’ConTeXt-mode-hook
(lambda ()
 (font-lock-add-keywords nil
   ’((”\\(start\\w*\\)\\>” 1 
font-lock-function-name-face t)
  (”\\(stop\\w*\\)\\>” 1 
font-lock-function-name-face t)

And the regexp was done with help from interactive inbuilt function re-builder 
in emacs

The next goal is to highlight variabels like \textwidth for example

Thanks for feedback

/Jan-erik 

Skickat från min iPhone

> 19 juli 2023 kl. 17:20 skrev Henning Hraban Ramm :
> 
> Am 19.07.23 um 15:38 schrieb Jan-Erik Hägglöf:
>> Dear All!
>> I've been using emacs AUCTEX for quite a while and found it very convenient 
>> to work with.
>> One issue is the lack of syntax highlighting.
> 
> https://wiki.contextgarden.net/Text_Editors says, Emacs has ConTeXt support 
> including syntax highlighting.
> 
> I don’t use Emacs, so I don’t know how to activate/configure it.
> Maybe it expects a different file extension, like .ctx?
> 
> Hraban
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

[NTG-context] OSFONTDIR

2023-07-19 Thread Thomas A. Schmitz

Hi everybody,

just a short question: I was under the impression that ConTeXt would not 
look for system fonts unless we set OSFONTDIR explicitly; this appears 
to be the basis of the page Use_the_fonts_you_want on the wiki, and I 
prefer this behavior because it lets me control the fonts I want to use. 
Recently, however (when exactly? I don't know.) this seems to have 
changed, and ConTeXt now searches the system font directories by 
default. I found this out because one of my documents is set up to use 
the STIX2 fonts. In the most recent versions of macos, some files of 
these fonts are included as system fonts under 
/System/Library/Fonts/Supplemental, but not all of them. It took me some 
head scratching to figure out why every run complained about missing 
glyphs until I saw that ConTeXt was using the wrong font. I had to set 
the variable OSFONTDIR to some value to prevent this from happening. So 
my question is: is looking for system fonts by default the new standard? 
Is it a good idea?


Thank you and all best

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

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


[NTG-context] Re: \placeinitial problem

2023-07-19 Thread Hans Hagen

On 7/19/2023 8:32 PM, Alan Bowen wrote:


The latest version fixes the \placeinitial issue.
it's kind of tricky because a nested paragraph (as in footnotes) can 
reset the state so we need to take precautions for that without harming 
performance


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

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

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


[NTG-context] Re: \placeinitial problem

2023-07-19 Thread Alan Bowen
Hans—

The latest version fixes the \placeinitial issue.

Many thanks!

Alan

On Sun, Jul 16, 2023 at 5:09 PM Alan Bowen  wrote:

> Hi—
> \placeinitial seems to fail when there is a footnote in the paragraph. At
> least
>
> \startparagraph
> \placeinitial \input ward \footnote{A footnote.}
> \stopparagraph
>
>
> only works when the footnote is commented out.
>
> I am running lmtx [ConTeXt  ver: 2023.06.22  LMTX  fmt: 2023.6.26]
>
> Alan
>
>
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

[NTG-context] Re: enhancing MetaPost presentation progress graphics

2023-07-19 Thread Duncan Hothersall
I am in awe at this. Thanks for sharing.

On Wed, 19 Jul 2023 at 18:11, Henning Hraban Ramm  wrote:

> Am 19.07.23 um 14:07 schrieb Taco Hoekwater:
> > First, find the actual point along the curve of the wave you want, then
> you can ask for the direction of the wave at that time, and its point:
>
> Thank you!
>
> > pair itime, iangle, boatpos;
> >
> > itime = (wave[3] intersectiontimes ((xpos,0)--(xpos,infinity)));
> > iangle = direction (xpart itime) of wave[3];
> > boatpos = (point (xpart itime) of wave[3]) shifted (-5,0); % shift to
> center horizontally
>
> There was still an error that I introduced:
> The boat on the first page is already way in, while on the last page it
> falls over the edge of the world.
>
> I fixed several other things and drew a nicer boat. Feel free to use it.
>
> Hraban
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

[NTG-context] Re: enhancing MetaPost presentation progress graphics

2023-07-19 Thread Henning Hraban Ramm

Am 19.07.23 um 14:07 schrieb Taco Hoekwater:

First, find the actual point along the curve of the wave you want, then you can 
ask for the direction of the wave at that time, and its point:


Thank you!


pair itime, iangle, boatpos;

itime = (wave[3] intersectiontimes ((xpos,0)--(xpos,infinity)));
iangle = direction (xpart itime) of wave[3];
boatpos = (point (xpart itime) of wave[3]) shifted (-5,0); % shift to center 
horizontally


There was still an error that I introduced:
The boat on the first page is already way in, while on the last page it 
falls over the edge of the world.


I fixed several other things and drew a nicer boat. Feel free to use it.

Hraban


boat.tex
Description: TeX document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

[NTG-context] Re: Slow sreach with new mailing list interfache

2023-07-19 Thread Pablo Rodriguez
On 7/17/23 09:10, Taco Hoekwater wrote:
>> [...]
>> BTW, it is really a pity that the new interface doesn’t consider all
>> messages send from and to the list as with the address of the mailing
>> list itself.
>>
>> This would avoid non-intended private replies.
>
> I do not have that? If I press “Reply” in my mailer it goes to the list.

Hi Taco,

some messages include a "Reply-to" field. But other ones add in the
"From" field with the structure "Name Surname via ntg-context
" (original sender address is included in "CC" field).

The second pattern seemed to be the standard before the new HyperKitty
interface.

Many thanks for your reply and your help,

Pablo



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

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

[NTG-context] Re: unsubscribe

2023-07-19 Thread Pablo Rodriguez
On 7/18/23 16:27, Felipe de Jesús Molina Bravo wrote:
> thanks Mailing

Felipe,

here you have the right address to unsubscribe:

https://mailman.ntg.nl/accounts/login/?next=/mailman3/lists/ntg-context.ntg.nl/

I hope it helps,

Pablo

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

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

[NTG-context] Re: Custom highlight ConTeXt syntax in AUCTEX

2023-07-19 Thread Henning Hraban Ramm

Am 19.07.23 um 15:38 schrieb Jan-Erik Hägglöf:

Dear All!
I've been using emacs AUCTEX for quite a while and found it very 
convenient to work with.


One issue is the lack of syntax highlighting.


https://wiki.contextgarden.net/Text_Editors says, Emacs has ConTeXt 
support including syntax highlighting.


I don’t use Emacs, so I don’t know how to activate/configure it.
Maybe it expects a different file extension, like .ctx?

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

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

[NTG-context] Custom highlight ConTeXt syntax in AUCTEX

2023-07-19 Thread Jan-Erik Hägglöf
Dear All!
I've been using emacs AUCTEX for quite a while and found it very convenient
to work with.

One issue is the lack of syntax highlighting.

I've tried some elisp code and added the following hook when I'm in
ConTeXt-mode:

(add-hook 'ConTeXt-mode-hook
  (lambda ()
(font-lock-add-keywords nil
'(("\\(starttext\\)\\>" 1
font-lock-warning-face t)
  ("\\(stoptext\\)\\>" 1
font-lock-warning-face t)

and it seems to highlight the start-stop text keyword.

So my question is:
Is there a way to accomplish a similar way of highlighting all other
keywords that belongs to the ConTeXt typesetting syntax?

Maybe a REGEXP (I'm not good at writing those) can do this in some way
without manually write every start-stop sequence that exists.

Have anyone, using AUCTEX, already did some customizing already who wants
to share it with me.

Many thanks in advance

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

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

[NTG-context] Re: enhancing MetaPost presentation progress graphics

2023-07-19 Thread Taco Hoekwater
Hi,

First, find the actual point along the curve of the wave you want, then you can 
ask for the direction of the wave at that time, and its point:

\startuseMPgraphic{Waves}
numeric height,stops,yoffset;
stops := 10;
height := OverlayHeight/10;
path wave[]; % storing waves

draw (0,0)--(OverlayWidth,0)--(OverlayWidth,OverlayHeight) withcolor white 
withpen pencircle scaled 0.01;

for j=1 upto 3:
 definecolor [name="Sea", y=(j/20), c=2*(j/10), m=(j/20)];
 yoffset := height/(j*2);
 wave[j] := (0,0)--(0,yoffset)...
 for i=1 upto stops:
   (OverlayWidth*i/(stops+1), (yoffset) randomized (height/2)) ...
 endfor
 (OverlayWidth,yoffset);
 fill ((0,0)--wave[j]--(OverlayWidth,0)--cycle) withcolor "Sea";
endfor;

xpos := OverlayWidth * RealPageNumber/NOfPages;
path ship;
ship := (0,10)---(70,10)...(60,0)---(10,0)...cycle;

pair itime, iangle, boatpos;

itime = (wave[3] intersectiontimes ((xpos,0)--(xpos,infinity)));
iangle = direction (xpart itime) of wave[3];
boatpos = (point (xpart itime) of wave[3]) shifted (-5,0); % shift to center 
horizontally

fill ship xysized (10,5) shifted boatpos rotatedaround (boatpos, angle iangle) 
withcolor red;
\stopuseMPgraph

> On 19 Jul 2023, at 12:32, Henning Hraban Ramm  wrote:
> 
> Hi,
> I’d like a presentation progress indicator that looks like a boat on waves – 
> and if it works, it can also become a bike on hills or a mars rover on dunes. 
> But my math skills are lacking.
> 
> Below’s a mostly working draft.
> 
> * I find the waves not yet very convincing. Would it make sense to use a 
> randomized sinus? (How?)
> 
> * The boat should sit on the middle wave and be rotated by the current slope. 
> I know I need the “time” of the upper curve and get the 1st derivation, but 
> how?
> 
> """
> \setuppapersize[SW]
> 
> \startuseMPgraphic{Waves}
> numeric height,stops,yoffset;
> stops := 10;
> height := OverlayHeight/10;
> path wave;
> 
> draw (0,0)--(OverlayWidth,0)--(OverlayWidth,OverlayHeight) withcolor white 
> withpen pencircle scaled 0.01;
> 
> for j=1 upto 3:
>  definecolor [name="Sea", y=(j/20), c=2*(j/10), m=(j/20)];
>  yoffset := height/(j*2);
>  wave := (0,0)--(0,yoffset)...
>  for i=1 upto stops:
>(OverlayWidth*i/(stops+1), (yoffset) randomized (height/2)) ...
>  endfor
>  (OverlayWidth,yoffset)--(OverlayWidth,0)--cycle;
>  fill wave withcolor "Sea";
> endfor;
> 
> pair pos;
> pos := (OverlayWidth * RealPageNumber/NOfPages, height/2 randomized 2);
> path ship;
> ship := (0,10)---(70,10)...(60,0)---(10,0)...cycle;
> 
> fill ship xysized (10,5) shifted pos rotatedaround (pos, 15) withcolor red;
> \stopuseMPgraphic
> 
> \defineoverlay[Waves][\useMPgraphic{Waves}]
> 
> \setupbackgrounds[state=repeat]
> \setupbackgrounds[page][background={Waves}]
> 
> \starttext
> 
> \dorecurse{10}{\recurselevel\page}
> 
> \stoptext
> """
> 
> Hraban
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___


— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)


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

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

[NTG-context] Re: enhancing MetaPost presentation progress graphics

2023-07-19 Thread Floris van Manen via ntg-context




On 19/07/2023 12:32, Henning Hraban Ramm wrote:
I find the waves not yet very convincing. 


Depending on the intended weather,
I'd rather flatten the amplitudes out with the distance.
Unlike mountains, waves do not get much higher at the horizon.

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

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


[NTG-context] enhancing MetaPost presentation progress graphics

2023-07-19 Thread Henning Hraban Ramm

Hi,
I’d like a presentation progress indicator that looks like a boat on 
waves – and if it works, it can also become a bike on hills or a mars 
rover on dunes. But my math skills are lacking.


Below’s a mostly working draft.

* I find the waves not yet very convincing. Would it make sense to use a 
randomized sinus? (How?)


* The boat should sit on the middle wave and be rotated by the current 
slope. I know I need the “time” of the upper curve and get the 1st 
derivation, but how?


"""
\setuppapersize[SW]

\startuseMPgraphic{Waves}
numeric height,stops,yoffset;
stops := 10;
height := OverlayHeight/10;
path wave;

draw (0,0)--(OverlayWidth,0)--(OverlayWidth,OverlayHeight) withcolor 
white withpen pencircle scaled 0.01;


for j=1 upto 3:
  definecolor [name="Sea", y=(j/20), c=2*(j/10), m=(j/20)];
  yoffset := height/(j*2);
  wave := (0,0)--(0,yoffset)...
  for i=1 upto stops:
(OverlayWidth*i/(stops+1), (yoffset) randomized (height/2)) ...
  endfor
  (OverlayWidth,yoffset)--(OverlayWidth,0)--cycle;
  fill wave withcolor "Sea";
endfor;

pair pos;
pos := (OverlayWidth * RealPageNumber/NOfPages, height/2 randomized 2);
path ship;
ship := (0,10)---(70,10)...(60,0)---(10,0)...cycle;

fill ship xysized (10,5) shifted pos rotatedaround (pos, 15) withcolor red;
\stopuseMPgraphic

\defineoverlay[Waves][\useMPgraphic{Waves}]

\setupbackgrounds[state=repeat]
\setupbackgrounds[page][background={Waves}]

\starttext

\dorecurse{10}{\recurselevel\page}

\stoptext
"""

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

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

[NTG-context] Re: Ukrainian hyphenation?

2023-07-19 Thread Hans Hagen via ntg-context

On 7/19/2023 8:58 AM, Gerben Wierda wrote:




On 19 Jul 2023, at 08:52, Hans Hagen  wrote:

so best not mess with setting up languages that already have been set up.


I had no idea I was messing. What am I doing wrong, then. Because in my actual 
document with ua language setting it is not hyphenated. This was just a minimal 
example


do you get something similar?

>mtxrun lang-uk.lua
c:/data/develop/tex-context/tex/texmf-context/tex/context/patterns/mkiv/lang-uk.lua

uk is the offical tag but for historic reasone we use ua as language; 
given the uk's exit and ua's entry in the european union we could now 
consider adapting it; and i'd wonder is anyone would notice - or bother 
- is we'd use ukrain hyphenation for russian, which could save some 
bytes in the distribution


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

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

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


[NTG-context] Re: Ukrainian hyphenation?

2023-07-19 Thread Gerben Wierda



> On 19 Jul 2023, at 08:52, Hans Hagen  wrote:
> 
> so best not mess with setting up languages that already have been set up.

I had no idea I was messing. What am I doing wrong, then. Because in my actual 
document with ua language setting it is not hyphenated. This was just a minimal 
example 
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Re: Ukrainian hyphenation?

2023-07-19 Thread Hans Hagen

On 7/19/2023 12:36 AM, Gerben Wierda wrote:

This file:

\setupinteraction
   [state=start,
color=blue,
style=bold]

\definefallbackfamily
   [archimate]
   [ss]
   [Helvetica]
   [preset=range:cyrillic,
tf=style:light,
it=style:lightoblique,
bf=style:regular,
bi=style:oblique,
force=yes,
rscale=1.0]
\definefontfamily [archimate] [ss] [Helvetica]
\setupbodyfont[archimate]

\starttext
\setuplanguage[en][patterns={ru}]\mainlanguage[ru]
{\framed[frame=on,align=flushleft,width=7cm]{Техніка здатна до фізичної 
поведінки (на відміну від інформаційної поведінки). Наприклад `Металургійний 
комбінат'.}}\\
\setuplanguage[ua][patterns={ua}]\mainlanguage[ua]
{\framed[frame=on,align=flushleft,width=7cm]{Техніка здатна до фізичної 
поведінки (на відміну від інформаційної поведінки). Наприклад `Металургійний 
комбінат'.}}\\

\stoptext

Hyphenates russian but not ukrainian. Why?
If there was some magick like that going on it should be the reverse 
right now. That said,


\setupbodyfont[dejavu]

\startbuffer[sample]
Техніка здатна до фізичної поведінки (на відміну від інформаційної
поведінки). Наприклад `Металургійний комбінат'.
\stopbuffer

\starttext

\mainlanguage[ru] {\hsize3cm \getbuffer[sample]}

\mainlanguage[ua] {\hsize3cm \getbuffer[sample]}

\stoptext

hyphenates differently and eventually reports

  mkiv lua stats  > loaded patterns: en::1 ru::22 ua::23

so best not mess with setting up languages that already have been set up.

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

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

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

[NTG-context] Re: new upload

2023-07-19 Thread Hans Hagen via ntg-context

On 7/18/2023 11:53 PM, Rik Kabel wrote:

Nice. Some of my make files use concurrence (MAKEFLAGS += --jobs=5). 
That seems to bring similar benefits. Is this different beyond the syntax?
they are different processes indeed, but the implementation is somewhat 
curious as it needs to be portable across operating systems and i don't 
want to add dependencies to the engine, so we go for a little less 
performance but not that much in practice


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

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

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