Closed ADavidTR closed 3 years ago
Thank you for reaching out for help @ADavidTR , and I'm sorry it took this many trial-and-error passes to get latexml working under Windows. We don't have an active Windows maintainer so it's always a bit of a tricky situation with both maintaining the installation and helping users with non-standard issues under that OS. A big hope was that the Chocolatey package just works out of the box, and maybe reporting a specific issue with it could get that set of maintainers to try and resolve the problem.
One of the messages suggests a problem with the executables in the path, likely in our calls to kpsewhich
to find packages distributed in MikTeX in your case. The error in question being:
"C:\Program" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
I am wondering if this is a simple problem related to escaping the space in Program Files
to Program\ Files
so that the executable can get resolved correctly... But this will be tricky to debug without access to the actual machine. Seeing how the basic tests are passing, I would guess the Perl parts are actually working OK, and this may be related to not finding MikTeX directives. I would suggest investigating if you can call kpsewhich
from a power shell, and checking its full path.
Also, it may help to share what the paths in $Env:Path
are, again by calling that in the power shell.
Was there anything special to how you installed miktex? Ah, and now I am actually reading that you also have texlive installed on the windows machine. I am actually not sure what latexml will do in a case where both distributions are installed, ideally that is left to kpsewhich
to figure out, as we always use it to interface with the main tex installation.
I couldn't install it in Windows 10 either.
Before attempting to install it I already had installed MiKTeX, which is the first prerequisite according to the documentation:
I had not to install ImageMagick for the first option, however, I found Strawberry Perl easier to install since it has a concise documentation, opposite to Coco's. So I installed ImageMagick and proceed to run the following command: cpan LaTeXML
.
The installation took a long time in my opinion. But once it finished I found a message reading: .
I've tried to check for the environment variable by running the following command: latexml --version
.
When I first saw that I thought the installation didn't succeed at all.
There was another installation option to attempt so I didn't check the first installation's logs.
Then I've installed Choco and run: choco install latexml
. But it didn't succeed either.
I've tried to look for information in Google about this problem but I couldn't find anything, so I ended up using Docker.
The whole logs from the first installation are:
Installation:
Testing:
Hi there, I've been trying to install LaTeXML for Windows 10 for about two weeks now, and have been unsuccessful so far; I've used both Perl and Chocolatey, downloaded the tar.gz file, the ImageMagick binary and all the other pre-requisites listed in the homepage, yet the installation using "cpan LaTeXML" has consistently failed. It fails some of the tests while installing; here's the transcription, if it's of any help.
I have both MiKTeX and TeXLive. I'm not familiar with programming, so I have looked everywhere for threads about similar issues; I have tried the solutions that appeared to work in those threads, to no avail. I'd appreciate a little help for this hopeless novice.