This may seem like a very stupid question, but I can't work out how to identify a file to be inputed using \input in xelatex. I think I am doing the right thing, but for some reason it does not work.
My main file looks like this:
\documentclass{report}
\begin{document}
\input(testinput.tex)
\end{document}
I have a file called testinput.tex in the same directory. If, in that directory, I run xelatex it complains it cannot find the file, but runs fine if I type in the file's name.
This is XeTeX, Version 3.14159265-2.6-0.99996 (TeX Live 2016) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2017/01/01> patch level 3
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/report.cls
Document Class: report 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/size10.clo)) (./test.aux)
! I can't find file `(testinput.tex)'.
l.3 \input(testinput.tex)
(Press Enter to retry, or Control-D to exit)
Please type another input file name: testinput.tex
(./testinput.tex) [1] (./test.aux) )
Output written on test.pdf (1 page).
Transcript written on test.log.
I am baffled as to what I am doing wrong. I have tried this without the .tex extension and seen the same result.