SoftVarE-Group / Course-on-Software-Product-Lines

Material for lectures on software product lines
Creative Commons Attribution Share Alike 4.0 International
11 stars 0 forks source link

Depending on the Latex version, inappropriate margins are inserted at the top of boxes #8

Closed ekuiter closed 4 months ago

ekuiter commented 1 year ago

On the latest TexLive version, the following happens: grafik At the top of each non-itemize/enumerate box, there is a large margin. It should instead look like this (no margin above "a software product line"): grafik

This is reproducible with docker run --rm -v $(pwd)/..:/spl -w /spl/slides texlive/texlive make.

I believe this happened when we updated the SlideTemplate to another branch (release) a few weeks ago, so the issue is probably within the SlideTemplate or its interaction with our lecture.

Currently, the consequence is that only @tthuem can compile lectures.

ekuiter commented 1 year ago

Thomas asked if you maybe can look into it, @Benno2000 ? If needed, I can also find out which commit/merge caused this.

ekuiter commented 1 year ago

I can now confirm that this is due to the used Texlive version (latest/rolling release version does not work, older versions do work).

I have found a temporary workaround: docker run --rm -v $(pwd)/..:/spl -w /spl/slides texlive/texlive:TL2021-historic make.

Benno2000 commented 1 year ago

If this bug is caused by the TeXLive version, I am not sure whether and how this can be fixed in the template itself.

Benno2000 commented 1 year ago

I just tested the behaviour with my TeX Live 2022 Installation which worked normally. The I upgraded my TeX Live Version to 2023 and got the same issue.

However, it seems to be a problem with the template as the bug doesn't exist in an empty document with only a tcolorbox:

\documentclass{beamer}

\usepackage{tcolorbox}

\begin{document}
    \begin{frame}
        \begin{tcolorbox}
            Test
        \end{tcolorbox}
    \end{frame}
\end{document}

However, as I don't understand the concrete implementation of the colorboxes in the template, It's hard for me to debug the issue. Maybe Florian Sihler, who implemented the colorboxes in the template, can help us with this problem. It seems to be a general problem with tcolorboxes in TeX Live 2023.

ekuiter commented 1 year ago

Thanks for checking @Benno2000 ! @EagleoutIce, do you have an idea what might be happening here?

tthuem commented 1 year ago

Please document this issue in the Template repository and continue the discussion over there. A link here should be sufficient.

Benno2000 commented 1 year ago

I created an issue for this in the template repo: https://github.com/SoftVarE-Group/SlideTemplate/issues/58

tthuem commented 4 months ago

@ekuiter Could you check whether the problem still occurs? It was never a problem on my machine, so hard to check for me.

ekuiter commented 4 months ago

The issue seems to be fixed. Compiling with the historic version of texlive no longer seems to produce a difference to the most recent version of texlive on Arch Linux.