Thomas— The problem seems limited to one of my environments. With the one for the journal, MKII and \def\ {|~|} work when the Greek module is loaded and when real Greek is set. In short, the changes made in your Greek module seem happily restricted to text in \localgreek{...} and so on. I am at a loss to see how \def\ {|~|} collides with the many macros in the problem environment right now, hence my query about a cleverer way to make the definition. By the way, I use |~| to reduce stretch and to get the right spacing after any period within a sentence. It’s unbreakability is an undesirable side effect. (The string A.|~\E|~|Samuel”, for example, breaks with a hyphen as in “A. E.-” which is certainly not good.) Apparently, we have lost the functionality of the old “\ ” when \mainlanguage[en]. Cheers, Alan On Sep 3, 2008, at 17;44,35 , Thomas A. Schmitz wrote:
On Sep 3, 2008, at 9:48 PM, Alan Bowen wrote:
It appears that the problem is my definition
\def\ {|~|}
Though this definition works in a simple test file, it apparently conflicts with something in my environment file and produces the error message reported previously. So, is there a “safer” way to define \<space> as {|~|}?
Alan
Since you seem to be using Greek in your file: both | and ~ are made inactive in the Greek environment, so if you use '\ ' within Greek stuff, you're running into trouble. I don't see a solution within mkii if you want the nonbreakable space.
Thomas ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________