diff options
author | Karl Berry <karl@freefriends.org> | 2012-05-07 22:51:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-05-07 22:51:33 +0000 |
commit | 3ae7006344f60f0b1710dc2dba9b5bf3d4b59d2c (patch) | |
tree | 5fd3c3ca8052043a86aec6ef2d5fae10664af9d0 /Master/texmf-dist/tex/context | |
parent | 187167fedfccae89ebeb38445a0ddb3b1df5afa6 (diff) |
context-filter (7may12)
git-svn-id: svn://tug.org/texlive/trunk@26248 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context')
-rw-r--r-- | Master/texmf-dist/tex/context/third/filter/t-filter.mkii | 11 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/third/filter/t-filter.mkiv | 25 |
2 files changed, 20 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/context/third/filter/t-filter.mkii b/Master/texmf-dist/tex/context/third/filter/t-filter.mkii index 46bdf247971..699acbe3d2e 100644 --- a/Master/texmf-dist/tex/context/third/filter/t-filter.mkii +++ b/Master/texmf-dist/tex/context/third/filter/t-filter.mkii @@ -1,6 +1,6 @@ %D \module %D [ file=t-filter, -%D version=2012.04.18, +%D version=2012.05.01, %D title=\CONTEXT\ User Module, %D subtitle=Filter, %D author=Aditya Mahajan, @@ -9,7 +9,7 @@ %D email=adityam <at> ieee <dot> org, %D license=Simplified BSD License] -\writestatus{loading}{Filter (ver: 2012.04.18)} +\writestatus{loading}{Filter (ver: 2012.05.01)} \ifx\undefined\normalexpanded \let\normalexpanded\expanded \fi @@ -42,6 +42,7 @@ \setinterfaceconstant {filter} {filter} \setinterfaceconstant {filtercommand} {filtercommand} \setinterfaceconstant {output} {output} + \setinterfaceconstant {purge} {purge} \setinterfaceconstant {read} {read} \setinterfaceconstant {readcommand} {readcommand} \stopinterface @@ -403,7 +404,9 @@ \starttexdefinition externalfilter@read_processed_file_indeed \doif{\externalfilterparameter\c!location}\v!paragraph - {\blank[\externalfilterparameter\c!spacebefore]}% + {\blank[\externalfilterparameter\c!spacebefore] + \doifsomething{\externalfilterparameter\c!align} + {\setupalign[\externalfilterparameter\c!align]}} \externalfilterparameter\c!before \begingroup @@ -415,7 +418,7 @@ \externalfilterparameter\c!after \doif{\externalfilterparameter\c!location}\v!paragraph - {\blank[\externalfilterparameter\c!spaceafter]}% + {\par\blank[\externalfilterparameter\c!spaceafter]}% \stoptexdefinition %D \section {Default Values} diff --git a/Master/texmf-dist/tex/context/third/filter/t-filter.mkiv b/Master/texmf-dist/tex/context/third/filter/t-filter.mkiv index d4d4b7a66cf..8c3bd732492 100644 --- a/Master/texmf-dist/tex/context/third/filter/t-filter.mkiv +++ b/Master/texmf-dist/tex/context/third/filter/t-filter.mkiv @@ -1,6 +1,6 @@ %D \module %D [ file=t-filter, -%D version=2012.04.18, +%D version=2012.05.06, %D title=\CONTEXT\ User Module, %D subtitle=Filter, %D author=Aditya Mahajan, @@ -9,7 +9,7 @@ %D email=adityam <at> ieee <dot> org, %D license=Simplified BSD License] -\writestatus{loading}{Filter (ver: 2012.04.18)} +\writestatus{loading}{Filter (ver: 2012.05.06)} % For backward compatibility \ifx\grabbufferdata\undefined \let\grabbufferdata \dostartbuffer \fi @@ -59,11 +59,11 @@ \externalfilter@show_status{defining filter : \currentexternalfilter}% \doifinset{\externalfilterparameter\c!cache}{\v!yes,\v!force} {\expandafter\newcounter\csname\externalfilter@count\endcsname}% - \setevalue{\e!start\currentexternalfilter}{\externalfilter@start[\currentexternalfilter]}% - \setvalue {\e!stop\currentexternalfilter}{\externalfilter@process_filter}% - \setevalue{process\currentexternalfilter file}{\externalfilter@process_file[\currentexternalfilter]}% - \setevalue{process\currentexternalfilter buffer}{\externalfilter@process_buffer[\currentexternalfilter]}% - \setevalue{inline\currentexternalfilter}{\externalfilter@inline[\currentexternalfilter]}% + \setuevalue{\e!start\currentexternalfilter}{\externalfilter@start[\currentexternalfilter]}% + \setuvalue {\e!stop\currentexternalfilter}{\externalfilter@process_filter}% + \setuevalue{process\currentexternalfilter file}{\externalfilter@process_file[\currentexternalfilter]}% + \setuevalue{process\currentexternalfilter buffer}{\externalfilter@process_buffer[\currentexternalfilter]}% + \setuevalue{inline\currentexternalfilter}{\externalfilter@inline[\currentexternalfilter]}% \to \everydefineexternalfilter % For backward compatibility @@ -85,7 +85,7 @@ \newif\iftraceexternalfilters -\def\traceexternalfilters +\unexpanded\def\traceexternalfilters {\traceexternalfilterstrue \enabletrackers[graphic.runfile]} @@ -417,21 +417,21 @@ \starttexdefinition externalfilter@read_processed_file_indeed \doif{\externalfilterparameter\c!location}\v!paragraph - {\blank[\externalfilterparameter\c!spacebefore]}% + {\blank[\externalfilterparameter\c!spacebefore] + \usealignparameter\externalfilterparameter} \externalfilterparameter\c!before \begingroup \dostarttagged{\externalfilterparameter\c!taglabel}\currentexternalfilter - \externalfilter@attributes_start \externalfilter@id \c!style \c!color + \useexternalfilterstyleandcolor\c!style\c!color \processcommacommand[\externalfilterparameter\c!setups]\directsetup \externalfilterparameter\c!readcommand\externalfilter@output_file - \externalfilter@attributes_stop \dostoptagged \endgroup \externalfilterparameter\c!after \doif{\externalfilterparameter\c!location}\v!paragraph - {\blank[\externalfilterparameter\c!spaceafter]}% + {\par\blank[\externalfilterparameter\c!spaceafter]}% \stoptexdefinition %D \section {Default Values} @@ -446,6 +446,7 @@ \c!style=, \c!color=, \c!indentnext=\v!auto, + \c!align=, \c!setups=, \c!continue=\v!no, \c!cache=\externalfilterparameter\c!continue, % for backward compatibility |