Re: [NTG-context] How to print all pages for a single index entry?

2023-05-07 Thread Alan Braslau via ntg-context
On Sun, 7 May 2023 22:26:12 + (UTC)
Joel via ntg-context  wrote:

> I have an index like this:
> 
> \starttext
> \index{butterflies}\index{horses}\index{cows}
> \placeindex
> 
> \stoptext
> The placeindex will place every index.
> Is there a way to say, display an index, but only for a specific
> single entry, or specific list of entries, e.g. \placeindex[horses,
> cows] (would exclude butterflies from the index entries) --Joel

You can use multiple lists, like indexofmammals and indexofarthropods,
and then place one or combine them, as needed.

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] How to print all pages for a single index entry?

2023-05-07 Thread Joel via ntg-context
I have an index like this:

\starttext
\index{butterflies}\index{horses}\index{cows}
\placeindex

\stoptext
The placeindex will place every index.
Is there a way to say, display an index, but only for a specific single entry, 
or specific list of entries, e.g.
\placeindex[horses, cows] (would exclude butterflies from the index entries)
--Joel
___
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] installer

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




On 07/05/2023 19:47, Henning Hraban Ramm via ntg-context wrote:


I updated https://wiki.contextgarden.net/Modules
(also deleted a lot of outdated information; module lists still need work)




 mtxrun --script install-modules --install --all

this generates an error:

resolvers   | globbing | confusing filename, name: 'CHANGELOG', 
lower: 'changelog', already: 'ChangeLog'

mtx-install-modules | unknown subdirectory 'texmf-context'


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

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




On 07/05/2023 19:47, Henning Hraban Ramm via ntg-context wrote:


I updated https://wiki.contextgarden.net/Modules
(also deleted a lot of outdated information; module lists still need work)




 mtxrun --script install-modules --install --all

this generates an error:

resolvers   | globbing | confusing filename, name: 'CHANGELOG', 
lower: 'changelog', already: 'ChangeLog'

mtx-install-modules | unknown subdirectory 'texmf-context'


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

2023-05-07 Thread Henning Hraban Ramm via ntg-context

Am 07.05.23 um 16:38 schrieb Hans Hagen via ntg-context:

The mtx-install-tikz is now mtx-install-modules, so

   mtxrun --script install-modules



Someone (not me) has to adapt the wiki.


I updated https://wiki.contextgarden.net/Modules
(also deleted a lot of outdated information; module lists still need work)

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] installer

2023-05-07 Thread Otared Kavian via ntg-context
Hi Alex,

You are right ! I have an alias for the mtxrun in the 
/context-osx-arm64/tex/texmf-osx-64/bin/
folder, but the alias is in an old bashrc file, while I was issuing the command 
in zsh…

Thanks for the help !

Best regards: Otared

> On 7 May 2023, at 17:11, Alexandre Christe  wrote:
> 
> Hi Otared,
> 
> I encountered the same issue the other day. Could it be that you run mtxrun 
> from the /bin folder instead of /tex/texmf-YOUR_ARCH/bin/ ? Somehow they seem 
> to be different.
> 
> Best regards,
> Alex
> Le 7 mai 2023 à 17:07 +0200, Otared Kavian via ntg-context 
> , a écrit :
>> Hi Hans,
>> 
>> Updating to current version: 2023.05.07 16:33 and issuing
>> 
>> mtxrun --script install-modules
>> 
>> I get:
>> 
>> mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua’
>> 
>> 
>> Best regards: Otared
>> 
>>> On 7 May 2023, at 16:59, Hans Hagen via ntg-context  
>>> wrote:
>>> 
>>> On 5/7/2023 4:43 PM, Floris van Manen via ntg-context wrote:
 $ mtxrun --script install-modules --list
 resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 
 'changelog', already: 'ChangeLog'
 mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
>>> hm, it should be in the zip, adn therefore installed, so can others confirm 
>>> this?
>>> 
>>> 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
>>> ___
>> 
>> Otared Kavian
>> e-mail: ota...@gmail.com
>> Phone: +33 6 88 26 70 95
>> 
>> 
>> 
>> 
>> ___
>> 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
>> ___

Otared Kavian
e-mail: ota...@gmail.com
Phone: +33 6 88 26 70 95




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

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




On 07/05/2023 17:13, Hans Hagen via ntg-context wrote:

I just ran the install script (that then updates) on a linux box and get:


ok.
just did a fresh
sh install.sh

the script seems to run fine but still a mention of 'changelog'


~/context

$ mtxrun --script install-modules --list
resolvers   | globbing | confusing filename, name: 'CHANGELOG', 
lower: 'changelog', already: 'ChangeLog'





___
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] new units

2023-05-07 Thread Alan Braslau via ntg-context
On Sun, 7 May 2023 13:00:18 +0100
Bruce Horrocks via ntg-context  wrote:

> Will there be new units to represent the amount of alcohol that has
> to be imbibed in order to (a) create the joke and (b) understand it?
> 
> I'm not sure which of these needs to be the larger. Perhaps that
> could be the subject of the next research?

The moral of the story is that we all missed something by not attending
BachoTeX - as is the case every year. One should note Hans' reference
to the gala dinner, which is better characterized by an excess of
dishes of food than by an excess of alcohol.

We have an opportunity to make up for this missed occasion this year by
attending the annual ConTeXt meeting. Of course, these two meetings are
complementary and ideally one should aim at attending *both*.

As to the Dutch left and right thumbs, the French word is also "pouce"
for the length of an inchworm. My question is, what is the appropriate
unit for inching forward or inching along? Would this be one inch per
fortnight?

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
___


Re: [NTG-context] new units

2023-05-07 Thread Henning Hraban Ramm via ntg-context

Am 07.05.23 um 12:29 schrieb Hans Hagen via ntg-context:

Edith Sundqvist  : on-site research, presentation
Mikael Sundqvist : scientific supervisor, calibration, article
Willi Egger  : quality assurance, edithorial device
Karl Berry   : peer review, tugboat
Hans Hagen   : implementation, article


Ah, now I get more of it – more context is usually desirable.

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

2023-05-07 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-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
 
 sent 101,078 bytes  received 21,565,640 bytes  12,094.18 bytes/sec
 total size is 449,303,678  speedup is 20.74


Running archiver:

New dir: /var/www/aanhet.net/context//htdocs/archives/context-2023-05-07.17
121148788   
/var/www/aanhet.net/context//htdocs/archives/context-2023-05-07.17/latest
126745317   
/var/www/aanhet.net/context//htdocs/archives/context-2023-05-07.17/current
247898201   
/var/www/aanhet.net/context//htdocs/archives/context-2023-05-07.17
247898201   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] How to fix indexes displaying [entry not flushed] with hidden data?

2023-05-07 Thread Joel via ntg-context
I have a document that needs to place some "hidden" data. In other words, there 
is an entire \input file with an article, but it doesn't get rendered visibly. 
However, the indexes, registers, and bibliography need to still function as if 
it were displayed right there on the page.
It should be as if the data actually is all there, on a single page, but either 
compressed inside a single invisible pixel off or plain invisible to readers, 
not using any physical space on the page.

I tried two methods suggested at Stack Exchange for hiding the data:
1. \startnointerference
2. \setbox\scratchbox=\vbox{}
These both successfully seem to place the data there, without it actually being 
visible and bibliograhy entries still function fine.

The problem is, index and customer registers are getting confused:
When one goes to render the page numbers in \placeindex, it gets confused, 
displaying the message: "[entry not flushed]" instead of the page number. When 
I render this minimum working example below, the index is populated with [entry 
not flushed] instead of page numbers. Note that if I delete the test "This is 
invisible text."and recompile, I can get a successful render. The problem is, I 
have text that needs to remain invisible.

\starttext

    \index{birds}
    \index{insects}


        \startnointerference
            \index{spiders}
            \index{bears}
            \index{rabbits}
            This is invisible text.
        \stopnointerference
    
    \input knuth
    
    \placeindex
        
\stoptext


How to fix indexes displaying [entry not flushed] with hidden data?
--Joel

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

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

On 5/7/2023 5:05 PM, Otared Kavian via ntg-context wrote:

Hi Hans,

Updating to current version: 2023.05.07 16:33 and issuing

mtxrun --script install-modules

I just ran the install script (that then updates) on a linux box and get:

hagen@laptop-8:/data/context> export 
PATH=/data/context/tex/texmf-linux-64/bin:$PATH

hagen@laptop-8:/data/context> mtxrun --script install-modules
mtx-install-modules | ConTeXt Module Installer 1.00
mtx-install-modules |
mtx-install-modules | --list list modules
mtx-install-modules | --install  install modules
mtx-install-modules | --module   install (zip) file(s)
mtx-install-modules |
mtx-install-modules |
mtx-install-modules | Examples
mtx-install-modules |
mtx-install-modules | mtxrun --script install-modules --list
mtx-install-modules |
mtx-install-modules | mtxrun --script install-modules --install filter 
letter

mtx-install-modules | mtxrun --script install-modules --install tikz
mtx-install-modules | mtxrun --script install-modules --install --all
mtx-install-modules |
mtx-install-modules | mtxrun --script install-modules --install --module 
t-letter.zip

mtx-install-modules |
mtx-install-modules |
mtx-install-modules | More information about ConTeXt and the tools that 
come with it can be found at:

mtx-install-modules |
mtx-install-modules | maillist : ntg-context@ntg.nl / 
http://www.ntg.nl/mailman/listinfo/ntg-context
mtx-install-modules | webpage  : http://www.pragma-ade.nl / 
http://tex.aanhet.net

mtx-install-modules | wiki : http://contextgarden.net
mtx-install-modules |

-
  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] installer

2023-05-07 Thread Alexandre Christe via ntg-context
Hi Otared,

I encountered the same issue the other day. Could it be that you run mtxrun 
from the /bin folder instead of /tex/texmf-YOUR_ARCH/bin/ ? Somehow they seem 
to be different.

Best regards,
Alex
Le 7 mai 2023 à 17:07 +0200, Otared Kavian via ntg-context 
, a écrit :
> Hi Hans,
>
> Updating to current version: 2023.05.07 16:33 and issuing
>
> mtxrun --script install-modules
>
> I get:
>
> mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua’
>
>
> Best regards: Otared
>
> > On 7 May 2023, at 16:59, Hans Hagen via ntg-context  
> > wrote:
> >
> > On 5/7/2023 4:43 PM, Floris van Manen via ntg-context wrote:
> > > $ mtxrun --script install-modules --list
> > > resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 
> > > 'changelog', already: 'ChangeLog'
> > > mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
> > hm, it should be in the zip, adn therefore installed, so can others confirm 
> > this?
> >
> > 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
> > ___
>
> Otared Kavian
> e-mail: ota...@gmail.com
> Phone: +33 6 88 26 70 95
>
>
>
>
> ___
> 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] installer

2023-05-07 Thread Otared Kavian via ntg-context
Hi Hans,

Updating to current version: 2023.05.07 16:33 and issuing

mtxrun --script install-modules

I get:

mtxrun  | unknown script 'install-modules.lua' or 
'mtx-install-modules.lua’


Best regards: Otared

> On 7 May 2023, at 16:59, Hans Hagen via ntg-context  
> wrote:
> 
> On 5/7/2023 4:43 PM, Floris van Manen via ntg-context wrote:
>> $ mtxrun --script install-modules --list
>> resolvers   | globbing | confusing filename, name: 'CHANGELOG', lower: 
>> 'changelog', already: 'ChangeLog'
>> mtxrun  | unknown script 'install-modules.lua' or 
>> 'mtx-install-modules.lua'
> hm, it should be in the zip, adn therefore installed, so can others confirm 
> this?
> 
> 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
> ___

Otared Kavian
e-mail: ota...@gmail.com
Phone: +33 6 88 26 70 95




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

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

On 5/7/2023 4:43 PM, Floris van Manen via ntg-context wrote:

$ mtxrun --script install-modules --list

resolvers   | globbing | confusing filename, name: 'CHANGELOG', 
lower: 'changelog', already: 'ChangeLog'
mtxrun  | unknown script 'install-modules.lua' or 
'mtx-install-modules.lua'
hm, it should be in the zip, adn therefore installed, so can others 
confirm this?


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] [ update message ]

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

On 5/7/2023 4:47 PM, luigi scarso wrote:



On Sun, 7 May 2023 at 16:05, Hans Hagen via ntg-context 
mailto:ntg-context@ntg.nl>> wrote:


On 5/7/2023 3:18 PM, vm via ntg-context wrote:
 > running the sh install.sh script to update to the latest version
i get a
 > message:
 >
 > /home/vm/context/tex/texmf-linux-64/bin/luatex: unrecognized option
 > '--socket'
 >
 > there is probably a reason for it, context seems to compile just
fine.
ah, ok, so that luatex update even broke the context updater (i didn't
realize that luatex would quit on an unknown option instead of just
ignoring it)


indeed is what happens in this case :  luatex emits  a message
and continues (as the email says:  "...context seems to compile just fine.")

Ah, ok, so as expected, we're fine then (as long as users don't panic).

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] new units

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

Hi Hraban,

Attached a picture of the edithorial which is now in posession of the 
one who's name comes closest to it. A bit like the 'meter' makes Paris 
famous, this one will put the (engineering) university of Lund on the 
map. Up to the reader to figure out the magick slot and workings. Yet 
another one of Willis masterpieces of woodwork and packaging.


If Alan had been present we might have gone for measuring toes intead of 
thumbs but then we'd end up with 30mm median I guess. Actually, by going 
discrete we also made sure thet people with different left and right 
thumbs (we hadn't anticipated that actually) were satisfied, something 
that was demood live on camera. It's in de details.


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] [ update message ]

2023-05-07 Thread luigi scarso via ntg-context
On Sun, 7 May 2023 at 16:05, Hans Hagen via ntg-context 
wrote:

> On 5/7/2023 3:18 PM, vm via ntg-context wrote:
> > running the sh install.sh script to update to the latest version i get a
> > message:
> >
> > /home/vm/context/tex/texmf-linux-64/bin/luatex: unrecognized option
> > '--socket'
> >
> > there is probably a reason for it, context seems to compile just fine.
> ah, ok, so that luatex update even broke the context updater (i didn't
> realize that luatex would quit on an unknown option instead of just
> ignoring it)
>

indeed is what happens in this case :  luatex emits  a message
and continues (as the email says:  "...context seems to compile just fine.")

--socket is a new option for luatex 1.17.0, where sockets are disabled by
default .


--
luigi
___
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] installer

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

$ mtxrun --script install-modules --list

resolvers   | globbing | confusing filename, name: 'CHANGELOG', 
lower: 'changelog', already: 'ChangeLog'
mtxrun  | unknown script 'install-modules.lua' or 
'mtx-install-modules.lua'


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

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

Hi,

The mtx-install-tikz is now mtx-install-modules, so

  mtxrun --script install-modules

will show what to do.  By looking at

  mtxrun --script install-modules --list

some might be inspired to adapt then name of the archive to more fit the 
t-* scheme. Willi's updated module wins the price for the lonbgest name 
and I didn't want to impose on users to key that one in.


So:

- which ones are missing
- which ones are obsolete
- which modules deserve better names
- do we need more features
- should we push to and fetch from ctan instead (in the future)

The outlier is tikz where we also need to wipe files (maybe more needs 
to be wiped).


I had to adapt some 'unzip archives' code because two modules were kind 
of different (delayed compression data) and I hope it doesn't affect the 
regular installer (as I couldn't test that here) but we'll notice that 
soon enough.


The lazy user can run

  mtxrun --script install-modules --install --all

but best is to go lightweight (as there are some modules related to 
typescripts that might be outdates).


Someone (not me) has to adapt the wiki.

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] [ update message ]

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

On 5/7/2023 3:18 PM, vm via ntg-context wrote:
running the sh install.sh script to update to the latest version i get a 
message:


/home/vm/context/tex/texmf-linux-64/bin/luatex: unrecognized option 
'--socket'


there is probably a reason for it, context seems to compile just fine.
ah, ok, so that luatex update even broke the context updater (i didn't 
realize that luatex would quit on an unknown option instead of just 
ignoring it)


anyway, as there is no way we can deal with such incompatible updates 
out of our control, one can install lmtx which should be fine (and 
likely has the right luatex too, or you can pick up some luatex from the 
compile farm which should work ok with recent scripts)


summary:

- there is a luatex update that breaks context but is needed for other 
macro packages, and in principle such a fundamental incompatinility 
should go along with a context update


- the update therefore needs a patched mtxrun although one never patches 
mtxrun directly unless doing that off-context-zip (it's now how mtxrun 
is created)


- the luat-fmt is the one that should get two "--socket" snippets 
because otherwise a context run can fail in some scenarios


- new observation: older engines might fail with new scripts but I'm not 
going to check for versions (in fact, if we weren't aware of the issue 
contexts would fail everywhere once such an update rolls out)


So .. not much we can do about it other than just manually adapt when a 
situation arises. The good news is that luametatex is unaffected and 
that is what the majority used.


Hans

ps. I assume new luatex binaries have to be put into the old mkiv/mkii 
installers when they ship with a newer script. Kind of a mess.


-
  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] [ update message ]

2023-05-07 Thread vm via ntg-context
running the sh install.sh script to update to the latest version i get a 
message:


/home/vm/context/tex/texmf-linux-64/bin/luatex: unrecognized option 
'--socket'





there is probably a reason for it, context seems to compile just fine.

mtx-context | current version: 2023.05.05 18:39

___
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] new units

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

On 5/7/2023 2:00 PM, Bruce Horrocks wrote:




On 7 May 2023, at 10:45, Hans Hagen via ntg-context  wrote:

ps. For those unfamiliar with the tex community, when we talk 'research' and 
such, keep in mind that most tex related research is kind of bogus, wishful 
thinking, sounding serious, etc. and that most 'projects' are just 'activities 
by enthousiatic users' In the end it's all about esthetics which is more about 
feeling and intuition and pretty much driven by user demsnds. In a similar 
fashion most 'tex conferences' are more user meetings.



Will there be new units to represent the amount of alcohol that has to be 
imbibed in order to (a) create the joke and (b) understand it?

I'm not sure which of these needs to be the larger. Perhaps that could be the 
subject of the next research?
During the meeting (aka conference) and in preparation Mikael and I were 
on 0% alcohol beers, so effectively that unit would then be a multiplier 
of zero, but I'm sure you can find a usage for that.


I forgot to check what the pct was of the wine at the (as usual) huge 
dinner but I can check the bottle I got from DT. Talking percentages, 
maybe some high res percentage primitive is interesting (we have 
.4\somedimen but for counters one needs to cheat a bit).


Actually we were talking of some 'eps' and interval based comparison in 
order to avoid small issues with accumulated rounding (in the sp range) 
but that is a side track.


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] new units

2023-05-07 Thread Bruce Horrocks via ntg-context


> On 7 May 2023, at 10:45, Hans Hagen via ntg-context  
> wrote:
> 
> ps. For those unfamiliar with the tex community, when we talk 'research' and 
> such, keep in mind that most tex related research is kind of bogus, wishful 
> thinking, sounding serious, etc. and that most 'projects' are just 
> 'activities by enthousiatic users' In the end it's all about esthetics which 
> is more about feeling and intuition and pretty much driven by user demsnds. 
> In a similar fashion most 'tex conferences' are more user meetings.


Will there be new units to represent the amount of alcohol that has to be 
imbibed in order to (a) create the joke and (b) understand it?

I'm not sure which of these needs to be the larger. Perhaps that could be the 
subject of the next research?

—
Bruce Horrocks
Hampshire, UK

___
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] new units

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

On 5/7/2023 12:09 PM, Henning Hraban Ramm via ntg-context wrote:

I know it’s not funny to explain jokes, but I don’t seem to know all 
people involved.


You know a subset:

Edith Sundqvist  : on-site research, presentation
Mikael Sundqvist : scientific supervisor, calibration, article
Willi Egger  : quality assurance, edithorial device
Karl Berry   : peer review, tugboat
Hans Hagen   : implementation, article

It was a three person presentation on multiple laptops and phones, so 
very serious indeed. It would not work for a large audience with a 
distance of more than 100 es (20 theodores) distance to the audience as 
the audience was also participating.


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] new units

2023-05-07 Thread Henning Hraban Ramm via ntg-context

Am 07.05.23 um 11:45 schrieb Hans Hagen via ntg-context:
I didn’t understand all details, and I guess some spelling errors are 
intentional – was there a Calli? Does “precission” refer to anything? 
And what’s the abbreviation for Theodores?
the theodore is only used in reporting an overflow so no real unit (just 
like feet is no unit in tex but used in the message)


of course

concerning precission, indeed there was a real beautiful handcrafted 
measuring device but as with much research one could sort of predict the 
median outcome esp after the main sample was made beforehand by 
carefully checking some resources; it was nice to see how most 
attendents properties fit the bill


I thought maybe a play on precision vs. precession

(Alan will be pleased to know that actually the Thumb was the starting 
point which happens to be close to an inch and the oid Dutch measure is 
Duim.)


I understand that the rule of thumb is the rule of 1/11 feet in Amsterdam.

ps. So 'I didn’t understand all details' is quite okay because the idea 
was to put you on the wrong foot (or theodore). It helps when you knwo 
the people involved, does it?


I know it’s not funny to explain jokes, but I don’t seem to know all 
people involved.


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] new units

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

On 5/7/2023 11:29 AM, Mojca Miklavec via ntg-context wrote:

On Sun, 7 May 2023 at 11:11, Henning Hraban Ramm via ntg-context wrote:


And what’s the abbreviation for Theodores?


I assume it must be "tr", though it's somewhat ambiguous what the "r"
in "tr" stands for, it seems to be country-dependent ;)
actually: as arthur and you are in charge of the language patterns, 
guess who will sort this out,


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] new units

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

On 5/7/2023 11:29 AM, Mojca Miklavec via ntg-context wrote:

On Sun, 7 May 2023 at 11:11, Henning Hraban Ramm via ntg-context wrote:


And what’s the abbreviation for Theodores?


I assume it must be "tr", though it's somewhat ambiguous what the "r"
in "tr" stands for, it seems to be country-dependent ;)
The problem with introducing the theodore is that it introduces another 
'male name' unit while actually the new ones got 'female names' in order 
to counter the didot and cicero (and dk although we considere that a 
neutral unit), which was one of the projects objectives.


Okay, we can from now on assume the 'mm' to be the Mojca which is also 
more officient: 4 mojcas instead of 4 millimeters. It's a downward 
compatible change (only in the documentation). Then we can introduce the 
tr as precisely 5 es, a kind of snaposhot unit, whgich makes me wonder, 
as the theodore eventually will come close to a foot we might have a 
\thfactor then that starts out at 5. We can decide at the ctx meeting.


(In case one wonders: because internally tex works with fractions mm/cm 
and ts/es (/tr) make sense.)


(As explained during the presentation, adding units to luametatex is not 
really putting a (performance) burden on this engine. In pdftex and 
luatex it would have an impact, although in luatex somewhat less because 
we prioritize our favourite units anyway.)


-
  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] new units

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

On 5/7/2023 11:10 AM, Henning Hraban Ramm via ntg-context wrote:

Am 04.05.23 um 10:01 schrieb Hans Hagen via ntg-context:

Hi,

We now officially have three new units. These were officially 
introducd at the 2023 BachoTeX meeting in a presentation where the 
chair of the four person strong team also did the final live 
callibration (using the edithorial callibration instrument made for 
that purpose). An upcoming article in TB will explain the details of 
the process and also a careful mathematical annalysis of how we 
reached the right value with a high precission. The actual 
implementation is the most boring part.


Hi Hans, can I have the article also for CGJ, please?

I didn’t understand all details, and I guess some spelling errors are 
intentional – was there a Calli? Does “precission” refer to anything? 
And what’s the abbreviation for Theodores?
the theodore is only used in reporting an overflow so no real unit (just 
like feet is no unit in tex but used in the message)


an article is chicken-egg ... it goes into the tugboat (already checked 
and prepared, read peer reviewed) but it is no big deal if the ctx 
journal takes it afterwards (plenty of time) and then the cg members are 
also informed (it will go in the distribution anyway but normally i wait 
till after publication)


concerning precission, indeed there was a real beautiful handcrafted 
measuring device but as with much research one could sort of predict the 
median outcome esp after the main sample was made beforehand by 
carefully checking some resources; it was nice to see how most 
attendents properties fit the bill


(Alan will be pleased to know that actually the Thumb was the starting 
point which happens to be close to an inch and the oid Dutch measure is 
Duim.)


Hans

ps. For those unfamiliar with the tex community, when we talk 'research' 
and such, keep in mind that most tex related research is kind of bogus, 
wishful thinking, sounding serious, etc. and that most 'projects' are 
just 'activities by enthousiatic users' In the end it's all about 
esthetics which is more about feeling and intuition and pretty much 
driven by user demsnds. In a similar fashion most 'tex conferences' are 
more user meetings.


ps. So 'I didn’t understand all details' is quite okay because the idea 
was to put you on the wrong foot (or theodore). It helps when you knwo 
the people involved, does it?


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

2023-05-07 Thread Henning Hraban Ramm via ntg-context

You’re invited to join on Wednesday, May 10th, 15:00 CEST (UTC+2)

at https://lecture.senfcall.de/hen-rbr-rku-oke
(same, but shorter: https://v34h.de/ctxmtg)

ConTeXt users of all levels are welcome!

Next meeting will be on June 14th.



(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button.
Beware there is only one presenter at a time, so don’t kill someone 
else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* BigBlueButton documentation applies: 
https://bigbluebutton.org/teachers/tutorials/


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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] FROScon 2023

2023-05-07 Thread Henning Hraban Ramm via ntg-context

Hi,
yet another open source conference: https://www.froscon.org
2023-08-05/06 in Bonn-St.Augustin, Germany

DANTE will have a booth, and I’m planning to participate, maybe also 
give a lecture on a ConTeXt subject (practice for TUG, CCCamp and 
ConTeXt meeting ;)

Anyone else?

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] new units

2023-05-07 Thread Mojca Miklavec via ntg-context
On Sun, 7 May 2023 at 11:11, Henning Hraban Ramm via ntg-context wrote:
>
> And what’s the abbreviation for Theodores?

I assume it must be "tr", though it's somewhat ambiguous what the "r"
in "tr" stands for, it seems to be country-dependent ;)

Mojca
___
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] new units

2023-05-07 Thread Henning Hraban Ramm via ntg-context

Am 04.05.23 um 10:01 schrieb Hans Hagen via ntg-context:

Hi,

We now officially have three new units. These were officially introducd 
at the 2023 BachoTeX meeting in a presentation where the chair of the 
four person strong team also did the final live callibration (using the 
edithorial callibration instrument made for that purpose). An upcoming 
article in TB will explain the details of the process and also a careful 
mathematical annalysis of how we reached the right value with a high 
precission. The actual implementation is the most boring part.


Hi Hans, can I have the article also for CGJ, please?

I didn’t understand all details, and I guess some spelling errors are 
intentional – was there a Calli? Does “precission” refer to anything? 
And what’s the abbreviation for Theodores?


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] new units

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

On 5/7/2023 2:10 AM, skyhorse--- via ntg-context wrote:



Hans Hagen via ntg-context  wrote:

..
Oh, so a bug, I'll fix the message. Not really a unit but then, feet
is also not one.



That is incorrect.  Feet is an establish and proper unit of measurement, which 
consists of 12 inches.  It is used by, at least, several hundred million 
people.  It can be said that the ability to grok and manipulate fractions has 
many benefits, which the metric system sorely lacks.
Sure, but it's not a unit in tex like 10ft so reporting 19 feet looks a 
bit odd for the (majority) texusers who dont'use feet. (we have mm and 
cm but not in and ft). I suppose yards could also have been used but 
probably points out more prominently the limitation.


https://nl.wikipedia.org/wiki/Voet_(lengtemaat)

An amsterdam voet being somewhat smaller actually would have made 20 
which is a nicer number and also fits the base 20 inuit system discussed 
a few weeks ago.


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] new units

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

On 5/7/2023 4:43 AM, Michael Urban via ntg-context wrote:

If you are going to introduce new units, you should at least include the 
Potrzebie, invented by teenager Donald Knuth and published in the humor 
magazine Mad Magazine #33.  The system is based on the thickness of Mad 
Magazine #26, equal to 2.2633484517438173216473 mm.
See the Wikipedia entry for 'potrzebie' for more information, or search for 
suitable images.

Honestly, I don't know how Knuth resisted putting this in plain TeX.

Plain TeX is a format so ther it would be easy, just define

\newdimen\potrzebie  \potrzebie = 422042sp

but for a real unit you need to adapt the original engine and that will 
not happen because it's in bug fix only mode.


Anyway, you can try it in lmtx:

\startTEXpage[offset=1dk]
\number\dimexpr1dk
\stopTEXpage

As introduced in:

https://www.tug.org/TUGboat/tb42-3/tb132hagen-dk.pdf

Like the ts is makes a nice offset.

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] new units

2023-05-07 Thread Mikael Sundqvist via ntg-context
Hi Michael,

On Sun, May 7, 2023 at 4:43 AM Michael Urban via ntg-context
 wrote:
>
> If you are going to introduce new units, you should at least include the 
> Potrzebie, invented by teenager Donald Knuth and published in the humor 
> magazine Mad Magazine #33.  The system is based on the thickness of Mad 
> Magazine #26, equal to 2.2633484517438173216473 mm.
> See the Wikipedia entry for 'potrzebie' for more information, or search for 
> suitable images.
>
> Honestly, I don't know how Knuth resisted putting this in plain TeX.

It is already there for a while, as dk.

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