From dd8e1bab358884db6ba3f2373f515fbcc991e5ee Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sat, 28 Mar 2020 15:51:51 +0100 Subject: 2020-03-28 14:35:00 --- doc/context/documents/general/manuals/luatex.pdf | Bin 1542992 -> 1540615 bytes .../manuals/luametatex/luametatex-nodes.tex | 4 ++-- .../general/manuals/luametatex/luametatex-tex.tex | 8 ++++---- .../general/manuals/luatex/luatex-nodes.tex | 4 ++-- .../sources/general/manuals/luatex/luatex.tex | 7 +++++++ 5 files changed, 15 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/context/documents/general/manuals/luatex.pdf b/doc/context/documents/general/manuals/luatex.pdf index 553b1613d..f01b77711 100644 Binary files a/doc/context/documents/general/manuals/luatex.pdf and b/doc/context/documents/general/manuals/luatex.pdf differ diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-nodes.tex b/doc/context/sources/general/manuals/luametatex/luametatex-nodes.tex index 63386ed02..c7eb9013d 100644 --- a/doc/context/sources/general/manuals/luametatex/luametatex-nodes.tex +++ b/doc/context/sources/general/manuals/luametatex/luametatex-nodes.tex @@ -1436,8 +1436,8 @@ This helper returns the location of the first match at or after node \type {n}: \libindex {setglue} -You can set the properties of a glue in one go. If you pass no values, the glue -will become a zero glue. +You can set the five properties of a glue in one go. If a non|-|numeric value is +passed the property becomes zero. \startfunctioncall node.setglue( n) diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex b/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex index 737f3b960..09c4233a0 100644 --- a/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex +++ b/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex @@ -734,10 +734,10 @@ We have similar setters for \type {count}, \type {dimen}, \type {muskip}, and nodes, and toks by strings. Again the glue variants are not using the \nod {glue-spec} userdata nodes. The -\type {setglue} function accepts upto 5 arguments: width, stretch, shrink, -stretch order and shrink order and the \type {getglue} function reports them, -unless the second argument is \type {false} in which case only the width is -returned. +\type {setglue} function accepts upto five arguments: width, stretch, shrink, +stretch order and shrink order. Non|-|numeric values set the property to zero. +The \type {getglue} function reports all five properties, unless the second +argument is \type {false} in which case only the width is returned. Here is an example using a threesome: diff --git a/doc/context/sources/general/manuals/luatex/luatex-nodes.tex b/doc/context/sources/general/manuals/luatex/luatex-nodes.tex index 21e8a2808..a379b7b0a 100644 --- a/doc/context/sources/general/manuals/luatex/luatex-nodes.tex +++ b/doc/context/sources/general/manuals/luatex/luatex-nodes.tex @@ -1935,8 +1935,8 @@ character protrusion is active, this node can be skipped. \libindex {setglue} -You can set the properties of a glue in one go. If you pass no values, the glue -will become a zero glue. +You can set the five properties of a glue in one go. Non|-|numeric values are +equivalent to zero and reset a property. \startfunctioncall node.setglue( n) diff --git a/doc/context/sources/general/manuals/luatex/luatex.tex b/doc/context/sources/general/manuals/luatex/luatex.tex index 5a98f2243..24fcf979b 100644 --- a/doc/context/sources/general/manuals/luatex/luatex.tex +++ b/doc/context/sources/general/manuals/luatex/luatex.tex @@ -23,6 +23,13 @@ % comment : Some (parts of) chapters might have been published in TugBoat, the NTG Maps, the % ConTeXt Group journal or otherwise. Thanks to the editors for corrections. Also % thanks to users for testing, feedback and corrections. +% +% comment : Of course specific distribution can add to the manual, but that is of course not +% our responsibility. The official (latest) version of this manual is part of the +% ConTeXt distribution, including a pdf file that is produced with the current +% version of ConTeXt. So, in case of doubt use that one as reference. Some of the +% improvements in the LuaMetaTeX manual that apply to LuaTeX might get retrofitted +% in LuaTeX manual in due time. % \tex vs \type vs \syntax vs. \luatex % \em \it \/ -- cgit v1.2.3