Re: [NTG-context] viewer layers (optional content groups, OCG)

2023-06-22 Thread Hans Hagen via ntg-context

On 6/19/2023 8:41 PM, Henning Hraban Ramm via ntg-context wrote:

Checking viewer layers:

* \setupviewerlayer doesn’t work; e.g. "state=stop" only works if I put 
it in \defineviewerlayer

in next upload

-
  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
___


Re: [NTG-context] right and left arrowfill

2023-06-22 Thread Hans Hagen via ntg-context

On 6/22/2023 3:32 PM, Hans van der Meer via ntg-context wrote:

\starttext
x \rightarrowfill x

x \leftarrowfill x

hbox to 5cm:

y\hbox to5cm{\rightarrowfill}y

y\hbox to5cm{\leftarrowfill}y
\stoptext

But obviously not in an dimensioned \hbox, whereas Knuth's version does that 
too.

\permanent\protected\def\adaptive{\dowithnextbox{\adaptivecheckbox\nextbox\box\nextbox}}

y\adaptive\hbox to5cm{x\rightarrowfill x}y

y\adaptive\hbox to5cm{x\leftarrowfill x}y

will keep you occupied for a while because now you have to grep for 
adaptive


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
___


Re: [NTG-context] right and left arrowfill

2023-06-22 Thread Hans van der Meer via ntg-context
\starttext   x \rightarrowfill x   x \leftarrowfill xhbox to 5cm:   y\hbox to5cm{\rightarrowfill}y   y\hbox to5cm{\leftarrowfill}y\stoptextBut obviously not in an dimensioned \hbox, whereas Knuth's version does that too.

On 22 Jun 2023, at 15:11, Hans Hagen via ntg-context  wrote:   x \rightarrowfill x   x \leftarrowfill xyours sincerelydr. Hans van der Meer

hboxarrowfill.pdf
Description: Adobe PDF 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
___


Re: [NTG-context] floatcombinations seem to not work correctly after lmtx update

2023-06-22 Thread Hans Hagen via ntg-context

On 6/19/2023 1:53 PM, Gerion Entrup via ntg-context wrote:

Hi,

I recently updated my Context (lmtx). Unfortunately, I'm not aware of
the previous version anymore. The current one is 2023.06.04 18:58.

After the update one of my documents broke at floatcombinations.
The relevant code is this one:
the fact that you don't see a) coudl point to some mismatsh in 
start/stop or { }


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
___


Re: [NTG-context] right and left arrowfill

2023-06-22 Thread Hans Hagen via ntg-context

On 6/21/2023 10:10 PM, Hans van der Meer via ntg-context wrote:

A few days ago I drew attention to the fact that \rightarrowfill and 
\leftarrowfill are broken in the latest ConTeXt. Imho that should not happen 
with basic TeX macro's.
Although one can recreate their definitions from the TeX-book (see the MWE 
attached), I still do not understand why it should be needed.


\starttext

x \rightarrowfill x

x \leftarrowfill x

\stoptext

works ok here

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] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-06-22 Thread Cron Daemon via ntg-context
receiving incremental file list
 ./
 ctan.lsr
 document-2.htm
 download-1.htm
 download-2.htm
 logo-ade.png
 logo-cts.png
 logo-pod.png
 rss.xml
 show-fil.pdf
 context/latest/
 context/latest/cont-lmt.zip
 context/latest/cont-mpd.zip
 context/latest/cont-ppc.zip
 context/latest/cont-sci.zip
 context/latest/cont-tmf.zip
 context/latest/cont-tst.7z
 context/latest/cont-tst.tar.xz
 context/latest/cont-tst.zip
 general/manuals/
 general/manuals/lowlevel-lines.pdf
 
 sent 174,867 bytes  received 39,720,996 bytes  3,799,606.00 bytes/sec
 total size is 561,230,464  speedup is 14.07


Running archiver:

New dir: /var/www/aanhet.net/context//htdocs/archives/context-2023-06-22.15
232849101   
/var/www/aanhet.net/context//htdocs/archives/context-2023-06-22.15/latest
126745317   
/var/www/aanhet.net/context//htdocs/archives/context-2023-06-22.15/current
359598514   
/var/www/aanhet.net/context//htdocs/archives/context-2023-06-22.15
359598514   total
___
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] new version

2023-06-22 Thread Hans Hagen via ntg-context

Hi,

I uploaded a new lmtx version (so the next series will be luametatex 
2.10.10). Although Mikael and I are still in improving math mode, we 
side tracked a bit to the par builder (better breaking of math etc). In 
the end some experiments there turned features.


(1) We already had a more granular par builder but that was never really 
enabled. From now on you can do that with


\setupalign[granular]

After quite some tests and careful inspection of outcome we think that 
the results look better, which is why if could become a default. The 
main impact is a bit more even spacing between neighbouring lines, 
because we operate in five instead of three ranges of primary badness now.


(2) As side effect of (3) initialization of expansion (as well as 
compression and protrusion) is delayed till it kicks in. This means that


\definefontfeature[default][default][expansion=quality]

has become cheaper and might as well become the default.

(3) The biggest new feature (already known to some of you as we chat 
about it) is that in addition to the (upto three) passes that create a 
paragraph we can now have extra ones. This is discussed in 
lowlevel-lines.pdf (preliminary). The second pass is the most important 
one (it uses hyphenation but not yet emergency stretch) and, based on 
criteria that can be set, between the second and third pass multiple 
attempts can be triggered.


So, for instance one can start careful (pass one), less careful (pass 
two), test all kind of variants (pass 2 subpasses) etc. These subpasses 
can have different tolerances, demerits, expansion, etc and quit once 
soem criteria are met.


The problem here is: what makes good defaults. Therefore we have some 
tests definitions added (see spac-pas-tests) that we hope users will 
test on realistic documents.


In case one wonders: performance is quite okay and you won't notice much 
difference on a reasonable run. Also, when you normally use expansion 
for a whole document, you can now let it kick in more selectively. As a 
result a run can be faster and the resulting pdf file can be smaller. 
This feature kind of assumes (1) above.


(4) There's also a new feature for optional content: you can have marked 
sections in a paragraph that can be enabled or disabled in attempts to 
get better output. Of course one can wonder it this is useful but it was 
one of the older todo's. When it is considered usefull it can evolve.


(The lowlevel-lines manual is work in progress and in a few weeks we 
will pick up on that.)


Hans

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

maillist : ntg-context@ntg.nl / 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
___