getting latex to input a file that it then ignores

Mike Marchywka marchywka at hotmail.com
Sun Oct 17 22:26:09 CEST 2021


Thanks, I had tried catchfile before but that did not
immediately work although I use it elsewhere.
The "--recorder" flag seems to help.

 Mike Marchywka 
306 Charles Cox Drive 
Canton, GA 30115
470-758-0799
404-788-1216 




________________________________________
From: texhax <texhax-bounces+marchywka=hotmail.com at tug.org> on behalf of Herbert Voss <Herbert.Voss at fu-berlin.de>
Sent: Sunday, October 17, 2021 3:23 PM
To: texhax at tug.org
Subject: Re: getting latex to input a file that it then ignores



Am 17.10.21 um 21:18 schrieb Mike Marchywka:
> 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.


See package catchfile

Herbert

>
> \newcommand{\mjmtol}[1] {}
>
> \mjmtol{
> \verbatiminput{xxx.R}
> }
>
>




More information about the texhax mailing list.