ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] \hidewidth disappeared
@ 2023-07-16 11:31 Hans van der Meer via ntg-context
  2023-07-16 12:08 ` [NTG-context] " Hans Hagen via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Hans van der Meer via ntg-context @ 2023-07-16 11:31 UTC (permalink / raw)
  To: NTG ConTeXt; +Cc: Hans van der Meer


[-- Attachment #1.1: Type: text/plain, Size: 598 bytes --]

What happened to \hidewidth? It looks as if it disappeared. See the accompanying MWE.

However, searching the ConTeXt source I find it used in enco-ini.mkiv, defined in syst-ini.mkiv, but commented out in syst-ini.mkxl.
Why is that? It seems a harmless definition, and its body is even used twice in enco-ini.mkxl.

I dare say, with all due respect, it is not pleasant (and a waste of time) to find working code suddenly broken because of leftout macro's. And I feel lucky to not having used \ialign, because something similar happened to it.

yours sincerely
dr. Hans van der Meer




[-- Attachment #1.2.1: Type: text/html, Size: 1238 bytes --]

[-- Attachment #1.2.2: hidewidth.pdf --]
[-- Type: application/pdf, Size: 13374 bytes --]

[-- Attachment #1.2.3: Type: text/html, Size: 223 bytes --]

[-- Attachment #2: Type: text/plain, Size: 495 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: \hidewidth disappeared
  2023-07-16 11:31 [NTG-context] \hidewidth disappeared Hans van der Meer via ntg-context
@ 2023-07-16 12:08 ` Hans Hagen via ntg-context
  2023-07-16 12:30   ` Hans van der Meer via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2023-07-16 12:08 UTC (permalink / raw)
  To: Hans van der Meer via ntg-context; +Cc: Hans Hagen

On 7/16/2023 1:31 PM, Hans van der Meer via ntg-context wrote:
> What happened to \hidewidth? It looks as if it disappeared. See the accompanying MWE.
> 
> However, searching the ConTeXt source I find it used in enco-ini.mkiv, defined in syst-ini.mkiv, but commented out in syst-ini.mkxl.
> Why is that? It seems a harmless definition, and its body is even used twice in enco-ini.mkxl.
> 
> I dare say, with all due respect, it is not pleasant (and a waste of time) to find working code suddenly broken because of leftout macro's. And I feel lucky to not having used \ialign, because something similar happened to it.
\hidewidth is a plain tex thing that is unlikely to work well with other 
code

\ialign is also something plain and as it sets everycr as well as 
tabskip and also can interfere

you can define these macros yourself and hope for the best wrt 
interference but i'm not going to look into such interferences

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: \hidewidth disappeared
  2023-07-16 12:08 ` [NTG-context] " Hans Hagen via ntg-context
@ 2023-07-16 12:30   ` Hans van der Meer via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Hans van der Meer via ntg-context @ 2023-07-16 12:30 UTC (permalink / raw)
  To: NTG ConTeXt; +Cc: Hans van der Meer


[-- Attachment #1.1: Type: text/plain, Size: 2585 bytes --]

> \hidewidth is a plain tex thing that is unlikely to work well with other code

With all respect, I do not understand why it can cause problems and "is unlikely to work well". 
It is no surprise that in TeX you can cause havoc by using things unwisely or in the wrong place (and I have enough experience with this;-). By using things the burden to use them well falls onto the programmer, of course.

Given \hidewidth's body is \hskip\hideskip:
\hskip I would sorely miss and \hideskip is nothing more than a register set by Knuth to -1000pt plus1fill.

I am open for further enlightment and not too old to learn.

yours sincerely
dr. Hans van der Meer



> On 16 Jul 2023, at 14:08, Hans Hagen via ntg-context <ntg-context@ntg.nl> wrote:
> 
> On 7/16/2023 1:31 PM, Hans van der Meer via ntg-context wrote:
>> What happened to \hidewidth? It looks as if it disappeared. See the accompanying MWE.
>> However, searching the ConTeXt source I find it used in enco-ini.mkiv, defined in syst-ini.mkiv, but commented out in syst-ini.mkxl.
>> Why is that? It seems a harmless definition, and its body is even used twice in enco-ini.mkxl.
>> I dare say, with all due respect, it is not pleasant (and a waste of time) to find working code suddenly broken because of leftout macro's. And I feel lucky to not having used \ialign, because something similar happened to it.
> \hidewidth is a plain tex thing that is unlikely to work well with other code
> 
> \ialign is also something plain and as it sets everycr as well as tabskip and also can interfere
> 
> you can define these macros yourself and hope for the best wrt interference but i'm not going to look into such interferences
> 
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 4104 bytes --]

[-- Attachment #2: Type: text/plain, Size: 495 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-16 12:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-16 11:31 [NTG-context] \hidewidth disappeared Hans van der Meer via ntg-context
2023-07-16 12:08 ` [NTG-context] " Hans Hagen via ntg-context
2023-07-16 12:30   ` Hans van der Meer via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).