diff --git a/README.md b/README.md index 8408545..7e5711e 100644 --- a/README.md +++ b/README.md @@ -519,7 +519,17 @@ Thus, all the following are valid: \inlinemarkdown!a closing brace }! +**Note** Inline mode sets `\endlinechar=\minusone`; therefore no space is +inserted after a newline. This may lead to unexpected results if the output of +the filter is wrapped into multiple lines. For example, if the output of the +filter is + This is a long line that is wrapped + after a fixed number of characters. + +Then, when reading the file the space between `wrapped` and `after` will be +lost! To avoid that pass appropriate options to the filter program so that it +does not wrap long lines. Processing existing Files ------------------------- diff --git a/t-filter.mkiv b/t-filter.mkiv index 1d3786e..1829659 100644 --- a/t-filter.mkiv +++ b/t-filter.mkiv @@ -1,6 +1,6 @@ %D \module %D [ file=t-filter, -%D version=2013.04.15, +%D version=2015.02.12, %D title=\CONTEXT\ User Module, %D subtitle=Filter, %D author=Aditya Mahajan, @@ -9,7 +9,7 @@ %D email=adityam ieee org, %D license=Simplified BSD License] -\writestatus{loading}{Filter (ver: 2013.04.15)} +\writestatus{loading}{Filter (ver: 2015.02.12)} \startmodule [filter] \usemodule [module-catcodes] @@ -181,6 +181,7 @@ \setupexternalfilter[#1][\c!name=,#2] \fi + \processcommacommand[\externalfilterparameter{\c!filter\c!setups}]\directsetup \externalfilter@set_directory \ifthirdargument