slatex / sTeX

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

leftover overlay specifications #376

Closed kohlhase closed 1 year ago

kohlhase commented 1 year ago

On https://courses.voll-ki.fau.de/browser/%3AsTeX%2Fdocument%3Farchive%3DMiKoMH%2FAI%26filepath%3Dcourse%2Fnotes%2Fnotes.xhtml?inDocPath=-to8f9d.i4m5qz.mnzbzh.-wgxq4l I see

Screenshot 2022-11-03 at 19 52 07

there seem to be some beamer overlay specifications left over.

kohlhase commented 1 year ago

Oh, and the font sizes and dimensions seem be quite off. We should have done that update on a staging server first.

Jazzpirate commented 1 year ago

Actually no, that makes sense and to some degree indicates that we need a third variant of \mhinput/\inputref we should think about: The sources in the smglom themselves (https://gl.mathhub.info/smglom/grammar/-/blob/main/source/mod/grammar-types.en.tex) do contain the \item <i->, but don't have a frame where that would make sense - hence grammar-types.en.pdf should have the same problem as the HTML. Except of course that the pdf of the notes don't have that problem, because there the smglom-tex is \input inside a frame anyway.

In the HTML of the notes however, the smglom HTML is inserted as (basically) an <iframe> - so you get the exact same formatting and typesetting in the notes as in the smglom entry itself.

Jazzpirate commented 1 year ago

Although I don't know what a new mhinput-like macro would look like - these problems seem to me unavoidable if one wants the html files to be modular... :/

kohlhase commented 1 year ago

You are completely right, this is a content error on my part (sorry to have bothered you with this; I did not have time to check in depth with all the teaching yesterday). I think there is no way a new \input could fix this. Overlay specifications have no place in smglom! I will rework this.

Jazzpirate commented 1 year ago

I think we can do something about the font sizes and dimensions though (see the sTeX-React-channel on mattermost)...

kohlhase commented 1 year ago

Yes I saw, sounds very promising.