I want to define a macro that takes two inputs
\Make{a}{b~\theint}
where the macro defined by
```
\newcounter{int}
\newcommand{\Make}[2][]{
\thispagestyle{empty}
\par\medskip{
\textbf{\small #2 -- Fall 2020} \par
\setcounter{int}{1}
\loop
\input{#1}
\newpage
\addtocounter{int}{1}\ifnum\value{int}<8
\repeat
} \rmfamily}{\medskip}
```
but I'm getting the error that the file in the input command is not found
~
is a non-breaking space (a command to produce a space in the PDF) and it doesn't work as a “general string”. Use{b \theint}
insteadb~\theint
wouldn't work in the file name as seems to be the intent here)