[NTG-context] pragma-ade.nl - 404

2022-11-04 Thread Thangalin via ntg-context
Hi,

https://pragma-ade.nl/

We're seeing a bad cert and a 404.

Possible to redirect the .nl to the .com to avoid breaking scripts and
download URLs?

Note that the following page references the .nl TLD for downloads:

https://wiki.contextgarden.net/Installation

Cheers!
___
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] \definemeasure / \dimexpr

2022-11-04 Thread Henning Hraban Ramm via ntg-context

Am 04.11.22 um 11:52 schrieb Herbert Voss via ntg-context:


\definemeasure[FlapWidth][\measured{PageWidth} * 0.8]


\definemeasure[FlapWidth][0.8\measured{PageWidth}]
works


Yes, thank you!

That’s why I asked for the basics in my first post – which operators can 
I use how, in which order?


In my "real work" layout, the above approach was not always possible.

I looked into “TeX by topic”, but Eijkhout shows only how to use 
\multiply and \advance. (Tried that, worked only partly.)


I was also thinking about doing the whole thing in Lua (CLD), but it’s 
mostly setups, and those are usually easier in TeX. (And I’m not sure 
how to handle dimensions in Lua.)


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
___


Re: [NTG-context] \definemeasure / \dimexpr

2022-11-04 Thread Herbert Voss via ntg-context



Am 04.11.22 um 11:37 schrieb Henning Hraban Ramm via ntg-context:

Am 03.11.22 um 22:43 schrieb Henning Hraban Ramm via ntg-context:

Am 03.11.22 um 21:51 schrieb Hans Hagen via ntg-context:

On 11/3/2022 9:32 PM, Henning Hraban Ramm via ntg-context wrote:
I’m constantly struggling with dimension calculations. Is there 
anything I can read about the possibilities and limitations?


e.g. with
\definemeasure[PageWidth][132mm]
none of the following works:
\definemeasure[FlapWidth][0.8 * \measure{PageWidth}]


use \measured (with a "d" to get a dimension)


Only in expressions like that or always?

In https://source.contextgarden.net/syst-aux.mkiv
it looks like \measured returns a dimension, while \measure returns a 
string (\the\measured), is this right?


So I should use \measure{} in setup keyvals, and \measured in dim 
expressions?


Now, when I use calculated measures for a page size, I get:
"""
You can't use '\dimexpr' in horizontal mode
"""


Here’s my MWE:
"""
\definemeasure[PageWidth][132mm]

\definemeasure[FlapWidth][\measured{PageWidth} * 0.8]



\definemeasure[FlapWidth][0.8\measured{PageWidth}]


works

Herbert



\starttext

FlapWidth: \measure{FlapWidth}

\stoptext
"""

Results in:

FlapWidth: 0.0pt.8


Longer example attached.


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
___


Re: [NTG-context] \definemeasure / \dimexpr

2022-11-04 Thread Henning Hraban Ramm via ntg-context

Am 03.11.22 um 22:43 schrieb Henning Hraban Ramm via ntg-context:

Am 03.11.22 um 21:51 schrieb Hans Hagen via ntg-context:

On 11/3/2022 9:32 PM, Henning Hraban Ramm via ntg-context wrote:
I’m constantly struggling with dimension calculations. Is there 
anything I can read about the possibilities and limitations?


e.g. with
\definemeasure[PageWidth][132mm]
none of the following works:
\definemeasure[FlapWidth][0.8 * \measure{PageWidth}]


use \measured (with a "d" to get a dimension)


Only in expressions like that or always?

In https://source.contextgarden.net/syst-aux.mkiv
it looks like \measured returns a dimension, while \measure returns a 
string (\the\measured), is this right?


So I should use \measure{} in setup keyvals, and \measured in dim 
expressions?


Now, when I use calculated measures for a page size, I get:
"""
You can't use '\dimexpr' in horizontal mode
"""


Here’s my MWE:
"""
\definemeasure[PageWidth][132mm]

\definemeasure[FlapWidth][\measured{PageWidth} * 0.8]

\starttext

FlapWidth: \measure{FlapWidth}

\stoptext
"""

Results in:

FlapWidth: 0.0pt.8


Longer example attached.


Hraban

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


Re: [NTG-context] OpenBSD binaries

2022-11-04 Thread Hans Hagen via ntg-context

On 11/4/2022 9:24 AM, damien thiriet via ntg-context wrote:

Hi,


I have two question regarding OBSD binaries:

1)
the building farm holds two binaries: current -stable version (or 
-release?) and the previous version.
Since upgrading OBSD with sysupgrade is very easy, but AFAIU works only 
to upgrade from version (n-1) to n where n is current relase number, I 
wonder if it wouldn't easier to maintain binaries only for the current 
version: keeping the OS up to date is strongly recommended.


Wasn't it you who actually suggested to have the two versions?


https://www.openbsd.org/faq/faq5.html#Flavors

This might ease OBSD binaries management.
What do other OBSD users think about it?

2) AFAIU, sources are now available for downloading.
I understand it would be possible to make a package build for my system, 
so that I can upgrade OBSD without having to wait for the next binaries 
upload.
* binaries are quite small, so they should compile quite quickly. Am I 
right?

* I believe Mojca has already a compiling script. Where can I find it?
* which adress should I point to fetch the sources for compilation?

the sources are in the distribution as is build.sh

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] OpenBSD binaries

2022-11-04 Thread damien thiriet via ntg-context

Hi,


I have two question regarding OBSD binaries:

1)
the building farm holds two binaries: current -stable version (or 
-release?) and the previous version.
Since upgrading OBSD with sysupgrade is very easy, but AFAIU works only 
to upgrade from version (n-1) to n where n is current relase number, I 
wonder if it wouldn't easier to maintain binaries only for the current 
version: keeping the OS up to date is strongly recommended.


https://www.openbsd.org/faq/faq5.html#Flavors

This might ease OBSD binaries management.
What do other OBSD users think about it?

2) AFAIU, sources are now available for downloading.
I understand it would be possible to make a package build for my system, 
so that I can upgrade OBSD without having to wait for the next binaries 
upload.
* binaries are quite small, so they should compile quite quickly. Am I 
right?

* I believe Mojca has already a compiling script. Where can I find it?
* which adress should I point to fetch the sources for compilation?

Best regards,

Damien Thiriet

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