diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-17 21:26:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-17 21:26:14 +0000 |
commit | 089e7e2b5f7b92b6dfc6c6bf0c73b582c503eaaf (patch) | |
tree | 6151809a662d36591ae995e12cd6a8d7240dca71 /Master/texmf-dist/doc/context/sources | |
parent | 0c7ddd509036cc608279b743a5ca46a5003b0251 (diff) |
context, from current (17may16)
git-svn-id: svn://tug.org/texlive/trunk@41222 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/context/sources')
-rw-r--r-- | Master/texmf-dist/doc/context/sources/general/manuals/luatex/luatex-nodes.tex | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/context/sources/general/manuals/luatex/luatex-nodes.tex b/Master/texmf-dist/doc/context/sources/general/manuals/luatex/luatex-nodes.tex index 03c0774c7ca..e90813c3397 100644 --- a/Master/texmf-dist/doc/context/sources/general/manuals/luatex/luatex-nodes.tex +++ b/Master/texmf-dist/doc/context/sources/general/manuals/luatex/luatex-nodes.tex @@ -995,6 +995,8 @@ this: \NC \type {getprev} \NC \yes \NC \yes \NC \NR \NC \type {getsubtype} \NC \yes \NC \yes \NC \NR \NC \type {has_attribute} \NC \yes \NC \yes \NC \NR +\NC \type {get_attribute} \NC \yes \NC \yes \NC \NR +\NC \type {find_attribute} \NC \yes \NC \yes \NC \NR \NC \type {has_field} \NC \yes \NC \yes \NC \NR \NC \type {has_glyph} \NC \yes \NC \yes \NC \NR \NC \type {hpack} \NC \yes \NC \yes \NC \NR @@ -1777,6 +1779,26 @@ Tests if a node has the attribute with number \type {id} set. If \type {val} is also supplied, also tests if the value matches \type {val}. It returns the value, or, if no match is found, \type {nil}. +\subsubsection{\type {node.get_attribute}} + +\startfunctioncall +<number> v = + node.get_attribute(<node> n, <number> id) +\stopfunctioncall + +Tests if a node has an attribute with number \type {id} set. It returns the +value, or, if no match is found, \type {nil}. + +\subsubsection{\type {node.find_attribute}} + +\startfunctioncall +<number> v, <node> n = + node.find_attribute(<node> n, <number> id) +\stopfunctioncall + +Finds the first node that has attribute with number \type {id} set. It returns +the value and the node if there is a match and otherwise nothing. + \subsubsection{\type {node.set_attribute}} \startfunctioncall |