Am 03.05.2013 um 09:34 schrieb "Meer, H. van der"
There is more to it then a preference for \crlf, typescript loading introduces a lot of spurious white, that not always can be made to disappear. I tracked it down to a macro in type-ini.mkvi:
\def\font_typescript_process_typescript_file_and_store {*\expandafter\let\expandafter\t_font_typescripts\csname\??typescriptfiles\currenttypefile\endcsname A\ifx\t_font_typescripts\relax B\font_typescript_process_typescript_store_indeed C\fi D\the\t_font_typescripts}
The ABCD*'s were added to see what happens. See the screen shot from one of my tests (<br/> results in \crlf but does not sit between text and fontswitch \switchtobodyfont). My guess is that the token register \t_font_typescripts is the source of the spaces, but I am not further than that. I have already mailed Hans Hagen about these findings.
The spaces in the output come from the line ending after the \definefontsynonym entry in the typescript and extra line in your other example from the empty lines between the typescript blocks and not from the macro above. \starttext A\crlf B\crlf \stoptext Wolfgang