From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13454 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: Re: italic correction Date: Tue, 23 Sep 2003 19:25:14 +0200 Organization: privat Sender: ntg-context-admin@ntg.nl Message-ID: References: <3F707730.88A00C08@lamar.colostate.edu> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064338350 17081 80.91.224.253 (23 Sep 2003 17:32:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2003 17:32:30 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Sep 23 19:32:28 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A1r1Y-0006dR-00 for ; Tue, 23 Sep 2003 19:32:28 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 4451610B5D; Tue, 23 Sep 2003 19:32:23 +0200 (MEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by ref.ntg.nl (Postfix) with ESMTP id 1190610B3A for ; Tue, 23 Sep 2003 19:25:18 +0200 (MEST) Original-Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1A1qua-00034O-00 for ntg-context@ntg.nl; Tue, 23 Sep 2003 19:25:16 +0200 Original-Received: from [62.72.92.74] (helo=levana) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1A1quZ-00007g-00 for ntg-context@ntg.nl; Tue, 23 Sep 2003 19:25:16 +0200 Original-Received: from [192.168.1.2] (helo=schnee.local) by levana with esmtp (Exim 3.35 #1 (Debian)) id 1A1quZ-0000on-00 for ; Tue, 23 Sep 2003 19:25:15 +0200 Original-Received: from schnee.local (localhost [127.0.0.1]) by schnee.local (8.12.9/8.12.9) with ESMTP id h8NHPEBK007416 for ; Tue, 23 Sep 2003 19:25:14 +0200 (CEST) Original-Received: (from pg@localhost) by schnee.local (8.12.9/8.12.2/Submit) id h8NHPEIs007415; Tue, 23 Sep 2003 19:25:14 +0200 (CEST) X-Authentication-Warning: schnee.local: pg set sender to patrick@gundla.ch using -f Original-To: ntg-context@ntg.nl X-Lieblings-Musik: the_capricorns In-Reply-To: <3F707730.88A00C08@lamar.colostate.edu> (Idris S. Hamid's message of "Tue, 23 Sep 2003 10:39:12 -0600") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (darwin) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13454 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13454 Idris S Hamid writes: Hi, > Sometimes I make a definition like > > \def\TR{\it} > > for certain purposes (structural consistency, etc.). How do I modify > this to automatically do an italic correction the way \em is set up to > do in \ConTeXt? I'd do it like this: \def\TR{\aftergroup \emphasiscorrection\it} see the examples: \def\TR{\aftergroup \/\it} \startlines {\it this is a roof}right? {\TR this is a roof}right? {\TR this is a roof}, right? \def\TR{\aftergroup \emphasiscorrection\it} {\TR this is a roof}right? {\TR this is a roof}, right? \stoplines But I bet that there is a more clever way. Patrick -- Silent is the goldfish in its bowl