when calling MaTex
in MMA13.1
<< MaTeX`
I get this
AbsoluteFileName::zfname: The file name cannot be an empty string.
In MMA12.3 works fine?!
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityUpdate: Version 1.7.9 addresses this.
I expect that this is harmless and the package still works.
This is very likely because you have an invalid entry in your system PATH
, namely an empty entry. If you remove this empty entry from your path, the error message will go away. Note that on Windows there are two settings: the system PATH and the user PATH. Verify both.
The reason why this message appears only in 13.1 is that the messages issues by AbsoluteFileName
have changed again, and selective message suppression does not catch AbsoluteFileName::zfname
. In other programming languages one can generally count on a given error condition triggering the same exception in all versions. One can catch one specific exception and handle it appropriately. It may seem like one could do the same in Mathematica by detecting specific messages. But message tags change frequently and without notice from version to version. Messages seem to be treated as something to be read by a user, and not something to be handled programmatically.
ResourceFunction["MaTeXInstall"][]
is not working? it gives : First::nofirst: {} has zero length and no first element.
and URLSave::invurl: Lookup[First[Lookup[FunctionRepository
$40be1885ce094c549834d7fc6e0831bbjson$38243,assets]],browser_download_url] is not a valid URL
$\endgroup$
Aug 30, 2022 at 10:31