From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38603 Path: news.gmane.org!not-for-mail From: Gour Newsgroups: gmane.comp.tex.context Subject: Re: typesetting underscore Date: Sat, 12 Jan 2008 20:11:24 +0100 Message-ID: <20080112201124.3ce842d6@gaura-nitai.dyndns.org> References: <20080112172448.71b684ce@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 1200165124 29904 80.91.229.12 (12 Jan 2008 19:12:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jan 2008 19:12:04 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 12 20:12:23 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 1JDlmJ-0008MN-Es for gctc-ntg-context-518@m.gmane.org; Sat, 12 Jan 2008 20:12:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D25FF1FBBA; Sat, 12 Jan 2008 20:11:46 +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 00880-01; Sat, 12 Jan 2008 20:11:34 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 790B61FB31; Sat, 12 Jan 2008 20:11:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EB8C91FB31 for ; Sat, 12 Jan 2008 20:11:32 +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 27096-02-10 for ; Sat, 12 Jan 2008 20:11:28 +0100 (CET) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by ronja.ntg.nl (Postfix) with ESMTP id 1E93F1FB1F for ; Sat, 12 Jan 2008 20:11:28 +0100 (CET) Original-Received: by ug-out-1314.google.com with SMTP id q2so696353uge.50 for ; Sat, 12 Jan 2008 11:11:27 -0800 (PST) Original-Received: by 10.67.116.16 with SMTP id t16mr1821122ugm.55.1200165087756; Sat, 12 Jan 2008 11:11:27 -0800 (PST) Original-Received: from gaura-nitai.dyndns.org ( [89.164.212.112]) by mx.google.com with ESMTPS id w40sm5293277ugc.45.2008.01.12.11.11.25 (version=SSLv3 cipher=OTHER); Sat, 12 Jan 2008 11:11:26 -0800 (PST) In-Reply-To: X-Mailer: Claws Mail 3.2.0 (GTK+ 2.12.1; x86_64-unknown-linux-gnu) X-Face: ),xf-z6dDO\:>YSZI_e=P@?[K_CG; $szx>/iL$UW8e7>n0'$Sg[7U[bx%iw6&z1}%vLroT$ kAJU2B{DVpGqvk$$0lgE6?1""q!+({Gra9j$}y}0VqM+K_d8>[sZf1]_Y`YV 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:38603 Archived-At: 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 how it is done in plain TeX, and both LaTeX and ConTeXt > follow this. If you do not use maths at all, you can say > > \catcode`\_ = 11 > > on the top of your file and then _ will be a letter in both text and > math mode (which basically means that you will have to use \sb to get > subscript in math mode. Hmm, not ideal... > It is possible to define something along the lines of underscore.sty > in latex, so that _ is treated as a letter in text mode, and as a > subscript indicator in math mode, but, read below. I do not remember having ever problem with underscore in LaTeX. > 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. Thank you for your input. Sincerely, Gour ___________________________________________________________________________________ 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 ___________________________________________________________________________________