diff options
Diffstat (limited to 'doc/context/sources/general/manuals/workflows')
-rw-r--r-- | doc/context/sources/general/manuals/workflows/workflows-injectors.tex | 57 | ||||
-rw-r--r-- | doc/context/sources/general/manuals/workflows/workflows-mkiv.tex | 17 |
2 files changed, 59 insertions, 15 deletions
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 ?> + diff --git a/doc/context/sources/general/manuals/workflows/workflows-mkiv.tex b/doc/context/sources/general/manuals/workflows/workflows-mkiv.tex index 3820e04fa..c742b94e1 100644 --- a/doc/context/sources/general/manuals/workflows/workflows-mkiv.tex +++ b/doc/context/sources/general/manuals/workflows/workflows-mkiv.tex @@ -1,3 +1,20 @@ +% author : Hans Hagen +% copyright : PRAGMA ADE & ConTeXt Development Team +% license : Creative Commons Attribution ShareAlike 4.0 International +% reference : pragma-ade.nl | contextgarden.net | texlive (related) distributions +% origin : the ConTeXt distribution +% +% comment : Because this manual is distributed with TeX distributions it comes with a rather +% liberal license. We try to adapt these documents to upgrades in the (sub)systems +% that they describe. Using parts of the content otherwise can therefore conflict +% with existing functionality and we cannot be held responsible for that. Many of +% the manuals contain characteristic graphics and personal notes or examples that +% make no sense when used out-of-context. +% +% comment : Some chapters might have been published in TugBoat, the NTG Maps, the ConTeXt +% Group journal or otherwise. Thanks to the editors for corrections. Also thanks +% to users for testing, feedback and corrections. + \setupbackend[export=yes] \environment workflows-style |