summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-09-14 21:07:46 +0000
committerKarl Berry <karl@freefriends.org>2016-09-14 21:07:46 +0000
commite24fc47671ac0421cef5d8b8dcfffdf6d8b068e4 (patch)
tree430910331e5065a26c58d7a1bced7ffd81a75250 /Master/texmf-dist/tex/luatex
parent4ef73413f8c398e1dca26957ccb2d9cfd864b7f2 (diff)
markdown (14sep16)
git-svn-id: svn://tug.org/texlive/trunk@42057 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex')
-rw-r--r--Master/texmf-dist/tex/luatex/markdown/markdown.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/luatex/markdown/markdown.lua b/Master/texmf-dist/tex/luatex/markdown/markdown.lua
index c62b5ed8b95..a8e6ce7f9e5 100644
--- a/Master/texmf-dist/tex/luatex/markdown/markdown.lua
+++ b/Master/texmf-dist/tex/luatex/markdown/markdown.lua
@@ -58,7 +58,7 @@
-- those in the standard .ins files.
--
local metadata = {
- version = "2.1.1",
+ version = "2.1.2",
comment = "A module for the conversion from markdown to plain TeX",
author = "John MacFarlane, Hans Hagen, Vít Novotný",
copyright = "2009-2016 John MacFarlane, Hans Hagen; 2016 Vít Novotný",
@@ -545,11 +545,11 @@ function M.reader.new(writer, options)
end
local bulletchar = C(plus + asterisk + dash)
- local bullet = ( bulletchar * #spacing * (tab + space^-3)
- + space * bulletchar * #spacing * (tab + space^-2)
- + space * space * bulletchar * #spacing * (tab + space^-1)
- + space * space * space * bulletchar * #spacing
- ) * -bulletchar
+ local bullet = ( Cg(bulletchar, "bulletchar") * #spacing * (tab + space^-3)
+ + space * Cg(bulletchar, "bulletchar") * #spacing * (tab + space^-2)
+ + space * space * Cg(bulletchar, "bulletchar") * #spacing * (tab + space^-1)
+ + space * space * space * Cg(bulletchar, "bulletchar") * #spacing
+ )
if options.hashEnumerators then
dig = digit + hash