From 551c89289d267c2d8901f3375e57ed1fe2508de5 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Tue, 2 Oct 2018 23:41:59 +0200 Subject: 2018-10-02 23:25:00 --- doc/context/sources/general/manuals/luatex/luatex-nodes.tex | 2 ++ doc/context/sources/general/manuals/texit/texit-introduction.tex | 4 ++-- doc/context/sources/general/manuals/texit/texit-lookahead.tex | 6 +++--- doc/context/sources/general/manuals/texit/texit-titlepage.tex | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) (limited to 'doc/context/sources/general/manuals') diff --git a/doc/context/sources/general/manuals/luatex/luatex-nodes.tex b/doc/context/sources/general/manuals/luatex/luatex-nodes.tex index 40324cd7b..34a2aebe8 100644 --- a/doc/context/sources/general/manuals/luatex/luatex-nodes.tex +++ b/doc/context/sources/general/manuals/luatex/luatex-nodes.tex @@ -2274,6 +2274,8 @@ Some accessors are used frequently and for these we provide more efficient helpe \NC \type{getfield} \NC generic getter, sufficient for the rest (other field names are often shared so a specific getter makes no sense then) \NC \NR \NC \type{getbox} \NC gets the given box (a list node) \NC \NR +\NC \type{getoffsets} \NC gets the \type {xoffset} and \type {yoffset} of a glyph or + \type {left} and \type {right} values of a rule \NC \NR \LL \stoptabulate diff --git a/doc/context/sources/general/manuals/texit/texit-introduction.tex b/doc/context/sources/general/manuals/texit/texit-introduction.tex index 6b33437ec..cfe87c25a 100644 --- a/doc/context/sources/general/manuals/texit/texit-introduction.tex +++ b/doc/context/sources/general/manuals/texit/texit-introduction.tex @@ -8,10 +8,10 @@ I needed a place to collect examples of \TEX\ coding and this is it. The example presented here are an unorganized bunch. Some originate in questions asked on the mailing list. Others are byproducts of tests made when playing with some (new) functionality. When you plan to use \TEX\ for a long time, it doesn't hurt to see -a bit of \TEX coding but when possible I will also show the \CONTEXT\ way. +a bit of \TEX\ coding but when possible I will also show the \CONTEXT\ way. I hope that this document is useful. You can of course always try to challenge me -for more examples. Hopefully I will nto forget about this document and extend it +for more examples. Hopefully I will not forget about this document and extend it occasionaly. \startlines diff --git a/doc/context/sources/general/manuals/texit/texit-lookahead.tex b/doc/context/sources/general/manuals/texit/texit-lookahead.tex index d3652e744..03eaecabe 100644 --- a/doc/context/sources/general/manuals/texit/texit-lookahead.tex +++ b/doc/context/sources/general/manuals/texit/texit-lookahead.tex @@ -21,7 +21,7 @@ or maybe: \stopTEX Normally the percentage symbol is used to indicate a comment, but here -are no comments. In these cases it makes the definition effectively +are no comments. In these cases, it makes the definition effectively \startTEX \def\foo#1{do something with "#1"!} @@ -57,7 +57,7 @@ A different use of the percent is seen in cases like this: This time we want to preserve the space after \type {something} because an end|-|of|-|line would either or not collapse it with \type {with} depending on -how the endofline character is set up. Normally: +how the endofline character is set up. Normally \startTEX \def\foo#1% @@ -65,7 +65,7 @@ how the endofline character is set up. Normally: with "#1".} \stopTEX -Will also add a space after something but when \TEX\ is set up to ignore lines +will also add a space after something but when \TEX\ is set up to ignore lines you get a collapse. So the explicit space is a robust way out. Both cases of using or omitting the comment symbol are easy to spot as they trigger an error or result in weird typeset results. diff --git a/doc/context/sources/general/manuals/texit/texit-titlepage.tex b/doc/context/sources/general/manuals/texit/texit-titlepage.tex index ee5db1969..1b7cabe84 100644 --- a/doc/context/sources/general/manuals/texit/texit-titlepage.tex +++ b/doc/context/sources/general/manuals/texit/texit-titlepage.tex @@ -23,7 +23,7 @@ draw image ( clip currentpicture to Page ; -draw textext.ulft ("\TeX it") ysized 5cm +draw textext.ulft ("\TeX it") ysized 5cm % indeed, no space after \TeX ! shifted lrcorner Page shifted (-1cm,1cm) withcolor white ; -- cgit v1.2.3