diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-04-19 20:29:51 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-04-19 20:29:51 +0200 |
commit | 3c25716e01b7251f0f7504481692421a729e4b53 (patch) | |
tree | f35478a7500c113744dd3875f3f8ab486a21c595 /doc | |
parent | 9a1b9756939e12e328dea3633d9fe3cbde8f154b (diff) | |
download | context-3c25716e01b7251f0f7504481692421a729e4b53.tar.gz |
2020-04-19 19:24:00
Diffstat (limited to 'doc')
-rw-r--r-- | doc/context/documents/general/manuals/luametatex.pdf | bin | 1202234 -> 1203534 bytes | |||
-rw-r--r-- | doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex | 12 | ||||
-rw-r--r-- | doc/context/sources/general/manuals/luametatex/luametatex-metapost.tex | 22 |
3 files changed, 22 insertions, 12 deletions
diff --git a/doc/context/documents/general/manuals/luametatex.pdf b/doc/context/documents/general/manuals/luametatex.pdf Binary files differindex c267b6704..f73b39d16 100644 --- a/doc/context/documents/general/manuals/luametatex.pdf +++ b/doc/context/documents/general/manuals/luametatex.pdf diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex b/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex index f295b3464..cc3788ee9 100644 --- a/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex +++ b/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex @@ -320,6 +320,7 @@ experimental. \topicindex {attributes} \topicindex {boxes} +\topicindex {vcentering} Nodes typically receive the list of attributes that is in effect when they are created. This moment can be quite asynchronous. For example: in paragraph @@ -343,7 +344,7 @@ already boxed material will have no effect. Keep in mind that this incompatibility is mostly due to the fact that separate specials and literals are a more unnatural approach to colors than attributes. -It is possible to fine-tune the list of attributes that are applied to a \type +It is possible to fine|-|tune the list of attributes that are applied to a \type {hbox}, \type {vbox} or \type {vtop} by the use of the keyword \type {attr}. The \type {attr} keyword(s) should come before a \type {to} or \type {spread}, if that is also specified. An example is: @@ -392,6 +393,13 @@ indexing the node (here we do that with \type {[a]}). Running this snippet gives Because some values are not set we need to apply the \type {tostring} function here so that we get the word \type {nil}. +A special kind of box is \prm {vcenter}. This one also can have attributes. When +one or more are set these plus the currently set attributes are bound to the +resulting box. In regular \TEX\ these centered boxes are only permitted in math +mode, but in \LUAMETATEX\ there is no error message and the box the height and +depth are equally divided. Of course in text mode there is no math axis related +offset applied. + \stopsubsection \stopsection @@ -1651,7 +1659,7 @@ difference. Watch your spaces. \stopsubsection -\startsubsection[title={Controling parshapes with \lpr {shapemode}}] +\startsubsection[title={Controlling parshapes with \lpr {shapemode}}] Another adaptation to the \ALEPH\ directional model is control over shapes driven by \prm {hangindent} and \prm {parshape}. This is controlled by a new parameter diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-metapost.tex b/doc/context/sources/general/manuals/luametatex/luametatex-metapost.tex index 85dc30036..1da447fef 100644 --- a/doc/context/sources/general/manuals/luametatex/luametatex-metapost.tex +++ b/doc/context/sources/general/manuals/luametatex/luametatex-metapost.tex @@ -34,26 +34,28 @@ This creates the \type {mp} instance object. The argument is a hash table that can have a number of different fields, as follows: \starttabulate[|l|l|pl|pl|] -\DB name \BC type \BC description \BC default \NC \NR +\DB name \BC type \BC description \BC default \NC \NR \TB -\NC \type{error_line} \NC number \NC error line width \NC 79 \NC \NR -\NC \type{print_line} \NC number \NC line length in ps output \NC 100 \NC \NR -\NC \type{random_seed} \NC number \NC the initial random seed \NC variable \NC \NR +\NC \type{error_line} \NC number \NC error line width \NC 79 \NC \NR +\NC \type{print_line} \NC number \NC line length in ps output \NC 100 \NC \NR +\NC \type{random_seed} \NC number \NC the initial random seed \NC variable \NC \NR \NC \type{math_mode} \NC string \NC the number system to use: \type {scaled}, \type {double} or % \type {binary} or - \type {decimal} \NC \type {scaled} \NC \NR + \type {decimal} \NC \type {scaled} \NC \NR \NC \type{interaction} \NC string \NC the interaction mode: \type {batch}, \type {nonstop}, \type {scroll} or - \type {errorstop} \NC \type {errorstop} \NC \NR -\NC \type{job_name} \NC string \NC a compatibility value \NC \type {mpout} \NC \NR -\NC \type{find_file} \NC function \NC a function to find files \NC only local files \NC \NR -\NC \type{utf8} \NC boolean \NC permit characters in the + \type {errorstop} \NC \type {errorstop} \NC \NR +\NC \type{job_name} \NC string \NC a compatibility value \NC \type {mpout} \NC \NR +\NC \type{find_file} \NC function \NC a function to find files \NC only local files \NC \NR +\NC \type{utf8_mode} \NC boolean \NC permit characters in the range 128 upto 255 to be - part of names \NC \type {false} \NC \NR + part of names \NC \type {false} \NC \NR +\NC \type{text_mode} \NC boolean \NC permit characters 2 and 3 + as fencing string literals \NC \type {false} \NC \NR \LL \stoptabulate |