[texworks] Still an un resolved problem

Reinhard Kotucha reinhard.kotucha at web.de
Sat Jul 11 00:25:08 CEST 2009

On 10 July 2009 Alain Delmotte wrote:

 > But, as far as I remember, one should *not* give the extension (.tex) 
 > with \input. I have had cases were at typesetting an error occurred 
 > saying that the file name.tex.tex was not found.

No, \input always accepts an extension.  And it doesn't append .tex to
a filename which has an extension already.  What you are talking about
is \include.  The latter is a LaTeX macro which expects the basename

Suppose that \input doesn't allow you to specify any extension, how
could you \input{name.aux}?  Note that \input is a primitive and
\include, \includegraphics, ... are macros depending on it.

If the argument of \input doesn't have an extension, ".tex" is added
automatically.   However, I think that this was a very bad decision.


Reinhard Kotucha			              Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.

More information about the texworks mailing list