Jean-François B.
Jean-François B.
@dbitouze I should have started with the end, which to my mind is most important point: if a utility tells you that a TeX dimension has such or such value...
(reading a bit less hastily l3skip I now wonder if l3fp is used at all in this context... because there is a `\dim_to_fp:n` with a comment that `dimension expressions are...
@dbitouze > That's why I said: > > > [...] _at least_ the subject of a package > > :) Complications (such as negative dimensions, dimension units such as `dd`...
@blefloch Please check out https://github.com/jfbu/texdimens/issues/2#issuecomment-957921157. I have (at last) given some thought about how to handle `ex` and `em` especially when they turn out to be `1pt` or `
@RuixiZhang42 I read only now your https://github.com/latex3/latex3/issues/953#issuecomment-957943380 which is very clearly formulated and nice recapitulation. And you are right indeed about the mathematics, the formula is correct also for δ
> * For δ=1, the user is asking for a decimal in `pt` unit, so she/he should simply use `\dim_to_decimal:n`. This is wise... because `δ=1` is the sole value for...
Update: at [texdimens](https://github.com/jfbu/texdimens) I have changed my mind about how to handle the `dim2
> Quick temp fix when using a recent LaTeX is > > ``` > \AddToHook{env/macrocode/before}{\leavevmode} > ``` Thanks, but let me mention here that this is not compatible (i.e. creates...
oh I see, macrocode uses a trivlist... ``` \AddToHook{env/macrocode/before}{\@nobreakfalse} ``` is a work around to the fact that `\@nobreak` toggle fails to be set to false by macrocode it seems....
> On the extra space from a blank line or `\par` prior to macrocode this comes from the `\partopsep` setting. (I would tend to say that obeying `\partopsep` mechanism is...