summaryrefslogtreecommitdiff
path: root/tex
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-02-14 21:20:13 +0200
committerMarius <mariausol@gmail.com>2011-02-14 21:20:13 +0200
commit6e617ea1ee4ecb37f2b2e263176801ebbc273ae4 (patch)
tree1266aadc1f7e09f0e6a6917362f9a8e4bdd682f4 /tex
parent1d534cdaf5a15ab7191504b5b82d78d8f54435b9 (diff)
downloadcontext-6e617ea1ee4ecb37f2b2e263176801ebbc273ae4.tar.gz
beta 2011.02.14 19:48
Diffstat (limited to 'tex')
-rw-r--r--tex/context/base/cont-new.mkii2
-rw-r--r--tex/context/base/cont-new.mkiv2
-rw-r--r--tex/context/base/context.mkii2
-rw-r--r--tex/context/base/context.mkiv2
-rw-r--r--tex/context/base/data-tex.lua6
-rw-r--r--tex/context/base/status-files.pdfbin23258 -> 23256 bytes
-rw-r--r--tex/context/base/strc-ref.mkiv9
-rw-r--r--tex/generic/context/luatex-fonts-merged.lua2
8 files changed, 16 insertions, 9 deletions
diff --git a/tex/context/base/cont-new.mkii b/tex/context/base/cont-new.mkii
index 098a998de..9dcdf261e 100644
--- a/tex/context/base/cont-new.mkii
+++ b/tex/context/base/cont-new.mkii
@@ -11,7 +11,7 @@
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
-\newcontextversion{2011.02.14 18:50}
+\newcontextversion{2011.02.14 19:48}
%D This file is loaded at runtime, thereby providing an
%D excellent place for hacks, patches, extensions and new
diff --git a/tex/context/base/cont-new.mkiv b/tex/context/base/cont-new.mkiv
index 66d087466..17d3a9959 100644
--- a/tex/context/base/cont-new.mkiv
+++ b/tex/context/base/cont-new.mkiv
@@ -11,7 +11,7 @@
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
-\newcontextversion{2011.02.14 18:50}
+\newcontextversion{2011.02.14 19:48}
%D This file is loaded at runtime, thereby providing an
%D excellent place for hacks, patches, extensions and new
diff --git a/tex/context/base/context.mkii b/tex/context/base/context.mkii
index 6ce2a0c58..8f888a30c 100644
--- a/tex/context/base/context.mkii
+++ b/tex/context/base/context.mkii
@@ -20,7 +20,7 @@
%D your styles an modules.
\edef\contextformat {\jobname}
-\edef\contextversion{2011.02.14 18:50}
+\edef\contextversion{2011.02.14 19:48}
%D For those who want to use this:
diff --git a/tex/context/base/context.mkiv b/tex/context/base/context.mkiv
index 1f3c32c13..2791cd0f0 100644
--- a/tex/context/base/context.mkiv
+++ b/tex/context/base/context.mkiv
@@ -20,7 +20,7 @@
%D your styles an modules.
\edef\contextformat {\jobname}
-\edef\contextversion{2011.02.14 18:50}
+\edef\contextversion{2011.02.14 19:48}
%D For those who want to use this:
diff --git a/tex/context/base/data-tex.lua b/tex/context/base/data-tex.lua
index d6c375b52..fddd04bcc 100644
--- a/tex/context/base/data-tex.lua
+++ b/tex/context/base/data-tex.lua
@@ -82,10 +82,14 @@ function helpers.textopener(tag,filename,filehandle)
elseif trace_locating then
report_tex("%s opener, '%s' opened",tag,filename)
end
+ local noflines = #lines
+ if lines[noflines] == "" then -- maybe some special check is needed
+ lines[noflines] = nil
+ end
logs.show_open(filename)
return {
filename = filename,
- noflines = #lines,
+ noflines = noflines,
currentline = 0,
close = function()
if trace_locating then
diff --git a/tex/context/base/status-files.pdf b/tex/context/base/status-files.pdf
index cedd20dc6..56441cb1e 100644
--- a/tex/context/base/status-files.pdf
+++ b/tex/context/base/status-files.pdf
Binary files differ
diff --git a/tex/context/base/strc-ref.mkiv b/tex/context/base/strc-ref.mkiv
index 281cf838b..ecda0387d 100644
--- a/tex/context/base/strc-ref.mkiv
+++ b/tex/context/base/strc-ref.mkiv
@@ -926,9 +926,9 @@
\setvalue{\??rf\c!interaction\v!all}%
{\leftofreference
\the\leftreferencetoks
- \leftofreferencecontent
+ \doifsometokselse\leftreferencetoks \leftofreferencecontent \donothing
\currentreferencecontent
- \rightofreferencecontent
+ \doifsometokselse\rightreferencetoks\rightofreferencecontent\donothing
\the\rightreferencetoks
\rightofreference}
@@ -988,7 +988,10 @@
\defaultrightreferencetoks
\let\rightofreferencecontent\empty
\fi
- \goto{\referencesequence}[#4]%
+ \doifreferencefoundelse{#4} % we need to resolve the text
+ {\goto{\referencesequence}[#4]}
+ {\let\currentreferencecontent\dummyreference
+ \goto{\referencesequence}[#4]}%
\dostopgotoreference}
\unexpanded\def\dospecialin{\dostartgotoreference\let\currentreferencecontent\currentreferencedefault\dopickupgotoreference}
diff --git a/tex/generic/context/luatex-fonts-merged.lua b/tex/generic/context/luatex-fonts-merged.lua
index 0968ff77e..bc825a306 100644
--- a/tex/generic/context/luatex-fonts-merged.lua
+++ b/tex/generic/context/luatex-fonts-merged.lua
@@ -1,6 +1,6 @@
-- merged file : luatex-fonts-merged.lua
-- parent file : luatex-fonts.lua
--- merge date : 02/14/11 18:50:16
+-- merge date : 02/14/11 19:48:13
do -- begin closure to overcome local limits and interference