Le 06/02/2023 à 11:41, jfbu a écrit :
good case
```
11.19995pt.
\strutbox ...etparameter {direction}=4 \ystrutbox
\else \tstrutbox \fi \fi
l.125 \showthe\ht\strutbox
```
bad case
```
0.0pt.
\strutbox ...etparameter {direction}=4 \ystrutbox
\else \tstrutbox \fi \fi
l.125 \showthe\ht\strutbox
```
(line numbering is meaningless due to added debugging stuff in produced LaTeX
file)
A priori and after quick check nothing in Sphinx LaTeX files will deliberately
modify \strutbox.
LaTeX sets \strutbox inside its \set@fontsize.
\setbox\strutbox\hbox{%
\vrule\@height.7\baselineskip
\@depth.3\baselineskip
\@width\z@}%
further debugging would compare TeX traces of the \subsubsection in the good
and bad cases , where is \set@fontsize called, what is the value of
\baselineskip there
If I have time later I will try to produce a non-Sphinx minimal example. It
would go via trying to make a division by the height of the \strutbox.
not much time currently
I suspect a connection with direction of typesetting. Maybe in vertical
typesetting the \strutbox is interpreted to provide width, not height.
not so clear it is related to problem here
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/trqmkt%24t76%241%40ciao.gmane.io.