diff options
author | Karl Berry <karl@freefriends.org> | 2015-02-15 21:54:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-02-15 21:54:14 +0000 |
commit | 401c80838a830b62c19b6b4edd264cd761fe4b93 (patch) | |
tree | 4adecad2dcb9a84fe780a40a91957b94c3f5ebd2 /Master/texmf-dist/doc/context | |
parent | dd309bf16b3a95ca51b4ed0514fbd0a3480478c4 (diff) |
context-filter
git-svn-id: svn://tug.org/texlive/trunk@36285 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/context')
-rw-r--r-- | Master/texmf-dist/doc/context/third/filter/filter.txt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/context/third/filter/filter.txt b/Master/texmf-dist/doc/context/third/filter/filter.txt index 7720c0226f8..7e5711e20d6 100644 --- a/Master/texmf-dist/doc/context/third/filter/filter.txt +++ b/Master/texmf-dist/doc/context/third/filter/filter.txt @@ -1,3 +1,6 @@ +[![Stories in Ready](https://badge.waffle.io/adityam/filter.png?label=ready&title=Ready)](https://waffle.io/adityam/filter) +======= + The filter module ================= @@ -188,7 +191,7 @@ fast, so these extra runs are not noticeable. But some filters, like the R-programming language for which simply startup and exit takes about 0.3 seconds, are slow. In such cases, the additional runs start adding up. A better trade off is to store the contents of each environment in a separate file and -invoke the filter only if a file *changes in between successive runes*. +invoke the filter only if a file *changes in between successive runs*. The second behavior is achieved by adding `cache=yes` option to the definition: @@ -516,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 ------------------------- |