Received: by nummer-3.proteosys id <01C19443.A83C700C@nummer-3.proteosys>; Thu, 3 Jan 2002 11:44:44 +0100 Return-Path: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C19443.A83C700C" x-vm-v5-data: ([nil nil nil nil nil nil nil nil nil][nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: Re: L3 suggestion: different file extension Date: Sun, 26 Apr 1992 19:38:51 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Dominik Wujastyk" Sender: "Mailing list for the LaTeX3 project" To: "Rainer M. Schoepf" Reply-To: "Mailing list for the LaTeX3 project" Status: R X-Status: X-Keywords: X-UID: 683 This is a multi-part message in MIME format. ------_=_NextPart_001_01C19443.A83C700C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable \begin{quotation} > > This may be a bit radical, but could it be possible for LaTeX files > > to have the extension .ltx instead of .tex? > ... > What should be the correct order of processing? > One solution if we encounter \input{foo} could be: > > - test for foo.ltx by appending .ltx > - if not found test for foo.tex by appending .tex > - if not found try native foo > > this may not work on every system. > > Alternatively we could first check if foo contains a `.' if so use it > directly, and otherwise try foo.ltx. > > Suggestions? \end{quotation} In EDMAC, John and I have allowed the user to specify, with a macro \extensionchar, a character to be used as an optional part of "aux" files. EDMAC's default is filename.1, filename.2, and so on. But if \extensionchar is set to "!", then files will be created as filename.!1, filename.!2, and so on. In other words, one can give the user a macro to specify those parts of file names which might be system- specific, like the "." in DOS. I'm not sure this has any relevance to L3, but I just mention it as an idea. Dominik ------_=_NextPart_001_01C19443.A83C700C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: L3 suggestion: different file extension

\begin{quotation}
 > > This may be a bit radical, but could = it be possible for LaTeX files
 > > to have the extension .ltx instead of = .tex?
 > ...

 > What should be the correct order of = processing?
 > One solution if we encounter \input{foo} = could be:
 >
 >    - test for foo.ltx by = appending .ltx
 >    - if not found test for = foo.tex by appending .tex
 >    - if not found try = native foo
 >
 > this may not work on every system.
 >
 > Alternatively we could first check if foo = contains a `.' if so use it
 > directly, and otherwise try = foo.ltx.
 >
 > Suggestions?
\end{quotation}

In EDMAC, John and I have allowed the user to specify, = with a macro
\extensionchar, a character to be used as an optional = part of "aux"
files.  EDMAC's default is filename.1, = filename.2, and so on.  But
if \extensionchar is set to "!", then files = will be created as
filename.!1, filename.!2, and so on.  In other = words, one can give the
user a macro to specify those parts of file names = which might be system-
specific, like the "." in DOS.

I'm not sure this has any relevance to L3, but I just = mention it as
an idea.

Dominik

------_=_NextPart_001_01C19443.A83C700C--