From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80365 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Simple question: how do I get the filename in the footer Date: Sun, 20 Jan 2013 16:32:48 -0500 (EST) Message-ID: References: <1CEBB444-2C26-4EC4-9D35-93A6EADCA5DC@rna.nl> <20130120115750.GA1285@phlegethon.router_intern> <5CA35152-641F-41AE-A7BA-5427C6852CD4@rna.nl> <20130120150928.GC1285@phlegethon.router_intern> <508A9BFB-C4AC-4577-B121-AF36A52CC20D@rna.nl> <2B65D10C-44D0-4340-9540-2B5FBD2F950A@rna.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1358717589 5476 80.91.229.3 (20 Jan 2013 21:33:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2013 21:33:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 20 22:33:26 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tx2W4-0002DR-3A for gctc-ntg-context-518@m.gmane.org; Sun, 20 Jan 2013 22:33:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2393B101EA; Sun, 20 Jan 2013 22:33:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Wm9L1225F5+e; Sun, 20 Jan 2013 22:33:04 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A6C85101E5; Sun, 20 Jan 2013 22:33:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9D374101E5 for ; Sun, 20 Jan 2013 22:33:02 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3Q+pqWle9pzS for ; Sun, 20 Jan 2013 22:33:01 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 69095101E2 for ; Sun, 20 Jan 2013 22:33:01 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r0KLM5Xr023135 for ; Sun, 20 Jan 2013 22:22:13 +0100 Original-Received: FROM mint (bas3-montreal02-1096680382.dsl.bell.ca [65.94.3.190]) By hellskitchen.mr.itd.umich.edu ID 50FC6282.792A1.15864 ; Authuser adityam; 20 Jan 2013 16:32:50 EST In-Reply-To: <2B65D10C-44D0-4340-9540-2B5FBD2F950A@rna.nl> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.82; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WIOlm62A - 85cf34f829ef - 20130120 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80365 Archived-At: On Sun, 20 Jan 2013, Gerben Wierda wrote: >> You can add the \nonknuthmode to your document which makes _ and ^ normal characters for text mode. > > Is that limited to a {}-scope? And more importantly, that catches ^ and > _, but what about whitespace etc. Isn;t there a true verbatim that I can > use on a macro like \currentcomponent? Something along the lines of > \verbatimexpand{\currentcomponent}? Untested: \filename{\currentcomponent} 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________