Problema al ejecutar pdflatex

Sep 30 2020

Soy nuevo en el látex y tengo algunos problemas cuando intento ejecutar un código de látex en TexStudio.
Escribí el siguiente programa de látex en TexStudio:

\documentclass{article}
\begin{document}
    Hello world
\end{document}

y cuando intento ejecutarlo, TexStudio me muestra el siguiente error:

Could not start Build & View:PdfLatex:
pdflatex.exe -synctex=1 -interaction=nonstopmode
"<FileName>".tex

Estoy usando TexLive en Windows.
Ya agregué C: \ texlive \ 2020 \ bin \ win32 a la RUTA,
y en TexStudio -> Opciones -> Configurar TexStudio -> Comandos -> PdfLatex, escribí:

pdflatex.exe -synctex=1 -interaction=nonstopmode %.tex

Cuando ejecuto la prueba pdflatex en el cmd obtengo:

This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/W32TeX) (preloaded format=pdflatex)
 restricted \write18 enabled.

kpathsea: Running mktexfmt pdflatex.fmt

The command name is C:\texlive\2020\bin\win32\mktexfmt
Running the command C:\texlive\2020\bin\win32\fmtutil-user.exe
C:\texlive\2020\bin\win32\runscript.tlu:935: C:\texlive\2020\bin\win32\runscript.tlu:858: no appropriate script or program found: fmtutil
I can't find the format file `pdflatex.fmt'!

¿Alguien puede ayudarme?

Respuestas

Freud Sep 30 2020 at 19:11

Intenté usar MikTex en lugar de TexLive y ahora funciona.