From 3f59c56887a9a6c4bda68ab8d99e67d2afc902f9 Mon Sep 17 00:00:00 2001 From: Context Git Mirror Bot Date: Mon, 5 Sep 2016 11:09:19 +0200 Subject: 2016-09-05 10:33:00 --- doc/context/documents/general/manuals/sql-mkiv.pdf | Bin 94133 -> 94131 bytes .../documents/general/manuals/workflows-mkiv.pdf | Bin 94468 -> 96864 bytes .../manuals/workflows/workflows-injectors.tex | 57 +++++++++++++++------ 3 files changed, 42 insertions(+), 15 deletions(-) (limited to 'doc') diff --git a/doc/context/documents/general/manuals/sql-mkiv.pdf b/doc/context/documents/general/manuals/sql-mkiv.pdf index 94a99d0ce..ff9824bad 100644 Binary files a/doc/context/documents/general/manuals/sql-mkiv.pdf and b/doc/context/documents/general/manuals/sql-mkiv.pdf 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 Binary files a/doc/context/documents/general/manuals/workflows-mkiv.pdf and b/doc/context/documents/general/manuals/workflows-mkiv.pdf 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}] +% +% + -- cgit v1.2.3