diff options
author | Karl Berry <karl@freefriends.org> | 2018-05-01 17:33:40 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-05-01 17:33:40 +0000 |
commit | 002703b8668a6ddf3bb04d4f2447581407b07434 (patch) | |
tree | 600092960c19f141be132cbb246e5990d01877e7 /Master/texmf-dist/doc/context | |
parent | a1171cbbcfe334f4de9fca827b788791795351e8 (diff) |
context-filter (18apr18)
git-svn-id: svn://tug.org/texlive/trunk@47530 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/context')
-rw-r--r-- | Master/texmf-dist/doc/context/third/filter/VERSION | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/context/third/filter/filter.txt | 32 |
2 files changed, 31 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/context/third/filter/VERSION b/Master/texmf-dist/doc/context/third/filter/VERSION index 6c676b7a0c1..2ccc03a5fa1 100644 --- a/Master/texmf-dist/doc/context/third/filter/VERSION +++ b/Master/texmf-dist/doc/context/third/filter/VERSION @@ -1 +1 @@ -2017.07.29 +2018.04.17 diff --git a/Master/texmf-dist/doc/context/third/filter/filter.txt b/Master/texmf-dist/doc/context/third/filter/filter.txt index 67b94117caf..fd7ccee2255 100644 --- a/Master/texmf-dist/doc/context/third/filter/filter.txt +++ b/Master/texmf-dist/doc/context/third/filter/filter.txt @@ -1,5 +1,5 @@ -[![Stories in Ready](https://badge.waffle.io/adityam/filter.png?label=ready&title=Ready)](https://waffle.io/adityam/filter) -======= +[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active) +=== The filter module ================= @@ -282,6 +282,32 @@ sets `\endlinechar=\minusone`; therefore no space is inserted when the file is read. `location=text` does not change `\endlinechar`. Therefore a space is inserted after the file is read. +Stripping leading whitespace (MkIV only) +---------------------------------------- + +By default, the leading whitespace is removed before the content of the filter +environment are saved to an external file. This is useful because one can then +indent the TeX code without worring how the leading whitespaces will be +interpretted by the filter. For example, + + \startitemize + \item + \startmarkdown + This is treated as regular text. If the leading spaces were not + stripped, this would be treated as a code block in markdown. + \stopmarkdown + \stopitemize + +If you want to keep the leading whitespace, you can set + + \defineexternalfilter + [...] + [.... + strip=no, + ...] + +(The default value is `yes`). + Names of temporary files ------------------------ @@ -975,3 +1001,5 @@ Version History - Support for `write=no` and `cacheoption=...`. - **2013.03.31** - Support for `left` and `right` +- **2018-04-17** + - Support for `strip=yes` (which is now default). |