39,843 reputation
2119190
bio website latex-project.org
location Mainz, Germany
age 52
visits member for 2 years, 9 months
seen 1 hour ago

I'm involved in computer typesetting and TeX since the mid 80's, leading the LaTeX development since the the beginning of the 90's. You'll find my professional profile here. An interview jointly conducted by TUG and the Free Software Magazine on my involvement in LaTeX can be found here.

I've written and co-authored a number of LaTeX books that you can find in my profile on amazon.com (English books) or in my profile on amazon.de (German books).

One of them, "The LaTeX Companion 2ed" is also available as an eBook. It can be obtained directly from the publisher as a bundle containing pdf/epub/mobi without DRM. Check out the news item on the LaTeX Project site for details.


1h
comment Is there a way to get at the value of \prevdepth from the main vertical list inside the output routine?
@user1129682 the \setbox simply throws away the material. It is a trivial way of making an example where the OR puts something back that has a different depth than what was calculated before. Real life examples would be, for example, to balance the material (producing a different depth) or inserting additional material that has a different depth (example in the OR chapter of the TeXbook)
16h
awarded  Nice Answer
21h
comment Is there a way to get at the value of \prevdepth from the main vertical list inside the output routine?
@user1129682 not sure you accept this as a "real world" example but latex-project.org/cgi-bin/ltxbugs2html?pr=tools/… is one of the reasons that I identified the issue.
1d
comment Replacement(s) for TeX's paragraph builder using LuaTeX
@phg or anybody else: any chance to help with an answer showing how to make this code work?
1d
accepted Is there a way to get at the value of \prevdepth from the main vertical list inside the output routine?
Sep
19
answered How to define a private color in a (possibly LaTeX3) package?
Sep
17
awarded  Promoter
Sep
17
revised Replacement(s) for TeX's paragraph builder using LuaTeX
saugment the questions in the lights of the comments
Sep
17
answered Is there a way to get at the value of \prevdepth from the main vertical list inside the output routine?
Sep
16
comment TeXLive Utility Not Updating multicol package
@wasteofspace there was an announcement and that clearly said multicol and varioref has been updated (my note "no overall change" was a misunderstanding and to my knowledge never made it in any announcement! so I wonder why you know about it (unless you are somebody I know hiding behind this name :-) ... Anyway both Karl and Heiko are aware of that update but as David says this is a manual effort
Sep
16
comment Is there a way to get at the value of \prevdepth from the main vertical list inside the output routine?
am I blind? you always only show output but never the TeX source i.e. your macros that produced this tracing. can you please add that too?
Sep
16
comment Is there a way to get at the value of \prevdepth from the main vertical list inside the output routine?
I guess you are right, it can not fully solve the issue, but it would at least allow you find out if you indeed have an issue. In other words, what is really needed for a full solution is to determine 100% whether or not recent contributions are empty. I finally found a way to actually make that determination (I think) just have to write it up and do a bit more testing. So far it looks as if it can resolve both questions.
Sep
16
revised Is there a way to get at the value of \prevdepth from the main vertical list inside the output routine?
state that this should work with all TeX engines
Sep
16
comment Is there a way to get at the value of \prevdepth from the main vertical list inside the output routine?
Hi Petr, sorry but this is not solving the problem (though it appears to be on first glance). Try "test with \vrule depth 88pt to get a depth \lineskip=20pt" instead of the one with "g". As the line is thrown away we should never see \lineskip applied but it is now as the outer \prevdepth still believes it is 88pt. In other words, what your code is doing is to assume that the dp255 is somehow corresponding to the outer \prevdepth but it is not.
Sep
16
comment Is there a way to get at the value of \prevdepth from the main vertical list inside the output routine?
@MartinSchröder if it has been solved then show me, I would certainly be interested to learn about it, otherwise that's a fairly empty statement. However, even if it has (which I doubt to be honest) I'm really much more interested in finding a solution that works in all TeX engines not just in one.
Sep
15
awarded  Good Question
Sep
15
comment Is there a way to get at the value of \prevdepth from the main vertical list inside the output routine?
My ask is for somebody to dream up a way at getting at the value nevertheless, the fact that I haven't come up with one so far doesn't mean there isn't one. It might turn out that is the conclusion in which case yes, the only way to solve it would be to avoid the situation in code or add a primitive (but that would not help code that I write as long as it is supposed to work on all engines). So I'm hoping I'm wrong and somebody has a clever idea.
Sep
15
comment Is there a way to get at the value of \prevdepth from the main vertical list inside the output routine?
input not output :-) But your output doesn't even list an material being put back from the OR. So I don't think you are tackling the problem.
Sep
15
comment Is there a way to get at the value of \prevdepth from the main vertical list inside the output routine?
As to \pagestretch and \pagegoal they are fairly useless variables to be honest. Within the OR you you have control over the content anyway and outside they sometime report incorrect data. Furthermore they give you only information about the accumulated material not the material that has not been considered for the current page and sits waiting in "recent contributions". So I don't see how they could solve the issue of having to account for a \prevdepth that is outside of your access and that you don't know the value for.
Sep
15
comment Is there a way to get at the value of \prevdepth from the main vertical list inside the output routine?
you do not show your input but as far as I can see it is not solving the issue. The issue being that the baselineskip between the two lines "next line is too short" and the next is short by 1.9994pt. The question looks for a solution within current TeX (so new primitive would not help in say pdfTeX) and what I mean by Turing argument: you can resolve the issue be redefining nearly all of TeX's primitives and do all the processing manually, but that would be so slow that it is a theoretical possibility (TeX being Turing complete) but not an answer.