ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Carlos via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Carlos <linguafalsa@gmail.com>
Subject: Re: [NTG-context] right and left arrowfill
Date: Fri, 23 Jun 2023 06:43:04 -0400	[thread overview]
Message-ID: <fpn74qxaruskninwyjhtxbmh5wvt27lvwhk3cjzylmjfvvqede@vdv7foaox333> (raw)
In-Reply-To: <C6C67D03-B691-45DD-A7FB-BD62F6E84D49@ziggo.nl>

On Thu, Jun 22, 2023 at 03:32:25PM +0200, 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.
> 
> 
> 
> > On 22 Jun 2023, at 15:11, Hans Hagen via ntg-context <ntg-context@ntg.nl> wrote:
> > 
> >    x \rightarrowfill x
> > 
> >    x \leftarrowfill x
> 
> yours sincerely
> dr. Hans van der Meer
> 
> 

I find this interesting. I agree with Hans vdM.

So what would be the acceptable standard given an x length of a glue? 

In the above examples, it's all preset.

Is a rule of thumb — no pun intended here — to apply thereafter
a glue, in this case a \vrule that follows the box and precedes the
other glue? that is, the \rightarrowfill or \leftarrowfill?

I mean. Once you get the glues messed up, the whole box crumbles. 

How good would \meaning be here, notwithstanding the valuable info of
the macro it provides, if it can't print out, let alone source it up,
the more accurate dimension, let alone the measurement.

So, one would need to know the preset layout of the page to have an idea
about it? 

Hans H. pulled the old modified trick of 'works here'. 

Like a magician… now all of a sudden evetything works, but unlike TeX's

\hbox to 1in{\vrule \rightarrowfill \ 1in \leftarrowfill\vrule} 

or

\hbox to 1cm{\vrule \rightarrowfill \ 1cm \leftarrowfill\vrule} 

which gives an accurate description, not to mention measurement, 

a 

\vbox to 5pt{x\vrule\rightarrowfill \ x \leftarrowfill\vrule\ x}

or 

x \rightarrowfill x
x \leftarrowfill x 

or

\vbox to 3pt{x\vrule\rightarrowfill \  \leftarrowfill\vrule\ x}

\ \rightarrowfill \ 
\ \leftarrowfill \ 


in LMTX doesn't say much 

-- 
C for yourself.

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

  parent reply	other threads:[~2023-06-23 10:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-21 20:10 Hans van der Meer via ntg-context
2023-06-22 13:11 ` Hans Hagen via ntg-context
2023-06-22 13:32   ` Hans van der Meer via ntg-context
2023-06-22 15:38     ` Hans Hagen via ntg-context
2023-06-23 10:43     ` Carlos via ntg-context [this message]
2023-06-23 11:38       ` Hans Hagen via ntg-context
2023-06-23 13:21         ` Carlos via ntg-context
2023-06-23 14:12           ` Hans Hagen via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fpn74qxaruskninwyjhtxbmh5wvt27lvwhk3cjzylmjfvvqede@vdv7foaox333 \
    --to=ntg-context@ntg.nl \
    --cc=linguafalsa@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).