Problem z uruchomieniem pdflatex

Sep 30 2020

Jestem nowy w lateksie i mam pewne problemy, gdy próbuję uruchomić kod lateksowy w TexStudio.
Napisałem następujący program lateksowy w TexStudio:

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

a kiedy próbuję go uruchomić, TexStudio wyświetla następujący błąd:

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

Używam TexLive w systemie Windows.
Dodałem już C: \ texlive \ 2020 \ bin \ win32 do PATH,
aw TexStudio -> Options -> Configure TexStudio -> Commands -> PdfLatex napisałem:

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

Po uruchomieniu testu pdflatex w cmd otrzymuję:

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'!

Czy ktoś może mi pomóc?

Odpowiedzi

Freud Sep 30 2020 at 19:11

Próbowałem użyć MikTex zamiast TexLive i teraz działa.