[texworks] Still an un resolved problem

Alain Delmotte esperanto at swing.be
Sat Jul 11 08:58:52 CEST 2009


Thanks Reinhard for the precision.
I thought \input and \include worked the same.

As for Synctex, with \include{name} on multiple files, it works.

Alain

Reinhard Kotucha a écrit :
> 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
> only.
>
> 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.
>
> Regards,
>   Reinhard
>
>   



More information about the texworks mailing list