On Thu, Oct 21, 2021 at 8:04 PM Hans Hagen via ntg-context
<ntg-context@ntg.nl> wrote:
>
> Hi,
>
> I cleaned up some more backend code.  There were some mails about dates
> and such and although the date field in setupinteraction works ok a more
> drastic overload is doen with directives. The reason is that the fact
> that we can set the date (and traler) is only because it permits
> generating pdf files that can be compared. No date as a bad idea anyway.
>
> \setupinteraction[title=My Title]
> % \enabledirectives[backend.date=2034-06-07]
> \enabledirectives[backend.date=no]
> \enabledirectives[backend.trailerid=no]
> \starttext
>
> \startTEXpage
>      \blackrule[height=1cm,depth=0cm,width=4cm,color=darkred]
> \stopTEXpage
>
> (there always were command line options for it)
>
> More interesting is asome new experimental code:
>
> \starttext
>
> \dostepwiserecurse{40}{110}{2}{
>      \startTEXpage[offset=4mm,width=#1mm,align={stretch,normal,tolerant}]
>          \showmakeup[penalty]%
>          \orphanpenalties 4 4000 3000 2000 1000\relax
>          \updateparagraphpenalties
>          \samplefile{tufte}
>          \par
>      \stopTEXpage
> }
>
> \stoptext
>
> it's an addendum to the widowpenalties and clubpenalties introduced by
> etex but this time it's horizontal; the orphan penalties will be
> inserted before spaces (aka spaceskip, xspaceskip and zerospaceskip
> glue) so in this case 4000 between the last two 'words' and this
> trickery can be used to make sure that the last line is not too short
>
>          \orphanpenalties 4 4000 3000 -12000 1000\relax
>
> is also intereting
>
> it's work in progress (i need to play more with it and figure out nice
> values for context) .. there might be more such 'simple' useful tricks
>
> Mikael: you can test the math cheat (doesn't make the font nicer).
> Pablo : transparencies should work again (wrong alias fixed).
> Michal: you can check the dates (as for sure i messed up something).
>
> Hans
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


Hi!

Thank you Hans for the very quick fix on the libertinus font!

It works very nicely. I played with the test file you sent me, and I
find that in the .lfg file, the up parameter set to 0.06 instead of
0.1 looks better to me.

/Mikael

PS I do not use them, but I noticed that the quadruple prime f''''
still uses small primes.
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to