From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35170 Path: news.gmane.org!not-for-mail From: Jelle Huisman Newsgroups: gmane.comp.tex.context Subject: question about macro's Date: Thu, 28 Jun 2007 14:50:27 +0200 Message-ID: <4683AE93.9070204@jhnet.nl> 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: sea.gmane.org 1183035067 27417 80.91.229.12 (28 Jun 2007 12:51:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Jun 2007 12:51:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 28 14:51:05 2007 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 1I3tSi-0007Lg-Dz for gctc-ntg-context-518@m.gmane.org; Thu, 28 Jun 2007 14:51:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 312491FF24; Thu, 28 Jun 2007 14:50:57 +0200 (CEST) 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 09654-01-5; Thu, 28 Jun 2007 14:50:35 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C06B51FCBD; Thu, 28 Jun 2007 14:50:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7D9DC1FCBD for ; Thu, 28 Jun 2007 14:50:33 +0200 (CEST) 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 09654-01-4 for ; Thu, 28 Jun 2007 14:50:31 +0200 (CEST) Original-Received: from smtp1.wsfo.org (james.jaars.org [208.145.81.51]) by ronja.ntg.nl (Postfix) with ESMTP id 4F6381FC44 for ; Thu, 28 Jun 2007 14:50:30 +0200 (CEST) Original-Received: from mail.link77.net (mail.link77.net [172.22.0.125]) by smtp1.wsfo.org (8.13.1/8.13.1) with ESMTP id l5SCoSrd009750 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 28 Jun 2007 08:50:29 -0400 X-ExternalMail: External X-Scanned-By: MIMEDefang 2.62 on 172.22.0.51 X-Scanned-By: RAE MPP/Clamd http://raeinternet.com/mpp X-Scanned-By: This message was scanned by MPP Free Edition (www.messagepartners.com)! Original-Received: from [213.134.228.11] (account jelle_huisman@wycliffe.org HELO ibookjh.local) by mail.link77.net (CommuniGate Pro SMTP 5.1.7) with ESMTPSA id 149489820 for ntg-context@ntg.nl; Thu, 28 Jun 2007 08:50:28 -0400 User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) 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:35170 Archived-At: Hello, I try to create a macro for processing a document tagged with some non-standard tags, like: \TAGc The title of this chapter \TAGs Here starts a new section with a lot of bla bla bla text. More bla bla. And yet another piece of bla bla. To process the tags I have defined some macro's, like this one: \def\TAGc#1 {\dosomething{#1} % the \dosomething has to do with fonts etc. \dosomethingelse} However, when I typeset the document this macro only works with the first word of the line tagged with \TAGc. Is it possible to tell the macro to process the whole line? (changing my source document is no option.) Many thanks, Jelle ___________________________________________________________________________________ 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 ___________________________________________________________________________________