summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/selnolig/selnolig.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-08-08 23:28:46 +0000
committerKarl Berry <karl@freefriends.org>2013-08-08 23:28:46 +0000
commit1369b6127faf5fc1b705acd08b10068af65a5ab6 (patch)
tree77c2a89e14e2f8c3e545b89919e03af937357b68 /Master/texmf-dist/tex/lualatex/selnolig/selnolig.lua
parent8615246bec536d5eb6457dbd01308c1766ef7d7e (diff)
selnolig (8aug13)
git-svn-id: svn://tug.org/texlive/trunk@31390 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/selnolig/selnolig.lua')
-rw-r--r--Master/texmf-dist/tex/lualatex/selnolig/selnolig.lua15
1 files changed, 8 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/lualatex/selnolig/selnolig.lua b/Master/texmf-dist/tex/lualatex/selnolig/selnolig.lua
index 8a9b34b765c..6b2931190f0 100644
--- a/Master/texmf-dist/tex/lualatex/selnolig/selnolig.lua
+++ b/Master/texmf-dist/tex/lualatex/selnolig/selnolig.lua
@@ -1,10 +1,10 @@
--- Lua code for the selnolig package, to be loaded
--- with an instruction such as
+-- Lua code for the selnolig package.
+-- To be loaded with an instruction such as
-- \directlua{ require("selnolig.lua") }
-- from a (Lua)LaTeX .sty file.
--
-- Author: Mico Loretan (loretan dot mico at gmail dot com)
--- (with crucial contributions by Taco Hoekwater,
+-- (with crucial contributions from Taco Hoekwater,
-- Patrick Gundlach, and Steffen Hildebrandt)
--
-- The entire selnolig package is placed under the terms
@@ -15,14 +15,16 @@
selnolig = { }
selnolig.module = {
name = "selnolig",
- version = "0.250",
- date = "2013/06/30",
+ version = "0.254",
+ date = "2013/08/08",
description = "Selective suppression of typographic ligatures",
author = "Mico Loretan",
copyright = "Mico Loretan",
license = "LPPL 1.3 or later"
}
+debug=false -- default: don't output detailed information
+
-- Define variables corresponding to various text nodes;
-- cf. sections 8.1.2 and 8.1.4 of LuaTeX reference guide
local rule = node.id('rule')
@@ -40,7 +42,6 @@ end
local identifier = 123456 -- any unique identifier
local noliga={}
local keepliga={} -- String -> Boolean
-debug=true
function debug_info(s)
if debug then
@@ -183,7 +184,7 @@ end
function enable_suppression(val)
suppression_on = val
if val then
- debug_info("Turning ligature suppression on")
+ debug_info("Turning ligature suppression back on")
else
debug_info("Turning ligature suppression off")
end