LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
LARONDE Thierry <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Sat, 29 Jul 2023 09:29:05 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
On Sat, Jul 29, 2023 at 08:15:19AM +0100, Joseph Wright wrote:
> On 29/07/2023 07:36, LARONDE Thierry wrote:
> > On Fri, Jul 28, 2023 at 07:53:19PM +0100, David Carlisle wrote:
> > > On 28/07/2023 18:57, LARONDE Thierry wrote:
> > > 
> 
> > 1) Is LaTeX expecting to be able to "\input" a file without extension?
> > For me, "\input" could only be a tex file; so the extension was
> > mandatory...
> 
> No. \input is the only way to read a file 'here'. Most obviously, many users
> reserve .tex for plain TeX files and use .ltx for LaTeX sources. But to have
> systematic file naming you need different extensions, e.g. LaTeX packages
> are .sty, classes are .cls, etc., all of which are ultimately used with the
> \input primitive.

My problem is not for a file with an extension. But for a file given
without an extension. Is "\input README" expected to work for a filename
"README", without an extension, or only with the added ".tex" extension?

And from the excerpt given in another message (texmf.cnf), it seems
that it is allowed to even add a ".tex" to a file with already an
extension: "a.b.tex"???!!!
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

ATOM RSS1 RSS2