Displaying 4 results from an estimated 4 matches for "substcount".
Did you mean:
subaccount
2023 Oct 31
1
system()/system2() using short paths of commands on Windows?
...on
> works
>
> ./fmtuti~1 --version
> doesn't work
>
> The problem is in runscript.tlu, when it looks at "progname", it parses
> it assuming it is the full name, looking for "-sys" suffix, which won't
> be in the short name:
>
> progname, substcount = string.gsub(progname, '%-sys$', '')
> local sysprog = (substcount > 0) -- true if there was a -sys suffix removed
>
> and it does further processing using the program name.
>
> This has to be fixed on the luatex end, it must be able to work with
> short path...
2023 Oct 31
1
system()/system2() using short paths of commands on Windows?
...t is not an R problem
./fmtutil-sys.exe --version
works
./fmtuti~1 --version
doesn't work
The problem is in runscript.tlu, when it looks at "progname", it parses
it assuming it is the full name, looking for "-sys" suffix, which won't
be in the short name:
progname, substcount = string.gsub(progname, '%-sys$', '')
local sysprog = (substcount > 0) -- true if there was a -sys suffix removed
and it does further processing using the program name.
This has to be fixed on the luatex end, it must be able to work with
short paths (e.g. expand it appropriate...
2023 Nov 16
1
system()/system2() using short paths of commands on Windows?
.../fmtuti~1 --version
>> doesn't work
>>
>> The problem is in runscript.tlu, when it looks at "progname", it parses
>> it assuming it is the full name, looking for "-sys" suffix, which won't
>> be in the short name:
>>
>> progname, substcount = string.gsub(progname, '%-sys$', '')
>> local sysprog = (substcount > 0) -- true if there was a -sys suffix
>> removed
>>
>> and it does further processing using the program name.
>>
>> This has to be fixed on the luatex end, it must be able...
2023 Oct 30
1
system()/system2() using short paths of commands on Windows?
Sure. I'm not sure if it's possible to make it easier to reproduce, but for
now the example would require installing TinyTeX (via
tinytex::install_tinytex(), which can be later uninstalled cleanly via
tinytex::uninstall_tinytex() after you finish the investigation). Then run:
system2('fmtutil-sys', '--all')
# or tinytex:::fmtutil() if fmtutil-sys.exe is not on PATH