summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-08-04 18:47:30 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-08-04 18:47:30 +0200
commit898d8e12e219efa15e367285cee56cab77f84339 (patch)
tree404c30330e8fffaf84b9e5ad3bd53f7be47846b0 /doc
parent6db2cd924d26ade933812f90701343f06c8653f2 (diff)
downloadcontext-898d8e12e219efa15e367285cee56cab77f84339.tar.gz
2021-08-04 17:50:00
Diffstat (limited to 'doc')
-rw-r--r--doc/context/sources/general/manuals/fonts/fonts-appendix.tex2
-rw-r--r--doc/context/sources/general/manuals/fonts/fonts-environment.tex2
-rw-r--r--doc/context/sources/general/manuals/fonts/fonts-extensions.tex2
-rw-r--r--doc/context/sources/general/manuals/fonts/fonts-features.tex62
-rw-r--r--doc/context/sources/general/manuals/fonts/fonts-formats.tex2
-rw-r--r--doc/context/sources/general/manuals/fonts/fonts-hooks.tex2
-rw-r--r--doc/context/sources/general/manuals/fonts/fonts-introduction.tex2
-rw-r--r--doc/context/sources/general/manuals/fonts/fonts-lookups.tex2
-rw-r--r--doc/context/sources/general/manuals/fonts/fonts-math.tex2
-rw-r--r--doc/context/sources/general/manuals/fonts/fonts-methods.tex2
-rw-r--r--doc/context/sources/general/manuals/fonts/fonts-mkiv.tex2
-rw-r--r--doc/context/sources/general/manuals/fonts/fonts-modes.tex2
-rw-r--r--doc/context/sources/general/manuals/fonts/fonts-scripts.tex2
-rw-r--r--doc/context/sources/general/manuals/fonts/fonts-tricks.tex2
-rw-r--r--doc/context/sources/general/manuals/metafun/metafun-effects.tex3
-rw-r--r--doc/context/sources/general/manuals/metafun/metafun-sneaky.tex9
-rw-r--r--doc/context/sources/general/manuals/metafun/metafun-text.tex244
-rw-r--r--doc/context/sources/general/manuals/metafun/metafun.tex11
-rw-r--r--doc/context/sources/general/manuals/sql/sql-mkiv.tex2
-rw-r--r--doc/context/sources/general/manuals/steps/steps-mkiv.tex2
-rw-r--r--doc/context/sources/general/manuals/svg/svg-lmtx.tex4
21 files changed, 188 insertions, 175 deletions
diff --git a/doc/context/sources/general/manuals/fonts/fonts-appendix.tex b/doc/context/sources/general/manuals/fonts/fonts-appendix.tex
index 2eab26a93..fab0907b9 100644
--- a/doc/context/sources/general/manuals/fonts/fonts-appendix.tex
+++ b/doc/context/sources/general/manuals/fonts/fonts-appendix.tex
@@ -1,4 +1,4 @@
-% language=uk
+% language=us runpath=texruns:manuals/fonts
\startcomponent fonts-appendix
diff --git a/doc/context/sources/general/manuals/fonts/fonts-environment.tex b/doc/context/sources/general/manuals/fonts/fonts-environment.tex
index c884d97e5..4ec877efd 100644
--- a/doc/context/sources/general/manuals/fonts/fonts-environment.tex
+++ b/doc/context/sources/general/manuals/fonts/fonts-environment.tex
@@ -1,3 +1,5 @@
+% language=us runpath=texruns:manuals/fonts
+
\startenvironment fonts-environment
% we need to do this beforehand
diff --git a/doc/context/sources/general/manuals/fonts/fonts-extensions.tex b/doc/context/sources/general/manuals/fonts/fonts-extensions.tex
index afe6fd823..f28a21d02 100644
--- a/doc/context/sources/general/manuals/fonts/fonts-extensions.tex
+++ b/doc/context/sources/general/manuals/fonts/fonts-extensions.tex
@@ -1,4 +1,4 @@
-% language=uk
+% language=us runpath=texruns:manuals/fonts
\startcomponent fonts-extensions
diff --git a/doc/context/sources/general/manuals/fonts/fonts-features.tex b/doc/context/sources/general/manuals/fonts/fonts-features.tex
index bf9f39385..e9677fe84 100644
--- a/doc/context/sources/general/manuals/fonts/fonts-features.tex
+++ b/doc/context/sources/general/manuals/fonts/fonts-features.tex
@@ -1,4 +1,4 @@
-% language=uk
+% language=us runpath=texruns:manuals/fonts
\startcomponent fonts-features
@@ -883,7 +883,7 @@ results might differ a bit.
\stopcombination
\stopplacefigure
- \definefont[emoji][file:emojionecolor-svginot.ttf*default,svg]
+ \definefont[Emoji][file:emojionecolor-svginot.ttf*default,svg]
\def\FourFaces{\char128104\zwj\char128105\zwj\char128102\zwj\char128102\relax}
@@ -892,67 +892,67 @@ results might differ a bit.
\def\Boy {\char"1F466\relax}
\def\Girl {\char"1F467\relax}
- How do we know what faces add up to the ligature {\emoji\Man \zwj \Woman \zwj
+ How do we know what faces add up to the ligature {\Emoji\Man \zwj \Woman \zwj
\Girl \zwj \Boy} and how are we supposed to know that there should {\darkgray
\type {zwj}} in between? When we input four faces separated by zero width
joiners, we get a four face symbol instead. The reason for having the joiners in
between is probably to avoid unexpected ligatures. The sequence \type {man},
\type {woman}, \type {boy}, \type {boy} gives \type {family}:
%
- {\emoji\Man} + {\darkgray \type {zwj}}
- {\emoji\Woman} + {\darkgray \type {zwj}}
- {\emoji\Boy} + {\darkgray \type {zwj}}
- {\emoji\Boy} = {\emoji\Man \zwj \Woman \zwj \Boy \zwj \Boy},
+ {\Emoji\Man} + {\darkgray \type {zwj}}
+ {\Emoji\Woman} + {\darkgray \type {zwj}}
+ {\Emoji\Boy} + {\darkgray \type {zwj}}
+ {\Emoji\Boy} = {\Emoji\Man \zwj \Woman \zwj \Boy \zwj \Boy},
%
but two girls also work:
%
- {\emoji\Man} + {\darkgray \type {zwj}}
- {\emoji\Woman} + {\darkgray \type {zwj}}
- {\emoji\Girl} + {\darkgray \type {zwj}}
- {\emoji\Girl} = {\emoji\Man \zwj \Woman \zwj \Girl \zwj \Girl},
+ {\Emoji\Man} + {\darkgray \type {zwj}}
+ {\Emoji\Woman} + {\darkgray \type {zwj}}
+ {\Emoji\Girl} + {\darkgray \type {zwj}}
+ {\Emoji\Girl} = {\Emoji\Man \zwj \Woman \zwj \Girl \zwj \Girl},
%
so does a mixture of kids:
%
- {\emoji\Man} + {\darkgray \type {zwj}}
- {\emoji\Woman} + {\darkgray \type {zwj}}
- {\emoji\Girl} + {\darkgray \type {zwj}}
- {\emoji\Boy} = {\emoji\Man \zwj \Woman \zwj \Girl \zwj \Boy},
+ {\Emoji\Man} + {\darkgray \type {zwj}}
+ {\Emoji\Woman} + {\darkgray \type {zwj}}
+ {\Emoji\Girl} + {\darkgray \type {zwj}}
+ {\Emoji\Boy} = {\Emoji\Man \zwj \Woman \zwj \Girl \zwj \Boy},
%
although (at least currently):
%
- {\emoji\Man} + {\darkgray \type {zwj}}
- {\emoji\Woman} + {\darkgray \type {zwj}}
- {\emoji\Boy} + {\darkgray \type {zwj}}
- {\emoji\Girl} = {\emoji\Man \zwj \Woman \zwj \Boy \zwj \Girl},
+ {\Emoji\Man} + {\darkgray \type {zwj}}
+ {\Emoji\Woman} + {\darkgray \type {zwj}}
+ {\Emoji\Boy} + {\darkgray \type {zwj}}
+ {\Emoji\Girl} = {\Emoji\Man \zwj \Woman \zwj \Boy \zwj \Girl},
%
- gives twin boys. Of course the real family emoj is {\emoji\char"1F46A}.
+ gives twin boys. Of course the real family emoj is {\Emoji\char"1F46A}.
In our times for sure many combinations are possible, so:
%
- {\emoji\Man} + {\darkgray \type {zwj}}
- {\emoji\Man} + {\darkgray \type {zwj}}
- {\emoji\Girl} + {\darkgray \type {zwj}}
- {\emoji\Girl} = {\emoji\Man \zwj \Man \zwj \Girl \zwj \Girl},
+ {\Emoji\Man} + {\darkgray \type {zwj}}
+ {\Emoji\Man} + {\darkgray \type {zwj}}
+ {\Emoji\Girl} + {\darkgray \type {zwj}}
+ {\Emoji\Girl} = {\Emoji\Man \zwj \Man \zwj \Girl \zwj \Girl},
%
indeed gives a family, but I wonder at what point cultural bias will creep into
font design. One can even wonder how clothing and haircut will demand frequent
- font updates: {\emoji\char"1F46B}, {\emoji\char"1F46C}, {\emoji\char"1F46D}.
+ font updates: {\Emoji\char"1F46B}, {\Emoji\char"1F46C}, {\Emoji\char"1F46D}.
In the math alphabets we have a couple of annoying holes because some characters
were already present in \UNICODE. The bad thing here is that we now always have
to deal with these exceptions. But not so with emojis because here eventually all
variants will show up. Where a character \type {A} in red or blue uses the same
- code point, a white telephone {\emoji\char"1F57E} and black telephone
- {\emoji\char"1F57F} have their own. And because obsolete scripts are already
+ code point, a white telephone {\Emoji\char"1F57E} and black telephone
+ {\Emoji\char"1F57F} have their own. And because obsolete scripts are already
supported in \UNICODE\ and more get added, we can expect old artifacts also
- showing up at some time. Soon the joystick {\emoji\char"1F579} will be an unknown
+ showing up at some time. Soon the joystick {\Emoji\char"1F579} will be an unknown
item to most of us, while the \MICROSOFT\ hololens migth get its slot.
\startplacefigure[title={Will all animals come in stages of development?}]
\startcombination [3*1]
- {\scale[width=.3\textwidth]{\emoji\char"1F423}} {\type{U+1F423}: hatching chick}
- {\scale[width=.3\textwidth]{\emoji\char"1F424}} {\type{U+1F424}: baby chick}
- {\scale[width=.3\textwidth]{\emoji\char"1F425}} {\type{U+1F425}: front-facing baby chick}
+ {\scale[width=.3\textwidth]{\Emoji\char"1F423}} {\type{U+1F423}: hatching chick}
+ {\scale[width=.3\textwidth]{\Emoji\char"1F424}} {\type{U+1F424}: baby chick}
+ {\scale[width=.3\textwidth]{\Emoji\char"1F425}} {\type{U+1F425}: front-facing baby chick}
\stopcombination
\stopplacefigure
diff --git a/doc/context/sources/general/manuals/fonts/fonts-formats.tex b/doc/context/sources/general/manuals/fonts/fonts-formats.tex
index 9ad6bc9bd..7028b17af 100644
--- a/doc/context/sources/general/manuals/fonts/fonts-formats.tex
+++ b/doc/context/sources/general/manuals/fonts/fonts-formats.tex
@@ -1,4 +1,4 @@
-% language=uk
+% language=us runpath=texruns:manuals/fonts
\startcomponent fonts-formats
diff --git a/doc/context/sources/general/manuals/fonts/fonts-hooks.tex b/doc/context/sources/general/manuals/fonts/fonts-hooks.tex
index 7ee5dc198..b85b801c0 100644
--- a/doc/context/sources/general/manuals/fonts/fonts-hooks.tex
+++ b/doc/context/sources/general/manuals/fonts/fonts-hooks.tex
@@ -1,4 +1,4 @@
-% language=uk
+% language=us runpath=texruns:manuals/fonts
\startcomponent fonts-hooks
diff --git a/doc/context/sources/general/manuals/fonts/fonts-introduction.tex b/doc/context/sources/general/manuals/fonts/fonts-introduction.tex
index 0ca91ee9f..d0e844d1f 100644
--- a/doc/context/sources/general/manuals/fonts/fonts-introduction.tex
+++ b/doc/context/sources/general/manuals/fonts/fonts-introduction.tex
@@ -1,4 +1,4 @@
-% language=uk
+% language=us runpath=texruns:manuals/fonts
\startcomponent fonts-introduction
diff --git a/doc/context/sources/general/manuals/fonts/fonts-lookups.tex b/doc/context/sources/general/manuals/fonts/fonts-lookups.tex
index e9448b884..642cb1a5f 100644
--- a/doc/context/sources/general/manuals/fonts/fonts-lookups.tex
+++ b/doc/context/sources/general/manuals/fonts/fonts-lookups.tex
@@ -1,4 +1,4 @@
-% language=uk
+% language=us runpath=texruns:manuals/fonts
\startcomponent fonts-lookups
diff --git a/doc/context/sources/general/manuals/fonts/fonts-math.tex b/doc/context/sources/general/manuals/fonts/fonts-math.tex
index 766204937..745a5e9cb 100644
--- a/doc/context/sources/general/manuals/fonts/fonts-math.tex
+++ b/doc/context/sources/general/manuals/fonts/fonts-math.tex
@@ -1,4 +1,4 @@
-% language=uk
+% language=us runpath=texruns:manuals/fonts
% todo:
diff --git a/doc/context/sources/general/manuals/fonts/fonts-methods.tex b/doc/context/sources/general/manuals/fonts/fonts-methods.tex
index eac86d694..9acbf26b9 100644
--- a/doc/context/sources/general/manuals/fonts/fonts-methods.tex
+++ b/doc/context/sources/general/manuals/fonts/fonts-methods.tex
@@ -1,4 +1,4 @@
-% language=uk
+% language=us runpath=texruns:manuals/fonts
\startcomponent fonts-methods
diff --git a/doc/context/sources/general/manuals/fonts/fonts-mkiv.tex b/doc/context/sources/general/manuals/fonts/fonts-mkiv.tex
index fa53492f0..3a55df4b9 100644
--- a/doc/context/sources/general/manuals/fonts/fonts-mkiv.tex
+++ b/doc/context/sources/general/manuals/fonts/fonts-mkiv.tex
@@ -1,4 +1,4 @@
-% language=uk
+% language=us runpath=texruns:manuals/fonts
% author : Hans Hagen
% copyright : PRAGMA ADE & ConTeXt Development Team
diff --git a/doc/context/sources/general/manuals/fonts/fonts-modes.tex b/doc/context/sources/general/manuals/fonts/fonts-modes.tex
index 95cb95732..253942736 100644
--- a/doc/context/sources/general/manuals/fonts/fonts-modes.tex
+++ b/doc/context/sources/general/manuals/fonts/fonts-modes.tex
@@ -1,4 +1,4 @@
-% language=uk
+% language=us runpath=texruns:manuals/fonts
\definefontfeature
[otftracker-husayni]
diff --git a/doc/context/sources/general/manuals/fonts/fonts-scripts.tex b/doc/context/sources/general/manuals/fonts/fonts-scripts.tex
index aed4f0a5c..78293393f 100644
--- a/doc/context/sources/general/manuals/fonts/fonts-scripts.tex
+++ b/doc/context/sources/general/manuals/fonts/fonts-scripts.tex
@@ -1,4 +1,4 @@
-% language=uk
+% language=us runpath=texruns:manuals/fonts
\startcomponent fonts-scripts
diff --git a/doc/context/sources/general/manuals/fonts/fonts-tricks.tex b/doc/context/sources/general/manuals/fonts/fonts-tricks.tex
index 65b210e2c..70cf4c95c 100644
--- a/doc/context/sources/general/manuals/fonts/fonts-tricks.tex
+++ b/doc/context/sources/general/manuals/fonts/fonts-tricks.tex
@@ -1,4 +1,4 @@
-% language=uk
+% language=us runpath=texruns:manuals/fonts
\startcomponent fonts-tricks
diff --git a/doc/context/sources/general/manuals/metafun/metafun-effects.tex b/doc/context/sources/general/manuals/metafun/metafun-effects.tex
index f5b772ec2..0b7984e9e 100644
--- a/doc/context/sources/general/manuals/metafun/metafun-effects.tex
+++ b/doc/context/sources/general/manuals/metafun/metafun-effects.tex
@@ -247,7 +247,8 @@ fill p rotated 330 withcolor (0,0,1) withtransparency("\MPvar{a}",.5) ;
}
\startcombination
{\useMPgraphic{test}{a=normal}} {\tttf normal}
- {\useMPgraphic{test}{a=multiply}} {\tttf multiply}
+ % {\useMPgraphic{test}{a=multiply}} {\tttf multiply} % here the mu in multiply triggers lookahead in lmtx
+ {\useMPgraphic{test}{a=2}} {\tttf multiply} % so we go for the numeric value instead (for now)
{\useMPgraphic{test}{a=screen}} {\tttf screen}
{\useMPgraphic{test}{a=overlay}} {\tttf overlay}
{\useMPgraphic{test}{a=softlight}} {\tttf softlight}
diff --git a/doc/context/sources/general/manuals/metafun/metafun-sneaky.tex b/doc/context/sources/general/manuals/metafun/metafun-sneaky.tex
index b02ce2dab..b8ff1c30b 100644
--- a/doc/context/sources/general/manuals/metafun/metafun-sneaky.tex
+++ b/doc/context/sources/general/manuals/metafun/metafun-sneaky.tex
@@ -159,9 +159,12 @@ The result is predictable:
Of course there is also a \type {cld} approach possible:
+% context.startMPpage { offset = "10pt" }
+% context.stopMPpage()
+
\startbuffer
\startluacode
- context.startMPcode() -- context.startMPpage { offset = "10pt" }
+ context.startMPcode()
for i=0,100,20 do
context ( [[draw fullcircle scaled (%s * cm)
withcolor "darkmagenta" withpen pencircle scaled 1cm ;]], i)
@@ -170,7 +173,7 @@ Of course there is also a \type {cld} approach possible:
context ( [[draw fullcircle scaled (%s * cm)
withcolor "darkcyan" withpen pencircle scaled 1cm ;]], i)
end
- context.stopMPcode() -- context.stoppage()
+ context.stopMPcode()
\stopluacode
\stopbuffer
@@ -186,8 +189,6 @@ All these methods are rather efficient because all happens in memory and without
intermediate runs. It is this kind of features that the tight integration of \TEX,
\METAPOST\ and \LUA\ make possible.
-\stoptext
-
\stopsection
\stopchapter
diff --git a/doc/context/sources/general/manuals/metafun/metafun-text.tex b/doc/context/sources/general/manuals/metafun/metafun-text.tex
index 2870fbb3b..e6ab26dc4 100644
--- a/doc/context/sources/general/manuals/metafun/metafun-text.tex
+++ b/doc/context/sources/general/manuals/metafun/metafun-text.tex
@@ -177,7 +177,7 @@ You may consider coloring the dots to be an exercise in clipping.
\resetMPenvironment
An environment can be reset with \typ {\resetMPenvironment} or by passing \type
-{reset} to \typ {\startMPenvironment}.
+{reset} as first argument:
\starttyping
\startMPenvironment[reset]
@@ -265,8 +265,8 @@ width in an array (\type {len}). The number of characters is stored in~\type {n}
In a few paragraphs we will see why the other arrays are needed.
While defining the graphic, we need \TEX\ to do some calculations. Therefore, we
-will use \type {\startMPdrawing} to stepwise construct the definition. The basic
-pattern we will follow is:
+will use \typ {\startMPdrawing ... \stopMPdrawing} to stepwise construct the
+definition. The basic pattern we will follow is:
\starttyping
\resetMPdrawing
@@ -695,133 +695,133 @@ In the examples, the text is typeset along the path with:
\typebuffer[toks]
-\startlinecorrection[blank]
-\getbuffer[toks]
-\stoplinecorrection
-
-Since we did not set a path, a dummy path is used. We can provide a path by
-(re)defining the graphic \type {followtokens}.
-
-\startbuffer[trac]
-\startMPinclusions
- boolean TraceRot ; TraceRot := true ;
-\stopMPinclusions
-\stopbuffer
-
-\startbuffer[draw]
-\startuseMPgraphic{followtokens}
- path RotPath ; RotPath := fullcircle ;
-\stopuseMPgraphic
-\stopbuffer
-
-\startbuffer
-\typebuffer[draw]
-\startlinecorrection[blank]
-\hbox
- {\getbuffer[draw,toks]\hskip1cm
- \getbuffer[trac,draw,toks]}
-\stoplinecorrection
-\stopbuffer
+% \startlinecorrection[blank]
+% \getbuffer[toks]
+% \stoplinecorrection
-\getbuffer
-
-\startbuffer[draw]
-\startuseMPgraphic{followtokens}
- path RotPath ; RotPath := reverse fullcircle ;
-\stopuseMPgraphic
-\stopbuffer
+% Since we did not set a path, a dummy path is used. We can provide a path by
+% (re)defining the graphic \type {followtokens}.
-\getbuffer
+% \startbuffer[trac]
+% \startMPinclusions
+% boolean TraceRot ; TraceRot := true ;
+% \stopMPinclusions
+% \stopbuffer
\startbuffer[draw]
\startuseMPgraphic{followtokens}
- path RotPath ; RotPath := (-3cm,-1cm)--(0,1cm)--(3cm,-1cm) ;
+ path RotPath ; RotPath := fullcircle ;
\stopuseMPgraphic
\stopbuffer
-\getbuffer
-
-\startbuffer[draw]
-\startuseMPgraphic{followtokens}
- path RotPath ; RotPath := (-3cm,0)--(3cm,1cm) ;
-\stopuseMPgraphic
-\stopbuffer
-
-\getbuffer
-
-\startbuffer[draw]
-\startuseMPgraphic{followtokens}
- path RotPath ; RotPath := (-3cm,0)..(-1cm,1cm)..(3cm,0) ;
-\stopuseMPgraphic
-\stopbuffer
-
-\getbuffer
-
-\startbuffer[draw]
-\startuseMPgraphic{followtokens}
- path RotPath ; RotPath := (-3cm,0)..(-1cm,1cm)..(0cm,-2cm)..(3cm,0) ;
-\stopuseMPgraphic
-\stopbuffer
-
-\getbuffer
-
-When turned on, tracing will produce bounding boxes as well as draw the path.
-Tracing can be turned on by saying:
-
-\typebuffer[trac]
-
-% let's turn it off now
-
-\startMPinclusions
- boolean TraceRot ; TraceRot := false ;
-\stopMPinclusions
-
-The next example is dedicated to Giuseppe Bilotta who wants to handle multiple
-strings and uses a patched version of \type {\followtokens}. To avoid a
-complicated explanation, we will present an alternative here that uses overlays.
-This method also avoids complicated path definitions.
-
-\startbuffer
-\startoverlay
- {\startuseMPgraphic{followtokens}
- draw fullcircle scaled 5cm .
- withpen pencircle scaled 1pt withcolor .625yellow ;
- draw fullsquare scaled 5.25cm
- withpen pencircle scaled 1pt withcolor .625red ;
- drawoptions (withcolor .625red) ;
- path RotPath ; RotPath := halfcircle scaled 5cm ;
- setbounds currentpicture to boundingbox fullcircle scaled 5.25cm ;
- \stopuseMPgraphic
- \followtokens { Met{\`a} superiore }}
- {\startuseMPgraphic{followtokens}
- drawoptions (withcolor .625red) ;
- path RotPath ; RotPath := halfcircle rotated 90 scaled 5cm ;
- setbounds currentpicture to boundingbox fullcircle scaled 5.25cm ;
- \stopuseMPgraphic
- \followtokens { {$\star$} }}
- {\startuseMPgraphic{followtokens}
- drawoptions (withcolor .625red) ;
- path RotPath ; RotPath := halfcircle rotated 180 scaled 5cm ;
- setbounds currentpicture to boundingbox fullcircle scaled 5.25cm ;
- \stopuseMPgraphic
- \followtokens { Met{\`a} inferiore }}
- {\startuseMPgraphic{followtokens}
- drawoptions (withcolor .625red) ;
- path RotPath ; RotPath := halfcircle rotated 270 scaled 5cm ;
- setbounds currentpicture to boundingbox fullcircle scaled 5.25cm ;
- \stopuseMPgraphic
- \followtokens { {$\star$} }}
-\stopoverlay
-\stopbuffer
-
-\typebuffer
-
-In order to fool the overlay macro that each graphic has the same size, we force
-a bounding box.
-
-\startlinecorrection[blank]
-\getbuffer
-\stoplinecorrection
+ \startbuffer
+ \typebuffer[draw]
+ \startlinecorrection[blank]
+ \hbox
+ {\getbuffer[draw,toks]\hskip1cm
+ \getbuffer[trac,draw,toks]}
+ \stoplinecorrection
+ \stopbuffer
+
+ \getbuffer
+
+ \startbuffer[draw]
+ \startuseMPgraphic{followtokens}
+ path RotPath ; RotPath := reverse fullcircle ;
+ \stopuseMPgraphic
+ \stopbuffer
+
+ \getbuffer
+
+ \startbuffer[draw]
+ \startuseMPgraphic{followtokens}
+ path RotPath ; RotPath := (-3cm,-1cm)--(0,1cm)--(3cm,-1cm) ;
+ \stopuseMPgraphic
+ \stopbuffer
+
+ \getbuffer
+
+ \startbuffer[draw]
+ \startuseMPgraphic{followtokens}
+ path RotPath ; RotPath := (-3cm,0)--(3cm,1cm) ;
+ \stopuseMPgraphic
+ \stopbuffer
+
+ \getbuffer
+
+ \startbuffer[draw]
+ \startuseMPgraphic{followtokens}
+ path RotPath ; RotPath := (-3cm,0)..(-1cm,1cm)..(3cm,0) ;
+ \stopuseMPgraphic
+ \stopbuffer
+
+ \getbuffer
+
+ \startbuffer[draw]
+ \startuseMPgraphic{followtokens}
+ path RotPath ; RotPath := (-3cm,0)..(-1cm,1cm)..(0cm,-2cm)..(3cm,0) ;
+ \stopuseMPgraphic
+ \stopbuffer
+
+ \getbuffer
+
+ When turned on, tracing will produce bounding boxes as well as draw the path.
+ Tracing can be turned on by saying:
+
+ \typebuffer[trac]
+
+ % let's turn it off now
+
+ \startMPinclusions
+ boolean TraceRot ; TraceRot := false ;
+ \stopMPinclusions
+
+ The next example is dedicated to Giuseppe Bilotta who wants to handle multiple
+ strings and uses a patched version of \type {\followtokens}. To avoid a
+ complicated explanation, we will present an alternative here that uses overlays.
+ This method also avoids complicated path definitions.
+
+ \startbuffer
+ \startoverlay
+ {\startuseMPgraphic{followtokens}
+ draw fullcircle scaled 5cm .
+ withpen pencircle scaled 1pt withcolor .625yellow ;
+ draw fullsquare scaled 5.25cm
+ withpen pencircle scaled 1pt withcolor .625red ;
+ drawoptions (withcolor .625red) ;
+ path RotPath ; RotPath := halfcircle scaled 5cm ;
+ setbounds currentpicture to boundingbox fullcircle scaled 5.25cm ;
+ \stopuseMPgraphic
+ \followtokens { Met{\`a} superiore }}
+ {\startuseMPgraphic{followtokens}
+ drawoptions (withcolor .625red) ;
+ path RotPath ; RotPath := halfcircle rotated 90 scaled 5cm ;
+ setbounds currentpicture to boundingbox fullcircle scaled 5.25cm ;
+ \stopuseMPgraphic
+ \followtokens { {$\star$} }}
+ {\startuseMPgraphic{followtokens}
+ drawoptions (withcolor .625red) ;
+ path RotPath ; RotPath := halfcircle rotated 180 scaled 5cm ;
+ setbounds currentpicture to boundingbox fullcircle scaled 5.25cm ;
+ \stopuseMPgraphic
+ \followtokens { Met{\`a} inferiore }}
+ {\startuseMPgraphic{followtokens}
+ drawoptions (withcolor .625red) ;
+ path RotPath ; RotPath := halfcircle rotated 270 scaled 5cm ;
+ setbounds currentpicture to boundingbox fullcircle scaled 5.25cm ;
+ \stopuseMPgraphic
+ \followtokens { {$\star$} }}
+ \stopoverlay
+ \stopbuffer
+
+ \typebuffer
+
+ In order to fool the overlay macro that each graphic has the same size, we force
+ a bounding box.
+
+ \startlinecorrection[blank]
+ \getbuffer
+ \stoplinecorrection
\stopsection
diff --git a/doc/context/sources/general/manuals/metafun/metafun.tex b/doc/context/sources/general/manuals/metafun/metafun.tex
index cbbc7e3ed..8d3b513e0 100644
--- a/doc/context/sources/general/manuals/metafun/metafun.tex
+++ b/doc/context/sources/general/manuals/metafun/metafun.tex
@@ -1,4 +1,4 @@
-% language=us runpath=texruns:manuals/metafun macros=mkvi
+% language=us runpath=texruns:manuals/metafun
% author : Hans Hagen
% copyright : PRAGMA ADE & ConTeXt Development Team
@@ -32,8 +32,15 @@
% comment : Before I started updating the manual to lmtx (luametafun) I made sure that it
% processed okay in the february 2021 version of lmtx. The runtime for 448 pages
% (which is 20 more than the previous test) is some 16.5 seconds (just below 16
-% with compact fonts). So we can safely conclude that we're not worse off with
+% with compact fonts). So we can safely conclude that we're not worse of with
% respect to performance. (I use the same machine.)
+%
+% comment : June 31 2020, in the process of checking manuals with the runpath feature, the
+% manual has 414 (some mkii and mkiv stuff has been removed) pages and processing
+% takes 14.2 seconds (13.7 with compact fonts). With about 29 pps for the removed
+% pages we then come to about 15.5 seconds so again we gained some (which is what
+% I expect with the more efficient \LUA|-|\METAPOST\ interfacing). It also means
+% that \LUAMETATEX|-|\LMTX\ is now comparable with \LUAJITTEX|-|\MKIV.
% \enableexperiments[fonts.compact]
diff --git a/doc/context/sources/general/manuals/sql/sql-mkiv.tex b/doc/context/sources/general/manuals/sql/sql-mkiv.tex
index 27be160f7..3ae929125 100644
--- a/doc/context/sources/general/manuals/sql/sql-mkiv.tex
+++ b/doc/context/sources/general/manuals/sql/sql-mkiv.tex
@@ -1,4 +1,4 @@
-% language=uk
+% language=us runpath=texruns:manuals/sql
% author : Hans Hagen
% copyright : PRAGMA ADE & ConTeXt Development Team
diff --git a/doc/context/sources/general/manuals/steps/steps-mkiv.tex b/doc/context/sources/general/manuals/steps/steps-mkiv.tex
index f0ca51613..540cc3ceb 100644
--- a/doc/context/sources/general/manuals/steps/steps-mkiv.tex
+++ b/doc/context/sources/general/manuals/steps/steps-mkiv.tex
@@ -1,3 +1,5 @@
+% language=us runpath=texruns:manuals/steps
+
% author : Hans Hagen
% copyright : PRAGMA ADE & ConTeXt Development Team
% license : Creative Commons Attribution ShareAlike 4.0 International
diff --git a/doc/context/sources/general/manuals/svg/svg-lmtx.tex b/doc/context/sources/general/manuals/svg/svg-lmtx.tex
index 11cf33895..44fec26cd 100644
--- a/doc/context/sources/general/manuals/svg/svg-lmtx.tex
+++ b/doc/context/sources/general/manuals/svg/svg-lmtx.tex
@@ -1,9 +1,9 @@
-% language=us
+% language=us runpath=texruns:manuals/svg
% \enabletrackers[metapost.svg.result]
% \enabletrackers[metapost.svg.path]
-\enabledirectives[pdf.compact]
+% \enabledirectives[pdf.compact]
% \nopdfcompression