On Fri, Oct 17, 2008 at 11:15 AM, Hans Hagen
Hi,
this time a beta that is more beta than usual (mkiv)
- it needs a recent luatex (no surprise) - there are some speedups, but it might break things (should not happen) - the memory footprint should be a bit smaller (esp fonts) - font fallbacks etc have some fixes
a major change is that now all multipass data goes into the jobname.tuc file (only lists are still in the tuo file); a next release will have sectioning redone and for mkiv the tuo file will be gone
New beta, new bugs, here is my list. 1. \savetwopassdata (typo) --- core-two-orig.mkiv 2008-10-14 12:51:02.000000000 +0200 +++ core-two.mkiv 2008-10-21 17:13:05.000000000 +0200 @@ -18,7 +18,7 @@ %D I'm not that sure if this behaves exactly like mkii. This needs a cleanup. \def\immediatesavetwopassdata #1#2#3{\expanded{\ctxlua {jobpasses.save('#1',"#3")}}} -\def\savetwopassdata #1#2#3{\expanded{\ctxlatetua{jobpasses.save('#1',"#3")}}} +\def\savetwopassdata #1#2#3{\expanded{\ctxlatelua{jobpasses.save('#1',"#3")}}} \def\lazysavetwopassdata #1#2#3{\expanded{\ctxlatelua{jobpasses.save('#1',"#3")}}} \def\savetaggedtwopassdata #1#2#3#4{\expanded{\ctxlua {jobpasses.savetagged('#1','#3',"#4")}}} \def\lazysavetaggedtwopassdata#1#2#3#4{\expanded{\ctxlatelua{jobpasses.savetagged('#1','#3',"#4")}}} 2. \setlayer (unwanted spaces) --- page-lyr-orig.tex 2008-10-16 00:16:42.000000000 +0200 +++ page-lyr.tex 2008-10-21 17:50:27.000000000 +0200 @@ -178,12 +178,12 @@ % discard nextbox \fi \else - \dododosetlayer[#1][#2][#3] + \dododosetlayer[#1][#2][#3]% \fi\fi \else \writestatus{layer}{unknown layer #1}% \fi - \egroup} + \egroup}% \hbox} \newbox\layerbox 3. \backgroundimage (suppress \lineskip) --- core-box-orig.tex 2008-04-11 10:44:36.000000000 +0200 +++ core-box.tex 2008-10-21 21:42:52.000000000 +0200 @@ -931,16 +931,16 @@ % to be considered, probably methods \ifcase#1\or % x and y \setbox\nextbox\hbox{\dorecurse{\count0}{\copy\nextbox}}% - \setbox\nextbox\vbox{\dorecurse{\count2}{\copy\nextbox\endgraf}}% + \setbox\nextbox\vbox{\offinterlineskip\dorecurse{\count2}{\copy\nextbox\endgraf}}% \or % x \setbox\nextbox\hbox{\dorecurse{\count0}{\copy\nextbox}}% \or % y - \setbox\nextbox\vbox{\dorecurse{\count2}{\copy\nextbox\endgraf}}% + \setbox\nextbox\vbox{\offinterlineskip\dorecurse{\count2}{\copy\nextbox\endgraf}}% \fi \fi \ifdim\nextboxwd>#2\relax \setbox\nextbox\hbox to #2{\hss\flushnextbox\hss}% - \setbox\scratchbox\hbox{\expanded{\clip[\c!width=#2,\c!height=\the\nextboxht]{\box\scratchbox}}}% + \setbox\nextbox\hbox{\expanded{\clip[\c!width=#2,\c!height=\the\nextboxht]{\flushnextbox}}}% \fi \ifdim\nextboxht>#3\relax \setbox\nextbox\vbox to #3{\vss\flushnextbox\vss}% Best regards, Wolfgang