diff options
author | Hans Hagen <pragma@wxs.nl> | 2011-01-18 19:34:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2011-01-18 19:34:00 +0100 |
commit | 94e8563927cb29baf940ea15f9f48c9e06e1f95c (patch) | |
tree | 0b2052fcabdc0f570fb2a14b8fb97365c847abab /tex/context/base/cldf-ver.lua | |
parent | 4f903253161d4f14a4d880c75803766aba620005 (diff) | |
download | context-94e8563927cb29baf940ea15f9f48c9e06e1f95c.tar.gz |
beta 2011.01.18 19:34
Diffstat (limited to 'tex/context/base/cldf-ver.lua')
-rw-r--r-- | tex/context/base/cldf-ver.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/cldf-ver.lua b/tex/context/base/cldf-ver.lua index 120bc468a..54cc6a58b 100644 --- a/tex/context/base/cldf-ver.lua +++ b/tex/context/base/cldf-ver.lua @@ -15,7 +15,7 @@ local tostring, type = tostring, type local context = context local function flush(...) - context(concat{...,"\n"}) + context(concat{...,"\r"}) -- was \n end local function t_tocontext(...) @@ -57,7 +57,7 @@ end function context.tobuffer(name,str) context.startbuffer { name } context.pushcatcodes("verbatim") - local lines = (type(str) == "string" and find(str,"\n") and splitlines(str)) or str + local lines = (type(str) == "string" and find(str,"[\n\r]") and splitlines(str)) or str for i=1,#lines do context(lines[i] .. " ") end |