no appropriate script or program found: fmtutil

Yihui Xie xie at yihui.name
Tue Nov 7 17:21:44 CET 2023


Thanks Jonathan! I also saw that commit before I reported the issue.
I'm not sure if it was the cause. If arg[0] is fmtutil-sys.exe,
gsub('%.[^.]*$', '') and gsub('%.exe$', '') should give the same
result, i.e., fmtutil-sys. Anyway, I can definitely test it when I get
my Windows machine back.

Regards,
Yihui
--
https://yihui.org

On Tue, Nov 7, 2023 at 4:38 AM Jonathan Fine <jfine2358 at gmail.com> wrote:
>
> Hi
>
> I've dug into the SVN changelog a bit. Perhaps reverting a recent commit will fix the problem sufficiently to allow Quarto to work on Windows.
>
> Here's what I found. The following change to runscript.tlu was made on 2023-10-18, which coincides with the date of 'about three weeks ago' in Yihui Xie's excellent report.
>
> < local progname, substcount = string.lower(arg[0]):gsub('^.*[\\/]', ''):gsub('%.[^.]*$', '')
> > local progname, substcount = string.lower(arg[0]):gsub('^.*[\\/]', ''):gsub('%.exe$', '')
>
> For this diff the committer is 'siepo' and the message is 'Patch Akira for runscript.tlu for including original extension'
>
> Relevant URLs are:
> https://tug.org/svn/texlive?revision=68579&view=revision
> https://tug.org/svn/texlive/trunk/Master/bin/windows/runscript.tlu?r1=65931&r2=68579
> https://tug.org/svn/texlive/trunk/Master/bin/windows/runscript.tlu?view=log
>
> with kind regards
>
> Jonathan
>
>
>



More information about the tex-live mailing list.