Skip to content

Commit

Permalink
Merge bugfix for buffers
Browse files Browse the repository at this point in the history
filtersetups was not set for buffers
  • Loading branch information
adityam committed Feb 12, 2015
1 parent a016c18 commit 0b1d491
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -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
-------------------------
Expand Down
5 changes: 3 additions & 2 deletions 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,
Expand All @@ -9,7 +9,7 @@
%D email=adityam <at> ieee <dot> 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]
Expand Down Expand Up @@ -181,6 +181,7 @@
\setupexternalfilter[#1][\c!name=,#2]
\fi

\processcommacommand[\externalfilterparameter{\c!filter\c!setups}]\directsetup
\externalfilter@set_directory

\ifthirdargument
Expand Down

0 comments on commit 0b1d491

Please sign in to comment.