Received: from mail.proteosys.com ([62.225.9.49]) by nummer-3.proteosys with Microsoft SMTPSVC(5.0.2195.5329); Sat, 5 Jul 2003 07:26:23 +0200 Received: by mail.proteosys.com (8.12.9/8.12.2) with ESMTP id h655QLPP003061 for ; Sat, 5 Jul 2003 07:26:21 +0200 MIME-Version: 1.0 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.27]) by relay.uni-heidelberg.de (8.12.9/8.12.9) with ESMTP id h655L2mp023513; Sat, 5 Jul 2003 07:21:02 +0200 (MET DST) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C342B5.F8F7A980" Received: from listserv (listserv.uni-heidelberg.de [129.206.100.27]) by listserv.uni-heidelberg.de (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id h64M04tk031569; Sat, 5 Jul 2003 07:19:23 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from LISTSERV.UNI-HEIDELBERG.DE by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8d) with spool id 0492 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sat, 5 Jul 2003 07:19:23 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id h655JNpU001608 for ; Sat, 5 Jul 2003 07:19:23 +0200 Received: from smtp.web.de (smtp02.web.de [217.72.192.151]) by relay.uni-heidelberg.de (8.12.9/8.12.9) with ESMTP id h655Kwmp023500 for ; Sat, 5 Jul 2003 07:20:58 +0200 (MET DST) Received: from [80.134.56.207] (helo=zarniwoop.ms25.local) by smtp.web.de with esmtp (TLSv1:DES-CBC3-SHA:168) (WEB.DE 4.98 #232) id 19YfTk-00067f-00 for LATEX-L@listserv.uni-heidelberg.de; Sat, 05 Jul 2003 07:20:57 +0200 Received: from zarniwoop.ms25.local (reinhard@localhost [127.0.0.1]) by zarniwoop.ms25.local (8.12.9/8.12.9) with ESMTP id h655KsQC012501 for ; Sat, 5 Jul 2003 07:20:55 +0200 Return-Path: X-Mailer: VM 7.00 under Emacs 20.7.2 X-OriginalArrivalTime: 05 Jul 2003 05:26:23.0672 (UTC) FILETIME=[F95E3380:01C342B5] X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang) X-Spam-Score: -5.8 () USER_AGENT_VM Content-class: urn:content-classes:message Subject: \input Date: Sat, 5 Jul 2003 06:20:54 +0100 Message-ID: A<16134.24630.894055.174261@zarniwoop.ms25.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: \input Thread-Index: AcNCtfl5J4dJ/QoRS96xTzaSIYYQPQ== From: "Reinhard Kotucha" To: Reply-To: "Mailing list for the LaTeX3 project" Status: R X-Status: X-Keywords: X-UID: 4636 This is a multi-part message in MIME format. ------_=_NextPart_001_01C342B5.F8F7A980 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, is it possible that LaTeX3 maintains a stack which holds the \input files? TeX3 provides a primitive \inputlineno but I'd like to have a macro \inputfile which expands to the name of the file that is currently read. It's quite similar to \@currenvir (and might share some code). This is very useful if one has to pass information from LaTeX to another program. Regards, Reinhard -- -------------------------------------------------------------------------= --- Reinhard Kotucha Phone: = +49-511-27060390 Marschnerstr. 25 D-30167 Hannover = mailto:reinhard.kotucha@web.de -------------------------------------------------------------------------= --- Microsoft isn't the answer. Microsoft is the question, and the answer is = NO. -------------------------------------------------------------------------= --- ------_=_NextPart_001_01C342B5.F8F7A980 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable \input

Hi,
is it possible that LaTeX3 maintains a stack which = holds the \input
files?  TeX3 provides a primitive \inputlineno = but I'd like to have a
macro \inputfile which expands to the name of the = file that is
currently read.

It's quite similar to \@currenvir (and might share = some code).

This is very useful if one has to pass information = from LaTeX to
another program.

Regards,
  Reinhard

--
----------------------------------------------------------------= ------------
Reinhard = Kotucha           =             &= nbsp;           &n= bsp; Phone: +49-511-27060390
Marschnerstr. 25
D-30167 = Hannover           = ;            =        mailto:reinhard.kotucha@web.de
----------------------------------------------------------------= ------------
Microsoft isn't the answer. Microsoft is the = question, and the answer is NO.
----------------------------------------------------------------= ------------

------_=_NextPart_001_01C342B5.F8F7A980--