From a036ac2dd19b592316e1b479360e9e6c6700e935 Mon Sep 17 00:00:00 2001 From: Context Git Mirror Bot Date: Mon, 15 Feb 2016 11:15:07 +0100 Subject: 2016-02-15 10:29:00 --- doc/context/documents/general/manuals/xml-mkiv.pdf | Bin 1310410 -> 1308267 bytes .../general/manuals/luatex/luatex-languages.tex | 4 +++- .../general/manuals/luatex/luatex-libraries.tex | 25 +++++++++++++++++++++ .../sources/general/manuals/xml/xml-mkiv.tex | 14 ++++++++++++ 4 files changed, 42 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/context/documents/general/manuals/xml-mkiv.pdf b/doc/context/documents/general/manuals/xml-mkiv.pdf index 20d17ad9d..7305fb7a8 100644 Binary files a/doc/context/documents/general/manuals/xml-mkiv.pdf and b/doc/context/documents/general/manuals/xml-mkiv.pdf differ diff --git a/doc/context/sources/general/manuals/luatex/luatex-languages.tex b/doc/context/sources/general/manuals/luatex/luatex-languages.tex index 773cbdf81..bfcfbd878 100644 --- a/doc/context/sources/general/manuals/luatex/luatex-languages.tex +++ b/doc/context/sources/general/manuals/luatex/luatex-languages.tex @@ -111,7 +111,9 @@ fields, and the new special fields like \quote {attr} \stopitemize Incidentally, \LUATEX\ allows 16383 separate languages, and words can be 256 -characters long. +characters long. The language is stored with each character. You can set +\type {\firstvalidlanguage} to for instance~1 and make thereby language~0 +an ignored hyphenation language. The new primitive \type {\hyphenationmin} can be used to signal the minimal length of a word. This value stored with the (current) language. diff --git a/doc/context/sources/general/manuals/luatex/luatex-libraries.tex b/doc/context/sources/general/manuals/luatex/luatex-libraries.tex index be4052637..79fd0c44a 100644 --- a/doc/context/sources/general/manuals/luatex/luatex-libraries.tex +++ b/doc/context/sources/general/manuals/luatex/luatex-libraries.tex @@ -5459,6 +5459,15 @@ unknown): local w, h, d = tex.getboxresourcedimensions(n) \stoptyping +You can split a box: + +\starttyping +local vlist = tex.splitbox(n,height) +\stoptyping + +The remainder is kept in the original box and a packaged vlist is returned. This +operation is comparable to the \type {\vsplit} operation. + \subsection{Math parameters} It is possible to set and query the internal math parameters using: @@ -6479,6 +6488,22 @@ The results are like: \def\csname{} \stoptyping +There is a (for now) experimental putter: + +\starttyping +local t1 = token.get_next() +local t2 = token.get_next() +local t3 = token.get_next() +local t4 = token.get_next() +-- watch out, we flush in sequence +token.put_next { t1, t2 } +-- but this one gets pushed in front +token.put_next ( t3, t4 ) +\stoptyping + +When we scan \type {wxyz!} we get \type {yzwx!} back. The argument is either a table +with tokens or a list of tokens. + \stopchapter \stopcomponent diff --git a/doc/context/sources/general/manuals/xml/xml-mkiv.tex b/doc/context/sources/general/manuals/xml/xml-mkiv.tex index a2b981f64..42ec7df9a 100644 --- a/doc/context/sources/general/manuals/xml/xml-mkiv.tex +++ b/doc/context/sources/general/manuals/xml/xml-mkiv.tex @@ -1048,6 +1048,20 @@ You can restrict flushing by using commands that accept a specification. {cd:node} \stopxmlcmd +\startxmlcmd {\cmdbasicsetup{xmlpure}} + returns the text of the matching \cmdinternal {cd:lpath} under \cmdinternal + {cd:node} without \type {\Ux} escaped special \TEX\ characters +\stopxmlcmd + +\startxmlcmd {\cmdbasicsetup{xmlflushtext}} + returns the text of the \cmdinternal {cd:node} +\stopxmlcmd + +\startxmlcmd {\cmdbasicsetup{xmlflushpure}} + returns the text of the \cmdinternal {cd:node} without \type {\Ux} escaped + special \TEX\ characters +\stopxmlcmd + \startxmlcmd {\cmdbasicsetup{xmlnonspace}} returns the text of the matching \cmdinternal {cd:lpath} under \cmdinternal {cd:node} without embedded spaces -- cgit v1.2.3