Vincent van Ravesteijn - TNW wrote: > If we know what the solution is, the implementation is straightforward I > guess. > > I think we should output \textlatin for the latin characters as we do with > \textgreek for greek characters. > > Language English: > \textcyr{\char254} \textgreek{a} s > > Language Greek: > \textcyr{\char254} <alpha unicode char> \textlatin{s} > > Language Russian: > <russian unicode char> \textgreek{a} \textlatin{s} > or > <russian unicode char> \textgreek{a} s > > Then we still need to hardcode for which encodings/languages we should use > the \textlatin notation. (But things are already hardcoded for textcyr and > textgreek as well. > > Is this ok ?
Note that \textlatin will only switch the font encoding, not the language. So \textlatin{text} on a Greek context will not input English text into Greek, but roman characters (the same is true for \textgreek in latin context; that's why people who _really_ want to write Greek in, say, an English text and not only insert an alpha character, are advised to switch the language to Greek; if not, hyphenation and everything will be wrong). In short: \textlatin might be useful for Greek users who want to insert some latin characters (language-insensitively), but it will not solve the "Greek text mixed with English" problem. Jürgen