* error message query @ 2008-09-03 19:48 Alan Bowen 2008-09-03 21:44 ` Thomas A. Schmitz 2008-09-04 8:39 ` Wolfgang Schuster 0 siblings, 2 replies; 5+ messages in thread From: Alan Bowen @ 2008-09-03 19:48 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: error message query 2008-09-03 19:48 error message query Alan Bowen @ 2008-09-03 21:44 ` Thomas A. Schmitz 2008-09-04 2:57 ` Alan Bowen 2008-09-04 8:39 ` Wolfgang Schuster 1 sibling, 1 reply; 5+ messages in thread From: Thomas A. Schmitz @ 2008-09-03 21:44 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: error message query 2008-09-03 21:44 ` Thomas A. Schmitz @ 2008-09-04 2:57 ` Alan Bowen 0 siblings, 0 replies; 5+ messages in thread From: Alan Bowen @ 2008-09-04 2:57 UTC (permalink / raw) To: mailing list for ConTeXt users 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: error message query 2008-09-03 19:48 error message query Alan Bowen 2008-09-03 21:44 ` Thomas A. Schmitz @ 2008-09-04 8:39 ` Wolfgang Schuster 2008-09-04 12:10 ` Alan Bowen 1 sibling, 1 reply; 5+ messages in thread From: Wolfgang Schuster @ 2008-09-04 8:39 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Sep 3, 2008 at 9:48 PM, Alan Bowen <acbowen@princeton.edu> 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 {|~|}? \def\ {\thinspace} Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: error message query 2008-09-04 8:39 ` Wolfgang Schuster @ 2008-09-04 12:10 ` Alan Bowen 0 siblings, 0 replies; 5+ messages in thread From: Alan Bowen @ 2008-09-04 12:10 UTC (permalink / raw) To: mailing list for ConTeXt users Thanks, Wolfgang. That is just what I needed: it works in all my environments and looks good in the output. As for line breaking, it can produce an overfull \hbox but that is very easily seen and repaired. Best, Alan On Sep 4, 2008, at 04;39,32 , Wolfgang Schuster wrote: > On Wed, Sep 3, 2008 at 9:48 PM, Alan Bowen <acbowen@princeton.edu> > 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 {|~|}? > > \def\ {\thinspace} > > Wolfgang > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-09-04 12:10 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-09-03 19:48 error message query Alan Bowen 2008-09-03 21:44 ` Thomas A. Schmitz 2008-09-04 2:57 ` Alan Bowen 2008-09-04 8:39 ` Wolfgang Schuster 2008-09-04 12:10 ` Alan Bowen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).