slatex / sTeX

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

something bleeds spaces #310

Closed kohlhase closed 2 years ago

kohlhase commented 2 years ago

Something (probably \usemodule) bleeds spaces, e.g. in MathHub/MiKoMH/IWGS/source/booksapp/snip/books-app.en.tex, which has

\begin{sparagraph}
  \usemodule[MiKoMH/GenCS]{www/mod?webapps}
  \usemodule{webapps/mod?bottle-stpl}
  \usemodule[MiKoMH/GenCS]{www/mod?serverside-scripting}

and yields

Screenshot 2022-05-20 at 12 02 33
Jazzpirate commented 2 years ago

has sparagraph been patched in your context?

kohlhase commented 2 years ago

I do not think so, only the patches in stexthm.sty.

Jazzpirate commented 2 years ago

hmm, ok, can confirm that it's actually usemodule that inserts the spaces -.-

Jazzpirate commented 2 years ago

correction: \STEXexport leaked spaces - I thought \ginorespacesandpars wouldn't be necessary anymore, since it's now in ExplSyntax, but apparently tex tokenizes ahead already. Fixed in next push

kohlhase commented 2 years ago

great. There is no hurry, good to know that this will be fixed.