From 7f533e0dd66d8a8c93e32d02f5282ce117c83ddd Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Wed, 16 Mar 2011 00:44:51 +0100 Subject: added license --- COPYING | 22 ++++++++++++++++++++++ t-letterspace.mkiv | 8 ++++++-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 COPYING diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..3e802a1 --- /dev/null +++ b/COPYING @@ -0,0 +1,22 @@ +Copyright 2011 Philipp Gesang. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/t-letterspace.mkiv b/t-letterspace.mkiv index ff90f06..7ef824f 100644 --- a/t-letterspace.mkiv +++ b/t-letterspace.mkiv @@ -9,6 +9,10 @@ %D license=2-clause BSD, %D ] +%C Read the license conditions in the file \type{COPYING}. + + + \writestatus{loading}{ConTeXt User Module / Letterspace} \startmodule [letterspace] @@ -88,8 +92,8 @@ %D Very helpful for further understanding of what’s exactly going %D on: Stephan von Bechtolsheim’s tutorial on \from[flet]. %D -%D In short: the trick checking whether the token following the -%D command is a space, that is: whether it expands to +%D In short: the trick is checking whether the token following +%D the command is a space, that is: whether it expands to %D \type{\blankspace}. If the test succeeds, a space will be %D added that has the correct parameters and all space tokens %D following the command will be gobbled. Otherwise -- the next -- cgit v1.2.3