From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80350 Path: news.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: Simple question: how do I get the filename in the footer Date: Sun, 20 Jan 2013 15:44:13 +0100 Message-ID: <5CA35152-641F-41AE-A7BA-5427C6852CD4@rna.nl> References: <1CEBB444-2C26-4EC4-9D35-93A6EADCA5DC@rna.nl> <20130120115750.GA1285@phlegethon.router_intern> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1358693066 29697 80.91.229.3 (20 Jan 2013 14:44:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2013 14:44:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 20 15:44:45 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 1Tww8X-0007c3-CU for gctc-ntg-context-518@m.gmane.org; Sun, 20 Jan 2013 15:44:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8807E101F0; Sun, 20 Jan 2013 15:44:23 +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 nGtZiR5oCVwP; Sun, 20 Jan 2013 15:44:20 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 614EF101E5; Sun, 20 Jan 2013 15:44:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 19152101E5 for ; Sun, 20 Jan 2013 15:44:19 +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 v5EeVLizyIZL for ; Sun, 20 Jan 2013 15:44:17 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 6FC3D101E2 for ; Sun, 20 Jan 2013 15:44:17 +0100 (CET) Original-Received: from smtpq1.tb.mail.iss.as9143.net (smtpq1.tb.mail.iss.as9143.net [212.54.42.164]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r0KEiFd4003944 for ; Sun, 20 Jan 2013 15:44:16 +0100 Original-Received: from [212.54.42.133] (helo=smtp2.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Tww87-00029U-FX for ntg-context@ntg.nl; Sun, 20 Jan 2013 15:44:15 +0100 Original-Received: from d57d7632.static.ziggozakelijk.nl ([213.125.118.50] helo=mail.rna.nl) by smtp2.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Tww87-0006jn-1A for ntg-context@ntg.nl; Sun, 20 Jan 2013 15:44:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mail.rna.nl (Postfix) with ESMTP id 9AB15F8B331 for ; Sun, 20 Jan 2013 15:44:14 +0100 (CET) X-Virus-Scanned: amavisd-new at rna.nl Original-Received: from mail.rna.nl ([127.0.0.1]) by localhost (vanroodewierda.rna.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3Tl+PYEe7RIY for ; Sun, 20 Jan 2013 15:44:14 +0100 (CET) Original-Received: from luna-wifi.rna.nl (luna-wifi.rna.nl [192.168.2.89]) by mail.rna.nl (Postfix) with ESMTPSA id 1ED0CF8B327 for ; Sun, 20 Jan 2013 15:44:14 +0100 (CET) In-Reply-To: <20130120115750.GA1285@phlegethon.router_intern> X-Mailer: Apple Mail (2.1283) X-Ziggo-spambar: -- X-Ziggo-spamscore: -2.9 X-Ziggo-spamreport: ALL_TRUSTED=-1, BAYES_00=-1.9, MIME_QP_LONG_LINE=0.001, RP_MATCHES_RCVD=-0.001 X-Ziggo-Spam-Status: No X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.54.42.164; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06IOeIf1q - 97de49402c6e - 20130120 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:80350 Archived-At: On 20 Jan 2013, at 12:57, Philipp Gesang wrote: > Hi Gerben, > = > =B7=B7=B7=B7=B7=B7=B7=B7= =B7 > = >> how do I get the filename (full path not needed) in the footer >> of my document? I want it there while writing the book and remove >> it in the final stages. I am using MKII (TeXLive 2011 still) > = > if the name of the main file suffices, then the TeX command > \jobname is what you are looking for. Thanks but that is not the one. Because I use the standard project setup, a= nd the job is always to typeset the file prd_book.tex, but I want the chapt= er file names (e.g. "chapter1.tex") in the footer. So, prd_book contains: \startbodymatter \component chapter1 \component chapter2 \component chapter3 \stopbodymatter And I want "chapter1.tex" (maybe full path) in the footer. G > = > =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7 > = > \setuppagenumbering[location=3D] > \setupfootertexts[pagenumber][{\jobname.tex}] > \starttext > \dorecurse{5}{\input knuth\page} > \stoptext > = > =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7 > = > Regards > Philipp > = > = > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________