summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/context/documents/general/manuals/sql-mkiv.pdfbin94133 -> 94131 bytes
-rw-r--r--doc/context/documents/general/manuals/workflows-mkiv.pdfbin94468 -> 96864 bytes
-rw-r--r--doc/context/sources/general/manuals/workflows/workflows-injectors.tex57
3 files changed, 42 insertions, 15 deletions
diff --git a/doc/context/documents/general/manuals/sql-mkiv.pdf b/doc/context/documents/general/manuals/sql-mkiv.pdf
index 94a99d0ce..ff9824bad 100644
--- a/doc/context/documents/general/manuals/sql-mkiv.pdf
+++ b/doc/context/documents/general/manuals/sql-mkiv.pdf
Binary files differ
diff --git a/doc/context/documents/general/manuals/workflows-mkiv.pdf b/doc/context/documents/general/manuals/workflows-mkiv.pdf
index 9b8e1f142..95a8809a8 100644
--- a/doc/context/documents/general/manuals/workflows-mkiv.pdf
+++ b/doc/context/documents/general/manuals/workflows-mkiv.pdf
Binary files differ
diff --git a/doc/context/sources/general/manuals/workflows/workflows-injectors.tex b/doc/context/sources/general/manuals/workflows/workflows-injectors.tex
index daae11c82..5bd9bf057 100644
--- a/doc/context/sources/general/manuals/workflows/workflows-injectors.tex
+++ b/doc/context/sources/general/manuals/workflows/workflows-injectors.tex
@@ -81,22 +81,49 @@ and
\blank \startpacked \bf \getbuffer[two] \stoppacked \blank
+The next example is one you can run for your own. The \type {\showinjector}
+command is of course only enabled when the right injection points are to be
+identified. Normally setting injectors happens as last resort. We use it in
+automated \XML\ workflows where last minute control is needed.
+
+\starttyping
+\showinjector
+
+\setinjector[register][3][\column]
+\setinjector[list] [2][{\blank[3*big]}]
+
+\starttext
+ \placelist[section][criterium=text]
+ \blank[3*big]
+ \placeregister[index][criterium=text]
+ \page
+ \startsection[title=Alpha] first \index{first} \stopsection
+ \startsection[title=Beta] second \index{second} \stopsection
+ \startsection[title=Gamma] third \index{third} \stopsection
+ \startsection[title=Delta] fourth \index{fourth} \stopsection
+\stoptext
+\stoptyping
+
\stopchapter
\stopcomponent
-% to be described:
-
-% \setinjector[register][3][\column]
-% \setinjector[list] [2][{\blank[3*big]}]
-
-% \starttext
-% \placelist[section][criterium=text]
-% \blank[3*big]
-% \placeregister[index][criterium=text]
-% \page
-% \startsection[title=Alpha] first \index{first} \stopsection
-% \startsection[title=Beta] second \index{second} \stopsection
-% \startsection[title=Gamma] third \index{third} \stopsection
-% \startsection[title=Delta] fourth \index{fourth} \stopsection
-% \stoptext
+% some day to be described:
+%
+% \showinjector
+%
+% \xmlmapvalue{xml:injector}{column}{\setinjector[\AskedInjectorGroup][\AskedInjectorNumber][\column]}
+% \xmlmapvalue{xml:injector}{page} {\setinjector[\AskedInjectorGroup][\AskedInjectorNumber][\page]}
+%
+% \startxmlsetups xml:injector
+% \edef\AskedInjectorGroup {\xmlatt{#1}{group}}
+% \edef\AskedInjectorNumber{\xmlatt{#1}{number}}
+% \xmlvalue{xml:injector}{\xmlatt{#1}{type}}{}
+% \stopxmlsetups
+%
+% \xmlfilter {#1} {/metadata/injectors/injector/command(xml:injector)}
+%
+% \xmlsetinjectors[\xmlattribute{#1}{/metadata/state}{version}]
+%
+% <?context-directive injector list 123 page ?>
+