getting latex to input a file that it then ignores

David Carlisle d.p.carlisle at gmail.com
Sun Oct 17 21:41:05 CEST 2021


do you need to input it at all, if you just access it with `\openin`
or a latex wrapper such as

`\IfFileExists{testfile}{}{}`

if you use `pdflatex --recorder` that is enough for the file access to
be listed.

David

On Sun, 17 Oct 2021 at 20:20, Mike Marchywka <marchywka at hotmail.com> wrote:
>
>
> This may sound dumb, maybe there is an alternative, but
> I'm trying to get latex to read a file that it then ignores so that
> my packaging script can see that latex needs it and archive it with
> the release document latex produces. The immediate problem is
> to include an "R" script. If mjmtol in the code below  uses #1,
> then xxx.R is picked up
> as required by latex but with the definition below it never
> seems to read it. Is there some simple way to do this?
> Thanks.
>
> \newcommand{\mjmtol}[1] {}
>
> \mjmtol{
> \verbatiminput{xxx.R}
> }
>
>
> --
>
> mike marchywka
> 306 charles cox
> canton GA 30115
> USA, Earth
> marchywka at hotmail.com
> 404-788-1216
> ORCID: 0000-0001-9237-455X


More information about the texhax mailing list.