Por que o MikTex TeXworks não converte um documento de látex em .pdf?

0

Eu criei um documento básico em Latex com base em um exemplo que encontrei on-line:

\documentclass{article}
\usepackage{booktabs}
\begin{document}

\begin{tabular}
Field Name:&FIRST_FIELD
\end{tabular}
\begin{tabular}
Field Name:&SECOND_FIELD
\end{tabular}

\end{document}

Eu instalei a versão mais recente do MikTex para Windows, mas toda vez que eu corro e seleciono 'pdfLatex' no menu suspenso e clico no botão verde de reprodução, recebo esta mensagem:

Sorry, but "MiKTeX Configuration Utility" did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

C:/Users/jonc/AppData/Local/MiKTeX/2.9/miktex/log/initexmf.log

You may want to visit the MiKTeX project page (http://miktex.org), if you need help.

Sorry, but C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\miktex-pdftex.exe did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

C:/Users/jonc/AppData/Local/MiKTeX/2.9/miktex/log/miktex-pdftex.log

You may want to visit the MiKTeX project page (http://miktex.org), if you need help.

Esse primeiro log sugere que há um erro de permissão, mas não tenho ideia de com qual arquivo ele tem um problema:

2015-10-14 11:01:23,455+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.5700 (MiKTeX 2.9)
2015-10-14 11:01:23,472+0100 INFO  initexmf - Skipping user root directory (C:\Users\jonc\AppData\Roaming\MiKTeX.9)...
2015-10-14 11:01:23,472+0100 INFO  initexmf - Skipping user root directory (C:\Users\jonc\AppData\Local\MiKTeX.9)...
2015-10-14 11:01:23,473+0100 INFO  initexmf - Creating fndb for common root directory (C:\ProgramData\MiKTeX.9)...
2015-10-14 11:01:23,489+0100 INFO  initexmf - Creating fndb for common root directory ("C:\Program Files (x86)\MiKTeX 2.9")...
2015-10-14 11:01:25,303+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.5700 (MiKTeX 2.9)
2015-10-14 11:01:25,320+0100 INFO  initexmf - Making format links...
2015-10-14 11:01:25,357+0100 INFO  initexmf - Making script links...
2015-10-14 11:01:25,484+0100 INFO  initexmf -   C:\Program Files (x86)\MiKTeX 2.9\miktex/bin\miktex-taskbar-icon.exe
2015-10-14 11:01:25,488+0100 INFO  initexmf -   C:\Program Files (x86)\MiKTeX 2.9\miktex/bin\miktex-update.exe
2015-10-14 11:01:25,582+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.5700 (MiKTeX 2.9)
2015-10-14 11:01:25,597+0100 INFO  initexmf - Creating language.dat, language.dat.lua and language.def...
2015-10-14 11:01:25,618+0100 INFO  initexmf - running: mkfntmap --verbose --admin
2015-10-14 11:01:56,061+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.5700 (MiKTeX 2.9)
2015-10-14 11:01:56,093+0100 FATAL initexmf - Windows API error 32: The process cannot access the file because it is being used by another process.

2015-10-14 11:01:56,093+0100 FATAL initexmf - Info: C:\Users\jonc\AppData\Local\MiKTeX.9\miktex/data/led5868e95e95ecff33e8315a05cb58f3.fndb
2015-10-14 11:01:56,093+0100 FATAL initexmf - Source: Libraries\MiKTeX\Core\win\winFile.cpp
2015-10-14 11:01:56,093+0100 FATAL initexmf - Line: 520
2015-10-14 11:01:56,242+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.5700 (MiKTeX 2.9)
2015-10-14 11:01:56,274+0100 FATAL initexmf - Windows API error 32: The process cannot access the file because it is being used by another process.

2015-10-14 11:01:56,274+0100 FATAL initexmf - Info: C:\Users\jonc\AppData\Local\MiKTeX.9\miktex/data/led5868e95e95ecff33e8315a05cb58f3.fndb
2015-10-14 11:01:56,274+0100 FATAL initexmf - Source: Libraries\MiKTeX\Core\win\winFile.cpp
2015-10-14 11:01:56,274+0100 FATAL initexmf - Line: 520
2015-10-14 11:02:07,626+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.5700 (MiKTeX 2.9)
2015-10-14 11:02:07,659+0100 FATAL initexmf - Windows API error 32: The process cannot access the file because it is being used by another process.

2015-10-14 11:02:07,659+0100 FATAL initexmf - Info: C:\Users\jonc\AppData\Local\MiKTeX.9\miktex/data/led5868e95e95ecff33e8315a05cb58f3.fndb
2015-10-14 11:02:07,659+0100 FATAL initexmf - Source: Libraries\MiKTeX\Core\win\winFile.cpp
2015-10-14 11:02:07,659+0100 FATAL initexmf - Line: 520

O que estou perdendo?

    
por Jon Cage 14.10.2015 / 12:11

1 resposta

0

Gerenciado para executar e executar repetidamente MiKTeX Update (Admin) no menu Iniciar. Eu acho que quando eu fiz isso pela primeira vez, o software de atualização encontrou um distribuidor para o qual ele não podia atualizar e depois falhou silenciosamente.

O truque é continuar executando a atualização até que não haja pacotes listados como precisando ser atualizados.

    
por 14.10.2015 / 18:06