Hans,
thank you.
By your and Max's answers, I understand that
there must be box.glueset for the glues in the box.list to actually work.
Best regards
Huang Fusyong(黄复雄)
Hans Hagen via ntg-context 于2022年11月11日周五 18:52写道:
>
> On 11/11/2022 10:53 AM, Max Chernoff via ntg-context wrote:
> > Hi,
> >
Dear Max,
I am very grateful that you took the time to tweak and test my
non-running code snippet
and found the problem.
> local box = node.hpack(hss + b, "exactly", 0)
You are absolutely right, the cause of the problem was that I wasn't
using node.hpack().
Actually, I tried to use it, but used
On 11/11/2022 10:53 AM, Max Chernoff via ntg-context wrote:
Hi,
I want to simulate \hss in lua end in ConTeXt/luametatex environment.
For example,
```ConTeXt
a{\raise 1.5ex\hbox to 0pt{\hss b}}c
```
And in lua, I do as follows(part of my app seen in attachment):
Your code doesn't
Hi,
> I want to simulate \hss in lua end in ConTeXt/luametatex environment.
> For example,
>
> ```ConTeXt
> a{\raise 1.5ex\hbox to 0pt{\hss b}}c
> ```
> And in lua, I do as follows(part of my app seen in attachment):
Your code doesn't compile as is. I think that this is the same thing
Hi list,
I want to simulate \hss in lua end in ConTeXt/luametatex environment.
For example,
```ConTeXt
a{\raise 1.5ex\hbox to 0pt{\hss b}}c
```
should get 'b' on top of 'a', as follows:
```pdf
b
ac
```
and in lua, I see a before "b" node, width
width:0, stretch:65536, shrink:65536,