-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plain tcolorbox
uses autoparskip
, not beforeafter skip balanced
#182
Comments
The analysis is correct. The Removing this setting would give the intended and documented behaviour. Alas, the is another problem. I changed the default setting with version 4.40, because the new settings caused no notable changes to several old documents I tested. Now, we know why no notable changes happened... The current situation is that all boxes on layer 1 have I see two possibilities:
First, I'm going to test some legacy documents. |
v4.40 and v5.0.0 are released on Sep 25, 2020 and Dec 16, 2021, respectively. So
Hmm I'm weak at date calculations. It seems to me repairing the code is OK. |
I just tested several of my documents with many boxes and found no critical changes, if the code is repaired. And you bring in some new good points. I checked that your observations are correct and the new setting actually was effecive with v4.40 and gone with v5.0.0 where I moved the code with the remnant to the current position (not completely sure why) where is came to effect. The good news (for me) is that I was not so dumb to oversee a missing new setting in v4.40... Also, all tests of this time are valid tests, because the setting was effective. So, I am going to repair the code by removing the offending Unluckily, this came up very shortly after the release of v5.1.0. I wait until tomorrow, if new thoughts come up. Otherwise I am going to do a new release and I hope that the good people at CTAN do not curse me for updating so fast again... |
When tracing the problem once I moved the Hence I suspect the code movement is caused by implementing The new code for
It's not rare that hotfix releases appear shortly after a normal release1, though that's not the case for tcolorbox this time. For example during Dec 26--28, 2020, Footnotes
|
Originally reported by @mlhetland in #115 (comment)
Example
Analysis
b9106e4 (released since v5.0.0) moved setting
from mid-file to the very end of
tcolorbox.sty
, even after use ofinitialize@reset=reset@core
.To demonstrate the situation after b9106e4:
Thus for plain
tcolorbox
on first layer, theautoparskip
winsbeforeafter skip balanced=0.5\baselineskip plus 2pt
.Proposal
Just remove that
autoparskip
used afterinitialize@reset=reset@core
.The text was updated successfully, but these errors were encountered: