slatex / sTeX

A semantic Extension of TeX/LaTeX
49 stars 9 forks source link

beamerarticle or notesslides itemize does not play well with sparagraph #295

Closed kohlhase closed 2 years ago

kohlhase commented 2 years ago

There is a curious (and very annoying) interaction between the itemize env from beamerarticle.sty or notesslides.styand the sfragment env from sTeX. Note that this only seems to apply to notes mode.

The spacing is off and the placement of the item mark is offer. E.g.

This covers most of the cases I have seen, this probably has a common source, so I will not try to collect more examples.

kohlhase commented 2 years ago

BTW, this not a regression this bug has been present for years (at least).

kohlhase commented 2 years ago

It would be great, if we were able to fix this.

Jazzpirate commented 2 years ago

notesslides defines its own frame-environment, which redefines the itemize-environment. All of this seems somewhat hacky to me and I'm not entirely sure what the exact intentions behind all of those are. That should be rethought from the ground up, probably

kohlhase commented 2 years ago

I agree with that. That is why I am collecting the evidence.

kohlhase commented 2 years ago

notesslides defines its own frame-environment, which redefines the itemize-environment.

This is one of the first things I did for sTeX, and I think that the beamerarticle functionality may have improved over time, so that we do not have to do that any more.

kohlhase commented 2 years ago

I would really like to leave the implementation of frames in notes to Till Tantau and his friends

kohlhase commented 2 years ago

Interestingly, in MathHub/MiKoMH/AI/source/probabilistic-reasoning/mod/uncert-sensors.en.tex, both the PDF

Screenshot 2022-05-06 at 13 08 36

and the generate HTML

Screenshot 2022-05-06 at 13 06 56

have item label problems.

kohlhase commented 2 years ago

this seems to have been finally fixed thanks to @Jazzpirate