[NTG-context] barring changes

2022-07-28 Thread Henning Hraban Ramm via ntg-context
Please consider the attached example – some of the “barring” macros are 
defunct already for a while, some more within a TABLE:


\underbar works, but not in TABLE
\underbarsworks
\underdot doesn’t work
\underdotsdoesn’t work
\underdashdoesn’t work
\underdashes  doesn’t work
\underrandom  doesn’t work
\underrandoms doesn’t work
\overbar  works, but not in TABLE
\overbars works
\overstrike   works, but not in TABLE
\overstrikes  works
\understrike  works, but not in TABLE
\understrikes works

The nested example
\overbar{Über} \underbar{Unterstrich \underbar{steigt \overbar{auf} den 
\underdot{Unterberg}}}.

works only once, afterwards all the underbars are missing.


Hraban

bartest.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] Can't manipulate glue added by tex.preparelinebreak

2022-07-28 Thread Hans Hagen via ntg-context

On 7/28/2022 9:03 AM, Max Chernoff via ntg-context wrote:


That will be really nice for debugging. I've either been storing boxes
and typesetting them later (like shown earlier) or using node.traverse +
inspect. This will be much nicer to use.

when you set

\tracingnodes

to a positive value (1, 2) you'll also see node numbers

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] Can't manipulate glue added by tex.preparelinebreak

2022-07-28 Thread Max Chernoff via ntg-context
> looks like i don't update something, i'll fix it (probably bin later
> today)

> new upload (see earlier mail for rest)

Works great! Thanks!

> btw, you can do this:
> 
>  local h, t, pil, pir, pfl, pfr = tex.preparelinebreak(new_head)
>  inspect(pfr)
>  pfr.stretchorder = 0
>  pfr.stretch = 0
> 

Ah, that's quite convenient. I'm still supporting LuaTeX, so
unfortunately I'm somewhat limited with which helpers I can take
advantage of.

> as well as use
> 
>   tex.show(broken)
> 
> to see the result

That will be really nice for debugging. I've either been storing boxes
and typesetting them later (like shown earlier) or using node.traverse +
inspect. This will be much nicer to use.

Thanks,
-- Max
___
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
___