Hans Hagen wrote:
Vit Zyka wrote:
It needs some new definitions to core-spa.tex (Hans ??): \unexpanded\def\textormathglue#1#2#3{% {\dimen0=#1\hspaceamount\empty{#3}% \skip0=0pt plus.5\dimen0 minus.3\dimen0 \ifmmode\mskip#1#2% \else\kern#1\hspaceamount\empty{#3}\hskip\skip0\fi\relax}% } \def\thinglue {\textormathglue+\thinmuskip 1} \def\medglue {\textormathglue+\medmuskip 2} \def\thickglue {\textormathglue+\thickmuskip3}
this boils down to:
\unexpanded\def\textormathglue#1#2#3% {\begingroup \scratchdimen=#1\hspaceamount\empty{#3}% \scratchskip=\zeropoint \!!plus.5\scratchdimen \!!minus.3\scratchdimen\relax \ifmmode \mskip#1#2% \else \kern\scratchdimen \hskip\scratchskip \fi \endgroup}
Yes, that is better.
\def\thinglue {\textormathglue+\thinmuskip 1} \def\medglue {\textormathglue+\medmuskip 2} \def\thickglue{\textormathglue+\thickmuskip3}
why the kern followed by the skip? why not just
I was not sure if original kern has not have some secret reason, so I preserved as much \textormathspace as possible. No comments was done for cont-sla.tex, so I would ask you Hans to incorporate it to distro. Clean file in attch. Thanks Vit P.S. I had played with sorting but was not successful with uppercase accented letters. In texexecnew I noticed there are definition only for small letters, so uppercase should be defined by user. But how to do it for accented letters I do not know (without brief explanation of \exportsortrule, \exportsortshortcut, \exportsortreduction, \exportsortdivision there are too much variations - in a way of applied order, encoding expression, intended behaviour, not implemented features, bugs - and I am not able to solve it im my time possibilities).
\unexpanded\def\textormathglue#1#2#3% {\ifmmode \mskip#1#2\relax \else \begingroup \scratchdimen#1\hspaceamount\empty{#3}% \scratchskip \scratchdimen \!!plus .5\scratchdimen \!!minus.3\scratchdimen \hskip\scratchskip \endgroup \fi}
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
_______________________________________________