Hi Taco,

On Saturday 20 January 2007 21:51, Mike Bird wrote:
> The only downside that I have noticed is that two column footnotes
> are now less well balanced.

This was caused by a typo.  I had accidently removed the newline
after '% experiment' which had the effect or disabling the
'\penalty\notepenalty' on the next line.

On Sunday 21 January 2007 01:53, Taco Hoekwater wrote:
> Do you happen to have these changes as a diff file or a patched
> core-not.tex, by any chance? I want to compare stuff, and either
> of those formats would be a bit easier on me.

Attached now is a diff against the original ConTeXt 2007-01-12
and with the afore-mentioned typo corrected.

--Mike Bird
--- /usr/share/texmf/tex/context/base/core-not.tex	2007-01-01 14:50:15.000000000 -0800
+++ core-not.tex	2007-01-21 10:30:30.000000000 -0800
@@ -677,7 +677,7 @@
   {\rawreference\s!fnt{\s!fnt:f:\internalfootreference}{}}
 
 \def\footnotereferenceto
-  {\global\advance\crossreferencenumber\minusone\relax % else problem, needs further testing
+  {%\global\advance\crossreferencenumber\minusone\relax % else problem, needs further testing
    \rawreference\s!fnt{\s!fnt:t:\internalfootreference}{}}
 
 \def\dostartnote% nog gobble als in pagebody
@@ -715,12 +715,12 @@
             {\gotobox{\noteparameter\c!command % was \c!numbercommand, but compatible
                {\preparednumber\domovednote\v!nextpage\v!previouspage}}%
                [\s!fnt:f:\internalfootreference]}%
-        \fi
-        \doifelse{\noteparameter\c!interaction}\v!no
-          {\ifconditional\pagewisenotes
-             \footnotereferenceto
-           \fi}%
-          {\footnotereferenceto}}%
+        \fi}%
+     \doifelse{\noteparameter\c!interaction}\v!no
+       {\ifconditional\pagewisenotes
+          \footnotereferenceto
+        \fi}%
+       {\footnotereferenceto}%
      \bgroup
      \postponenotes
      \aftergroup\dostopnote
--- /usr/share/texmf/tex/context/base/core-ref.tex	2006-11-08 15:11:54.000000000 -0800
+++ core-ref.tex	2007-01-21 10:24:42.000000000 -0800
@@ -282,7 +282,7 @@
 %D references, later we will see for what purpose, we maintain
 %D a counter.
 
-\newcount\crossreferencenumber \crossreferencenumber=1
+\newcount\crossreferencenumber \crossreferencenumber=0
 
 \def\writereference#1#2#3#4%
   {\ifreferencing
@@ -317,7 +317,7 @@
 %        {\writeutilitycommand
 %           {\mainreference{\referenceprefix}{\lastreference}{#4}{#5}{#6}}}%
 %      \dododowritereference
-     \expanded{\writeutilitycommand{\noexpand\mainreference{\referenceprefix}{\lastreference}{#4}{#5}{#6}}}%
+     \expanded{\immediatewriteutilitycommand{\noexpand\mainreference{\referenceprefix}{\lastreference}{#4}{#5}{#6}}}%
    \fi
    \egroup}
 
@@ -620,10 +620,10 @@
      \fi
      \edef\currentrealreference{#3}%
      \settextreferences#4\end
-     \ifnum0#5<\crossreferencenumber
-       \forwardreferencetrue
-     \else
+     \ifnum0#5>\crossreferencenumber
        \forwardreferencefalse
+     \else
+       \forwardreferencetrue
      \fi
    \else
      \let \currentlocationreference\empty
_______________________________________________
dev-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to