Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!uhccux!uhunix2.uhcc.Hawaii.Edu!julian From: julian@uhunix2.uhcc.Hawaii.Edu (Julian Cowley) Newsgroups: comp.text.tex Subject: TeX bug or feature? Summary: \pagegoal weirdness Message-ID: <13021@uhccux.uhcc.Hawaii.Edu> Date: 15 May 91 01:12:07 GMT Sender: news@uhccux.uhcc.Hawaii.Edu Organization: University of Hawaii at Manoa Lines: 29 Can anyone explain to me why TeX sets \pagegoal to the g present at the end of the page breaking algorithm rather than the g for the best break? Here's an example: %% goal height=1288.40509, max depth=4.0 % t=22.0 g=1288.40509 b=10000 p=100 c=100000# % t=34.0 g=1288.40509 b=10000 p=0 c=100000# . . . % t=1042.0 plus 17.0 minus 12.0 g=1063.1112 b=190 p=150 c=440# % t=1054.0 plus 17.0 minus 12.0 g=1063.1112 b=15 p=0 c=115# % t=1066.0 plus 17.0 minus 12.0 g=1063.1112 b=1 p=100 c=201 % split254 to -16.83324,12.0 p=-10000 % t=1078.0 plus 17.0 minus 12.0 g=1051.1112 b=* p=0 c=* > 1051.1112pt. \doublecolumnoutput ...f D\dlr \showthe \pagegoal \global \prevpagegoal =\pa... {\doublecolumnoutput } l.35 I would have expected \pagegoal to equal 1063.1112, and I can think of no use for the value that is heeded. This really messes up an output routine I'm working on! Julian Cowley / U. of Hawaii at Manoa | "God is love." -- John, c. 60 A. D. julian@uhunix.uhcc.hawaii.edu | "All you need is love." -- John, 1967