From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38605 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: typesetting underscore Date: Sat, 12 Jan 2008 17:07:58 -0500 (EST) Message-ID: References: <20080112172448.71b684ce@gaura-nitai.dyndns.org> <20080112201124.3ce842d6@gaura-nitai.dyndns.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200175778 26805 80.91.229.12 (12 Jan 2008 22:09:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jan 2008 22:09:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 12 23:09:52 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JDoY4-0006ce-1h for gctc-ntg-context-518@m.gmane.org; Sat, 12 Jan 2008 23:09:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 40C081FBCB; Sat, 12 Jan 2008 23:09:23 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20695-03-3; Sat, 12 Jan 2008 23:08:42 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AFA681FB89; Sat, 12 Jan 2008 23:08:41 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 090E71FB55 for ; Sat, 12 Jan 2008 23:08:37 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20695-03-2 for ; Sat, 12 Jan 2008 23:08:04 +0100 (CET) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with ESMTP id 582C31FB9F for ; Sat, 12 Jan 2008 23:08:02 +0100 (CET) Original-Received: FROM adi-laptop.local (c-68-40-40-75.hsd1.mi.comcast.net [68.40.40.75]) BY skycaptain.mr.itd.umich.edu ID 47893A3E.D41A6.21364 ; 12 Jan 2008 17:07:59 -0500 X-X-Sender: adityam@adi-laptop In-Reply-To: <20080112201124.3ce842d6@gaura-nitai.dyndns.org> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38605 Archived-At: On Sat, 12 Jan 2008, Gour wrote: > On Sat, 12 Jan 2008 12:59:39 -0500 (EST) > Aditya Mahajan wrote: > > >> Why does \textunderscore wail? \textunderscore should work fine. > > See https://mail.gna.org/public/muse-el-discuss/2008-01/msg00001.html > thread. This is just a mistake of the parser. Either _ should be translated to "\textunderscore "(\textunderscore followed by a space) or more precisely by \textunderscore{} or \_ . > I do not remember having ever problem with underscore in LaTeX. Read the documentation of underscore.sty and you will know the trouble of using underscore in LaTeX (some of those are true for ConTeXt also). >> Shouldn't such function names be written as \type{gtk_xxxx} when muse >> converts the document to ConTeXt? In that case the _ will be >> preserved. > > Right. They will fix default in muse and use \type{_} as value for > underscore. No, the default should either be \_ or \letterunderscore{} (with the brackets). \type{_} will be influenced by \setuptype (or \setuptyping) and can give colored output also. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________