summaryrefslogtreecommitdiff
path: root/doc/context
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2023-04-27 00:04:07 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2023-04-27 00:04:07 +0200
commit6b25a7a970ba9553adf8077ef2eecb50a5d77818 (patch)
treef06e40077ba9e55af4bf6cab52313f79f8ea84a8 /doc/context
parent657457ef4a08c1f000f272e00f654f4064cc37bd (diff)
downloadcontext-6b25a7a970ba9553adf8077ef2eecb50a5d77818.tar.gz
2023-04-26 23:31:00
Diffstat (limited to 'doc/context')
-rw-r--r--doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex3
-rw-r--r--doc/context/sources/general/manuals/luametatex/luametatex-fonts.tex8
-rw-r--r--doc/context/sources/general/manuals/luametatex/luametatex-modifications.tex24
-rw-r--r--doc/context/sources/general/manuals/luatex/luatex-nodes.tex24
4 files changed, 36 insertions, 23 deletions
diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex b/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex
index dd7428e25..46d986bfb 100644
--- a/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex
+++ b/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex
@@ -1710,7 +1710,8 @@ less storage demands) for macros with no arguments, and flags that can be set fo
macros the way macros are traced can be different in details (we therefore have
for instance \prm {meaningfull} (double l's indeed) and \prm {meaningless} as
variants of \prm {meaning} as well as \prm {meaningasis} for more literal
-alternative).
+alternative). The \prm {meaningful} and \prm {meaningles} variants show no body
+but do show the preamble when we have arguments.
\stopsubsection
diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-fonts.tex b/doc/context/sources/general/manuals/luametatex/luametatex-fonts.tex
index 127fd16c1..7f0a7a62c 100644
--- a/doc/context/sources/general/manuals/luametatex/luametatex-fonts.tex
+++ b/doc/context/sources/general/manuals/luametatex/luametatex-fonts.tex
@@ -856,15 +856,15 @@ instance content moved into the margin:
\stopsubsection
-\startsubsection[title={\prm{fontcharta}}]
+\startsubsection[title={\prm{fontcharta} and \prm{fontcharba}}]
\topicindex {glyphs + properties}
The \prm {fontcharwd}, \prm {fontcharht}, \prm {fontchardp} and \prm {fontcharic}
give access to character properties. To this repertoire \LUAMETATEX\ adds the top
-accent accessor \prm {fontcharta} which came in handy for tracing. You pass a
-font reference and character code. Normally only \OPENTYPE\ math fonts have this
-property.
+and bottom accent accessors \prm {fontcharta} and \prm {fontcharba} that came in
+handy for tracing. You pass a font reference and character code. Normally only
+\OPENTYPE\ math fonts have this property.
\stopsubsection
diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-modifications.tex b/doc/context/sources/general/manuals/luametatex/luametatex-modifications.tex
index c18a2bc48..f19cee29e 100644
--- a/doc/context/sources/general/manuals/luametatex/luametatex-modifications.tex
+++ b/doc/context/sources/general/manuals/luametatex/luametatex-modifications.tex
@@ -588,17 +588,19 @@ that over time system dependencies have been handles with \TEX\ change files, th
When it became unavoidable that we output more detail, it also became clear that
it made no sense to stay log and trace compatible. Some is controlled by
parameters in order to stay close the original, but \CONTEXT\ is configured such
-that we benefit from the new possibilities. Examples are that in addition to
-\prm {meaning} we have \prm {meaningfull} that also exposes macro properties,
-and \prm {meaningless} that only exposes the body. The \prm {untraced} prefix
-will suppress some in the log, and we set \prm {tracinglevels} to 3 in order to
-get details about the input and grouping level. When there's less shown than
-expected keep in mind that \LUAMETATEX\ has a somewhat optimized saving and
-restoring of meanings so less can happen which is reflected in tracing. When node
-lists are serialized (as with \prm {showbox}) some nodes, like discretionaries
-report more detail. The compact serializer, used for instance to signal overfull
-boxes, also shows a bit more detail with respect to non|-|content nodes. I math
-more is shown if only because we have more control and additional mechanisms.
+that we benefit from the new possibilities. Examples are that in addition to \prm
+{meaning} we have \prm {meaningfull} that also exposes macro properties, and \prm
+{meaningless} that only exposes the body; their companions \prm {meaningful} and
+\prm {meaningles} show no body but do show the preamble when present. The \prm
+{untraced} prefix will suppress some in the log, and we set \prm {tracinglevels}
+to 3 in order to get details about the input and grouping level. When there's
+less shown than expected keep in mind that \LUAMETATEX\ has a somewhat optimized
+saving and restoring of meanings so less can happen which is reflected in
+tracing. When node lists are serialized (as with \prm {showbox}) some nodes, like
+discretionaries report more detail. The compact serializer, used for instance to
+signal overfull boxes, also shows a bit more detail with respect to non|-|content
+nodes. I math more is shown if only because we have more control and additional
+mechanisms.
\stopsubsection
diff --git a/doc/context/sources/general/manuals/luatex/luatex-nodes.tex b/doc/context/sources/general/manuals/luatex/luatex-nodes.tex
index e023d4dac..8eb980629 100644
--- a/doc/context/sources/general/manuals/luatex/luatex-nodes.tex
+++ b/doc/context/sources/general/manuals/luatex/luatex-nodes.tex
@@ -1250,7 +1250,7 @@ This converts a single type name to its internal numeric representation.
\libindex {type}
\libindex {subtype}
-If the argument is a number, then the next function converts an internal
+If the argument is a number, then the next function converts an internal numeric
numeric representation to an external string representation. Otherwise, it will
return the string \type {node} if the object represents a node, and \type {nil}
otherwise.
@@ -1877,7 +1877,7 @@ word boundaries are possible).
\startfunctioncall
node.unprotect_glyph(<node> n)
-node.unprotect_glyphs(<node> n,[<node> n])
+node.unprotect_glyphs(<node> n,[<node> ,m])
\stopfunctioncall
Subtracts 256 from all glyph node subtypes. This and the next function are
@@ -1891,7 +1891,7 @@ processing. The second argument is optional and indicates the end of a range.
\startfunctioncall
node.protect_glyph(<node> n)
-node.protect_glyphs(<node> n,[<node> n])
+node.protect_glyphs(<node> n,[<node> m])
\stopfunctioncall
Adds 256 to all glyph node subtypes in the node list starting at \type {n},
@@ -2334,21 +2334,26 @@ consistency. You can of course always define additional accessors using \type
\supported {fields} \yes \nop
\supported {find_attribute} \yes \yes
\supported {first_glyph} \yes \yes
+\supported {fix_node_lists} \yes \nop
\supported {flatten_discretionaries} \yes \yes
\supported {flush_list} \yes \yes
\supported {flush_node} \yes \yes
+\supported {flush_properties_table} \yes \yes
\supported {free} \yes \yes
\supported {get_attribute} \yes \yes
+\supported {get_properties_table} \yes \yes
\supported {get_synctex_fields} \nop \yes
\supported {getattributelist} \nop \yes
\supported {getboth} \yes \yes
\supported {getbox} \nop \yes
\supported {getchar} \yes \yes
\supported {getcomponents} \nop \yes
+\supported {getdata} \nop \yes
\supported {getdepth} \nop \yes
\supported {getdirection} \nop \yes
\supported {getdir} \nop \yes
\supported {getdisc} \yes \yes
+\supported {getexpansion} \nop \yes
\supported {getfam} \nop \yes
\supported {getfield} \yes \yes
\supported {getfont} \yes \yes
@@ -2369,13 +2374,13 @@ consistency. You can of course always define additional accessors using \type
\supported {getsubtype} \yes \yes
\supported {getsub} \nop \yes
\supported {getsup} \nop \yes
-\supported {getdata} \nop \yes
\supported {getwhd} \yes \yes
\supported {getwidth} \nop \yes
\supported {has_attribute} \yes \yes
\supported {has_field} \yes \yes
\supported {has_glyph} \yes \yes
\supported {hpack} \yes \yes
+\supported {hyphenating} \nop \yes
\supported {id} \yes \nop
\supported {insert_after} \yes \yes
\supported {insert_before} \yes \yes
@@ -2388,6 +2393,7 @@ consistency. You can of course always define additional accessors using \type
\supported {last_node} \yes \yes
\supported {length} \yes \yes
\supported {ligaturing} \yes \yes
+\supported {make_extensible} \yes \nop
\supported {mlist_to_hlist} \yes \nop
\supported {new} \yes \yes
\supported {next} \yes \nop
@@ -2399,20 +2405,22 @@ consistency. You can of course always define additional accessors using \type
\supported {rangedimensions} \yes \yes
\supported {remove} \yes \yes
\supported {set_attribute} \yes \yes
+\supported {set_properties_mode} \yes \yes
\supported {set_synctex_fields} \nop \yes
\supported {setattributelist} \nop \yes
\supported {setboth} \nop \yes
\supported {setbox} \nop \yes
\supported {setchar} \nop \yes
\supported {setcomponents} \nop \yes
+\supported {setdata} \nop \yes
\supported {setdepth} \nop \yes
\supported {setdirection} \nop \yes
\supported {setdir} \nop \yes
\supported {setdisc} \nop \yes
+\supported {setexpansion} \nop \yes
\supported {setfam} \nop \yes
\supported {setfield} \yes \yes
\supported {setfont} \nop \yes
-\supported {setexpansion} \nop \yes
\supported {setglue} \yes \yes
\supported {setheight} \nop \yes
\supported {setkern} \nop \yes
@@ -2443,6 +2451,7 @@ consistency. You can of course always define additional accessors using \type
\supported {traverse_char} \yes \yes
\supported {traverse_glyph} \yes \yes
\supported {traverse_id} \yes \yes
+\supported {traverse_list} \nop \yes
\supported {traverse} \yes \yes
\supported {types} \yes \nop
\supported {type} \yes \nop
@@ -2451,6 +2460,7 @@ consistency. You can of course always define additional accessors using \type
\supported {unset_attribute} \yes \yes
\supported {usedlist} \yes \yes
\supported {uses_font} \yes \yes
+\supported {values} \yes \nop
\supported {vpack} \yes \yes
\supported {whatsits} \yes \nop
\supported {write} \yes \yes
@@ -2490,9 +2500,9 @@ number, for a glue, kern, hlist, vlist, rule and math nodes as well as glyph
nodes (although this last one is not used in native \SYNCTEX).
\startfunctioncall
-node.direct.set_synctex_fields(<integer> f, <integer> l)
+node.direct.set_synctex_fields(<integer> n, <integer> f, <integer> l)
<integer> f, <integer> l =
- node.direct.get_synctex_fields(<node> n)
+ node.direct.get_synctex_fields(<integer> n)
\stopfunctioncall
Of course you need to know what you're doing as no checking on sane values takes