At the moment I’m having a problem when trying to view my LaTeX file as a PDF. Whether I do it internal or external I both the error «File not found.».
I have no idea what file it means. I’ve read somewhere it has to with my Acrobat Reader, but I still can’t get it fixed. And I think it’s worth mentioning that I work on Windows 7, as I’ve also read that Texmaker on Windows has some bugs.
Any help will be appreciated!
Torbjørn T.
204k15 gold badges382 silver badges569 bronze badges
asked Feb 26, 2012 at 22:50
4
The «View PDF» button in TeXmaker only opens an already existing file, that has the same basename as your .tex
file. Meaning, if you’re writing in a file called MyReport.tex
, it will look for a file called MyReport.pdf
in the same folder as the .tex
file, and open this in the specified viewer.
To create a PDF from the source, you have to compile the document. The easiest way to do this is usually to use pdflatex
, which in TeXmaker is called with Tools —> pdfLaTeX (shortcut F6), after which you can view the PDF (shortcut F7). There are also buttons on the toolbar for both
answered Feb 26, 2012 at 23:09
Torbjørn T.Torbjørn T.
204k15 gold badges382 silver badges569 bronze badges
6
For anyone still struggling with this problem, this is what worked for me.
I was using includeonlyframes{current}
to compile a single frame. This allows me to compile only frames with the label current. However, none of my frames were labelled as current. Consequently, when I do QuickBuild, TexMaker cannot find any frames with the label current and thus does not generate any pdf (although it compiles). As a result, I got the file not found error, which essentially means that there is not pdf in the first place because of the way I compiled.
answered Nov 2, 2020 at 7:35
You must log in to answer this question.
Not the answer you’re looking for? Browse other questions tagged
.
Not the answer you’re looking for? Browse other questions tagged
.
Содержание
- Texmaker файл с логом не найден windows
- Шаг 9.2
- Шаг 9.3
- Шаг 9.4
- Шаг 9.5
- Шаг 9.6
- Шаг 9.7
- Texmaker выступает (Windows-версия) — первый использовать — ошибка: лог-файл не найден!
- Что я проверил
- После прочтения ответа
- Что я узнал
- LaTeX.org
- New: French LaTeX forum • Brazilian Portuguese LaTeX forum
- LaTeX forum ⇒ General ⇒ Texmaker Error log file not found Topic is solved
- Texmaker Error log file not found
- Texmaker Error
- Texmaker Error log file not found
- Texmaker Error log file not found
- Texmaker Error log file not found
- Texmaker-log file not found
Texmaker файл с логом не найден windows
«The last, but not the least» – последний по порядку, но не по значению, этап.
«Крутые» TeX-писатели могут пользоваться только «Блокнотом» и средствами командной строки. Дай-то Бог дожить вам до такого уровня мастерства! Но в начале большого пути начинающим пользователям MiKTeX лучше использовать какую-нибудь программу для работы с tex-файлами. Программ-оболочек на свете существует достаточно много. Я перепробовал несколько – буржуйских и русскоязычных, бесплатных и не очень. И, в конце концов, у меня прижился «Texmaker» – замечательная, на мой взгляд, программа, в том числе, и для начинающих. Кстати, бесплатная! Спасибо вам, люди добрые!
Открываем в браузере родной сайт «Texmaker«, и находим ссылку на последнюю версию программы. Учитываем, что программа обновляется довольно шустро, так что версия «3.34» на скриншоте всяко не совпадёт с последней версией.
Шаг 9.2
Выбираем для загрузки инсталлятор последней версии «Texmaker«.
Шаг 9.3
Сохраняем exe-файл инсталлятора.
Выбираем место, куда будем закачивать exe-файл.
Загружаем инсталлятор программы «Texmaker 3.34«.
Завершаем загрузку exe-файла.
Шаг 9.4
Начинаем установку программы, запуская «texmakerwin32_install.exe».
Нажимаем кнопку «Выполнить».
Не возражаем против условий лицензионного соглашения.
По умолчанию программа устанавливается в папку «C:Program FilesTexmaker«.
Устанавливаю программу в другую папку (опять же по желанию).
Запускаем процесс установки.
Завершаем установку программы «Texmaker 3.34«.
Шаг 9.5
Запускаем программу «Texmaker 3.34«.
Шаг 9.6
Изменяем интерфейс программы с «модерна» на «классику» (по желанию).
Шаг 9.7
Начинаем настройку «Texmaker 3.34«
Выбираем пункт меню «Настроить Texmaker»
Если MiKTeX был установлен в папку «C:Miktex», то в текстовом окне «Просмотр DVI» вписываем строку «C:Miktexmiktexbinyap.exe» %.dvi
Если программа «GSview» (см. Этап N 4) была установлена в папку «C:gsgsview», то в текстовом окне «Просмотр PS» вписываем строку «C:gsgsviewgsviewgsview32.exe» %.ps
Мой опыт работы в «Texmaker» с использованием встроенного («Built-in Viewer») просмотрщика pdf-файлов оказался неудачным. Просмотр больших pdf-файлов приводил к тому, что «Texmaker» регулярно «заваливался». Может быть мне не повезло, или это «косяк» самого «Texmaker» – выяснять не стал, а просто прописал в настройках внешнюю программу «Foxit Reader» для просмотра формируемых pdf-файлов. После чего все проблемы исчезли аки дым.
Если программа «Ghostscript» (см. Этап N 3) была установлена в папку «C:gsgs», то в текстовом окне «Ggostscript» вписываем строку «C:gsgsbingswin32c.exe»
В левой части панели «Настроить Texmaker» выбираем пункт меню «Быстрая сборка»
и в качестве «Команды быстрой сборки» выбираем следующую комбинацию «PdfLaTeX + View PDF».
Завершая процесс основной настройки «Texmaker«, нажимаем кнопку «OK».
Вот и всё, господа аспиранты – девятый уровень пройден. Game over!
А дальше – уже сами, сами, сами.
Скажу напоследок, что вся описанная 9-этапная процедура установки «MiKTeX 2.9» была неоднократно проверена на различных компьютерах и ноутбуках с установленной ОС «Windows XP SP3». На более свежих версиях «Windows» процедура не тестировалась. Ну, так молодым исследователям и естествоиспытателям сам Бог велел всё это проверить!
Texmaker выступает (Windows-версия) — первый использовать — ошибка: лог-файл не найден!
Это мой первый раз, используя редактор LaTeX.
Я установил texmaker выступает что позволяет использовать папку по умолчанию на диск C.
Версии Программного Обеспечения
- ОС Windows: 7 Ultimate 64-разрядная
- Texmaker выступает 3.4.1 для Windows
Затем я сделал местное руководство по использованию texmaker выступает` (там будет использовать ссылку на это, но он мертв)
В принципе создать простой документ Здравствуйте и сохранить его.
Когда я пошел, чтобы обработать файл
Что я проверил
Я проверил настройки (Настройки -> настроить texmaker) и не нашел способа для файлов журнала.
Я проверил лог-файл при файлов C:Program (х86) texmaker выступает и не нашел.
Я проверил путь войти в реестр Windows с помощью команды regedit и ничего не нашли.
Я проверил вопросы texmaker выступает и нашли Выпуск 97, но это не поможет.
После прочтения ответа
Я установил программы с правами администратора (это’t работа как пользователя) и выбрать параметры по умолчанию. После установки программы я смог создать файл PDF с помощью texmaker выступает.
Кроме того, правильно установив опции просмотра PDF
У меня была возможность предварительного просмотра PDF в texmaker выступает
Что я узнал
Texmaker выступает — это редактор LaTeX, которая создает файл, содержащий латекс разметки.
Программы это программа, которая преобразует латекс разметки в выходной формат, такой как PDF.
Вы также должны установить «Текс» распределения, т. е. программы или дистрибутива. Распределение «Текс» содержит все необходимые механизмы для обработки исходного кода и производить верстаю документы; texmaker является только передняя часть.
Это не достаточно просто иметь Текс распределение установлен, необходимо также добавить программы bin в переменную Path или изменять команды в конфигурации, чтобы использовать полный путь к каждому из исполняемых файлов (т. е., если посмотреть на команды называют их просто на «латекса» и «Ну pdflatex-то» и т. д. без путь к исполняемому файлу).
В моем случае у меня программы установлены и работают в другом редакторе, но это не будет работать в texmaker — добавление пути к bin в окне Мой путь переменной среды будет решен вопрос для меня. Для меня этот путь:
C:Program файлыпрограммы 2.9программыОГРНх64
Если вы все еще получаю ошибку: лог-файл не найден!, при использовании texmaker выступает, когда вы сделали все (установленные программы, установленные texmaker выступает, и проверено, если бинарных для программы в среде Windows Настройка) тогда просто закройте программе texmaker и открыть ее от имени администратора. Щелкните правой кнопкой мыши на исполняемый файл для texmaker выступает и «Запуск от имени администратора» по. Это работало для меня!
Это возможно при использовании версии вариант texmaker, основанный на QT5, что вы получаете эту ошибку, даже с тобой Текс имеющихся на пути. Убедитесь, что документ, который вы пытаетесь скомпилировать имеет .префикс Текс, то он не будет работать иначе.
Я использую портативную версию программы в texmaker. Перед использованием программе texmaker вам нужно нажать на окно программы, затем появляется синее поле внизу вашей страницы. Затем вы можете возобновить программе texmaker и он будет работать.
Это также происходит, если у вас уже есть установку программы, но по каким-то причинам он ломается. Как это произошло со мной этим утром :с исправить это просто, как программы для обновления. Именно тогда скажет вам, есть проблема, как это может’т найти себя, но предлагает решить проблему. Обновить все файлы, которые вы хотите обновить а вуаля, проблема решена.
Другой альтернативной причиной этой ошибки является имя каталога слишком долго! (Это случилось со мной). Если это так, изменить папки на рабочем столе и все должно пойти правильно.
Я нашел обходной путь!
Я имел эту проблему с TeXStudio и texmaker выступает, (на 6 месяцев+). Я вручную обновил всевозможные переменные среды, удалил, переустановил, и обновляется каждый пакет программы insatalled и побежал, как админ, (совершенно плохая идея), сделал общий установки одного пользователя и т. д.
И еще, я все еще есть ошибки — значит, это’s не действительно или texmaker выступает или TexStudio ошибка .
Что, кажется, работает для меня, сейчас, является сброс конфигурации, создавая минимум документов, и после перекомпиляции с самого простого компилятора латекс, (хотя UI). Затем я иду через каждый из различных компиляторов, пока я для xelatex и, наконец, LuaLaTeX.
Я не знаю, почему, но я предполагаю, что обычный компилятор латекс делает некоторые инициализации вещи, что другие компиляторы проблемы. (Время для xelatex и составители LUALaTeX, как представляется, отсутствует инициализация шаг — и я действительно думаю, что это дефект). Я называю шаманством.
LaTeX.org
We love good questions
New: French LaTeX forum • Brazilian Portuguese LaTeX forum
LaTeX forum ⇒ General ⇒ Texmaker Error log file not found Topic is solved
Texmaker Error log file not found
Post by rf1970 » Sat Dec 17, 2016 3:34 am
I am new to Latex.
I have tried to create a simple document using Texmaker quick wizard.
The code is attached.
After compilation, the following error came
log file not found.
I have installed MikTex 2.9 version for windows 7.
Texmaker Error
Post by Stefan Kottwitz » Sat Dec 17, 2016 8:33 am
Welcome to the forum!
That code is ok. Did you see any other error message before «log file not found»? Usually I would ask for the log file. Perhaps post a screenshot if we could possibly see more then?
Texmaker Error log file not found
Post by Johannes_B » Sat Dec 17, 2016 9:48 am
Texmaker Error log file not found
Post by rf1970 » Sat Dec 17, 2016 11:17 am
I have attached the screen shot of the pdflatex executed in dos command line (screen1).
The screen shot 2, shows the error message when pdflatex compilation done.
Waiting for the reply..
Thanks and Regards,
Texmaker Error log file not found
Post by Stefan Kottwitz » Sat Dec 17, 2016 11:30 am
Go through your Texmaker options/settings, one by one. Perhaps post them here, maybe as a screenshot again. I assume there’s a setting that lets Texmaker search in the wrong folder, such as -output-directory=. or a build subdirectory has been set.
Texmaker-log file not found
I encountered a problem when trying to run pdfLaTeX using Texmaker: I get
for the test «hello world» script.
I tried reinstalling MikTeX and Texmaker, but still get the same problem.
Anybody has any idea?
я столкнулся с проблемой при попытке запустить pdfLaTeX с помощью Texmaker: Я получаю файл
для теста «привет мир» сценарий.
Я попытался переустановить MikTeX и Texmaker, но все равно получаю ту же проблему.
У кого-нибудь есть идеи?
Создан 04 июн. 13 2013-06-04 15:33:14 user31747
Welcome to TeX.SX! You can have a look on [our starter guide](http://meta.tex.stackexchange.com/q/1436) to familiarize yourself further with our format. Did you restart PC to take the Path of miktex bin into effect after MiKTeX installation ?. Verify on [command line window](http://en.wikipedia.org/wiki/File:Command_Prompt.png) by typing ‘pdflatex sample2e’ to get a ‘sample2e.pdf’ document to ensure TeX distribution installed properly. BTW Are you using latest [version TeXmaker](http://www.xm1math.net/texmaker/download.html). Save the filename as ‘filename.tex’ with ‘.tex’ extension – texenthusiast 04 июн. 13 2013-06-04 16:02:47
I encounter the same problem today. It worked fine a few days ago. Suddenly it did not work anymore. When I typed ‘pdflatex sample2e’ on the command line window, it says ‘pdflatex is not recognized as an internal or external command, operable program or batch file’. – user32229 14 июн. 13 2013-06-14 03:36:54
You should try to [run TeXmaker as administrator](http://tex.stackexchange.com/a/114315/5764). Does that solve your problem? – Werner 08 июл. 13 2013-07-08 18:50:10
I have this problem, and can confirm that running TeXmaker (v 3.2 on Ubuntu 12.04) as root does not fix it. Several «log file not found» dialogs pop up, and then the PDF is successfully generated. What causes them? – Ian 04 авг. 13 2013-08-04 20:55:32
Did you installed TeX distribution correctly? TeXmaker is just a plain text editor, and it will not work without TeX distribution. – Ch’ en Meng 03 дек. 13 2013-12-03 14:28:18
@texenthusiast Your hint worked for me. Miktex was not in my %PATH% anymore. Stupid Windows has this stupid arbitrary max length for %PATH%. The max length is a major cause of PAIN when trying yo get programs like miktex to run because it won’t be able to add itself to the path, and then editors won’t work. If you have this problem, make sure to restart your editor after making the changes! – Domi 04 дек. 13 2013-12-04 05:08:14
@texenthusiast reason? 🙂 – Domi 04 дек. 13 2013-12-04 06:06:37
13 ответов
I have «log file not found» errors, but the PDF is successfully generated.
This appears to be caused by the -output-directory=/tmp option in my configuration for the latex executable. Texmaker looks for the logfile in the same directory as your source file.
I was able to solve this by creating an empty file in the same directory as my .tex file.
For example, if your file is called myfile.tex , create an empty file in that same directory called myfile.log . It suppresses the error.
You can also ln -s /tmp/myfile.log ./ in your project directory, which suppresses the error and shows you the error log if you make when you make errors.
I am using Texmaker v3.2 on Ubuntu 12.04.
Создан 04 авг. 13 2013-08-04 21:41:02 Ian
Have a look at solutions to common problems based on TeXmaker errors [Unable to compile TeXmaker 4.0.2 with MiKTeX 2.9](http://tex.stackexchange.com/a/113680/15717) – texenthusiast 04 авг. 13 2013-08-04 22:05:54
Thanks @texenthusiast but these don’t apply to me. I’m not on Windows, and my latex installation does indeed work — my PDFs were successfully generated (I just had to click through some annoying messageboxes). I’ve updated my answer with this info. – Ian 05 авг. 13 2013-08-05 12:45:37
BTW Just for info: Latest version of TeXmaker is [4.0.3](http://www.xm1math.net/texmaker/download.html) – texenthusiast 05 авг. 13 2013-08-05 14:03:04
Are you using that on Ubuntu? – Ian 05 авг. 13 2013-08-05 14:51:51
Yes, I downloaded from here http://www.xm1math.net/texmaker/download.html#linux. [Those errors from TeXmaker](http://tex.stackexchange.com/a/113680/15717) are relevant for any OS and some are specific to OS also. It’s a mix. – texenthusiast 05 авг. 13 2013-08-05 15:00:53
My solution is to clean additional files generated by the editor and restart the application! – Tung D. Nguyen 12 авг. 15 2015-08-12 03:57:25
Texmaker -> Options/Configure Texmaker/Commands/LaTeX.
click on the folder icon and find this file:
Texmaker -> Options/Configure Texmaker/Commands/PdfLaTeX.
Создан 30 окт. 13 2013-10-30 12:25:42 shinybasics
You’re a hero to me – galois 24 дек. 15 2015-12-24 03:48:58
As a newbie to LaTeX, I had just installed Texmaker on Windows 10 and not MikTeX. Installing MikTeX solved the ‘log file not found’ – Axel Bregnsbo 30 сен. 16 2016-09-30 21:21:27
I solved the problem in one hour by uninstalling MikTex and Texmaker and reinstalling it again . (after many hours struggling to solve the problem. )
Создан 03 дек. 13 2013-12-03 14:21:42 Sandra Martins
I already posted this in the comments, but it seems to be a common problem. As @texenthusiast mentions, you want to make sure that you can use pdflatex (or whatever LaTeX compiler you want to use) from command line. The following is for Windows:
First, test it out. Press Windows-Key + R (for Run). Then, type cmd to open Windows’ command line terminal. Now type pdflatex . If you, like some people in the comments, encounter command not found, below is a way to fix this. If this is not your problem, the following won’t help you (press CTRL + C to exit the program).
- Make sure, you have MiKTex (or some other TeX or LaTeX distribution) installed.
- Make sure that it’s binary folder is added to the Windows PATH. To do that, follow these instructions on how to edit your PATH system variable. It is a semicolon-separated list of folders from where it will look-up any executable file that you try to use (such as pdflatex). Add your MiKTex bin folder to it. For me, that is: c:Program FilesMiKTeX 2.9miktexbinx64 .
- The PATH variable (for some retarded reason) has a max length of 1000 characters or so. If you, like me, tend to exceed that limit, you might want to take a look at this SO discussion on the matter.
- Always restart your editor (or command line terminal) after changing system variables (they get loaded when a program starts).
Создан 04 дек. 13 2013-12-04 05:23:54 Domi
I was using LaTeX on ubuntu initially. It was running nicely but after installation of Mint I found this error and solved by installing TeX Live for linux platform from www.tug.org/texlive. TeX Live works as platform for TeXMaker.
Создан 02 май. 14 2014-05-02 07:35:57 pawan dubey
I had the same issues and I was able to get it to work as follows. Go to the following menu:
In the commands window I unchecked. ‘Use a «build» subdirectory for output files». Things started to work after that.
Создан 03 май. 14 2014-05-03 04:52:27 Harry
Welcome to TeX.SX! – Heiko Oberdiek 03 май. 14 2014-05-03 05:15:07
I had the same problem, but it was solved like this:
In Options->Commands, I didn’t use the complete paths, just the names of the commands for latex, pdflatex and xelatex.
I.e. I typed latex -interaction=nonstopmode %.tex and not C:MikTexmiktexbinlatex -interaction=nonstopmode %.tex
Before trying this, open command prompt and make sure these commands exist.
I am using Windows XP in an old machine (2007), but the latest versions of MiKTEX and texmaker.
I don’t know if this works for you, but you could try.
Создан 07 окт. 14 2014-10-07 11:18:51 Stergios
I solved this problem in latex version of Texmaker by putting a «.tex» extension on the filename, which texmaker doesn’t seem to do automatically with «Save As.»
So I had «document.v2» as a filename and it gave me this same error, but «document.v2.tex» resolved it.
Создан 10 апр. 15 2015-04-10 16:40:08 remington
I was able to resolve this error on Ubuntu 14.04 with TexMaker 4.1 by going to Options -> Settings File -> Reset Settings .
I figured there was a configuration file somewhere that was still linking to the old path after I deleted all the files except the .tex file in my project folder.
Создан 07 сен. 15 2015-09-07 23:17:38 awig
In my case, the problem was a double space in the name of the tex file. Replacing it with single space solved the problem completely.
Создан 23 май. 16 2016-05-23 08:25:20 fizban
On Windows, there seems to be an issue when the path variable contains a space character.
The defaults in Options -> Configure TexMaker -> Commands were:
- latex -interaction=nonstopmode %.tex and
- pdflatex -synctex=1 -interaction=nonstopmode %.tex
This should work because both binaries (latex and pdflatex) are in the PATH environment variable ( pdflatex can be run from cmd without the full path). However, and this is my best guess, it seems that Texmaker does not escape the paths properly and having a space in the path does not work. To work around this, you should provide the full commands in the settings, escaping them properly:
- «C:UsersYOUR_USERNAMEAppDataLocalProgramsMiKTeX 2.9miktexbinlatex.exe» -interaction=nonstopmode %.tex
- «C:UsersYOUR_USERNAMEAppDataLocalProgramsMiKTeX 2.9miktexbinpdflatex.exe» -synctex=1 -interaction=nonstopmode %.tex
These paths might differ for you, but at the very least, YOUR_USERNAME must be replaced of course. The main thing is that there is a space, namely in the MiKTeX 2.9 part, making it necessary that there are quotes ( » ) around the path to the binary.
On top of this, we created the .log file manually in the folder. I am not sure if this is necessary after fixing the aforementioned configuration issue.
Создан 07 июн. 16 2016-06-07 20:57:33 Luc
-
rf1970
- Posts: 5
- Joined: Sat Dec 17, 2016 3:11 am
Texmaker Error log file not found
Hello all,
I am new to Latex.
I have tried to create a simple document using Texmaker quick wizard.
The code is attached.
documentclass[12pt,a4paper]{article} usepackage[utf8]{inputenc} usepackage{amsmath} usepackage{amsfonts} usepackage{amssymb} usepackage{makeidx} usepackage{graphicx} usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} begin{document} Sample document end{document}
After compilation, the following error came
log file not found.
I have installed MikTex 2.9 version for windows 7.
Regards,
-
Stefan Kottwitz
- Site Admin
- Posts: 9997
- Joined: Mon Mar 10, 2008 9:44 pm
Texmaker Error
Postby Stefan Kottwitz » Sat Dec 17, 2016 8:33 am
Welcome to the forum!
That code is ok. Did you see any other error message before «log file not found»? Usually I would ask for the log file. Perhaps post a screenshot if we could possibly see more then?
Stefan
LaTeX.org admin
-
Johannes_B
- Site Moderator
- Posts: 4183
- Joined: Thu Nov 01, 2012 4:08 pm
Texmaker Error log file not found
Postby Johannes_B » Sat Dec 17, 2016 9:48 am
open a commandline and try to execute pdflatex
. What happens?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
-
rf1970
- Posts: 5
- Joined: Sat Dec 17, 2016 3:11 am
Texmaker Error log file not found
Postby rf1970 » Sat Dec 17, 2016 11:17 am
[img]
Screen2.png
screen1.png
[/img]
I have attached the screen shot of the pdflatex executed in dos command line (screen1).
The screen shot 2, shows the error message when pdflatex compilation done.
Waiting for the reply..
Thanks and Regards,
- Attachments
-
- Screen2.png (119.75 KiB) Viewed 75197 times
-
- screen1.png (48.89 KiB) Viewed 75197 times
-
Stefan Kottwitz
- Site Admin
- Posts: 9997
- Joined: Mon Mar 10, 2008 9:44 pm
Texmaker Error log file not found
Postby Stefan Kottwitz » Sat Dec 17, 2016 11:30 am
Go through your Texmaker options/settings, one by one. Perhaps post them here, maybe as a screenshot again. I assume there’s a setting that lets Texmaker search in the wrong folder, such as -output-directory=...
or a build subdirectory has been set.
It’s also possible that Texmaker simply doesn’t find pdflatex.exe. Check if Texmaker has the full path to pdflatex in its options, or ensure that the MikTeX binary path is in the Windows environment variables (such as C:Program FilesMiKTeX 2.9miktexbinx64).
Stefan
LaTeX.org admin
-
rf1970
- Posts: 5
- Joined: Sat Dec 17, 2016 3:11 am
Texmaker Error log file not found
Postby rf1970 » Sat Dec 17, 2016 11:40 am
- screen3.png (143.6 KiB) Viewed 75191 times
I have enclosed the options screen of the TexMaker.
Thanks & Regards,
-
Stefan Kottwitz
- Site Admin
- Posts: 9997
- Joined: Mon Mar 10, 2008 9:44 pm
Texmaker Error Topic is solved
Postby Stefan Kottwitz » Sat Dec 17, 2016 12:46 pm
I would try replacing pdflatex by «C:/Program Files/MiKTeX 2.9/miktex/bin/pdflatex», similar for latex.
Stefan
LaTeX.org admin
-
rf1970
- Posts: 5
- Joined: Sat Dec 17, 2016 3:11 am
Texmaker Error log file not found
Postby rf1970 » Sat Dec 17, 2016 5:05 pm
Stefan Kottwitz wrote:I would try replacing pdflatex by «C:/Program Files/MiKTeX 2.9/miktex/bin/pdflatex», similar for latex.
Stefan
I have provided the path of Latex and pdflatex in the options.
It worked fine.
Thanks a lot!!
Roy
PROBLEM
Suddently I get a „File not found“ error when I run Texmaker 5.0.4. Currently, I’m using Miktex 20.11 on Windows 10.
HOW I SOLVED IT
- error
- latex
- miktex
- texmaker
Problem:
You’re using latex
or pdflatex
to compile a .tex
file, but you get an error message similar to this one (the solution will work for any missing file, not just utf8x.def):
! LaTeX Error: File `utf8x.def' not found.
Now you’re wondering which package you need to install
Solution 1: Install everything
This problem can often be fixed once and for all by just installing all packages:
sudo apt-get install texlive-full
However, this pulls in a huge amount of packages and is therefore not recommended for most situations.
Solution 2: Install only required package
You can use apt-file to find the package containing the missing file and install it.
First, update the list of files in all known packages (sudo apt-get install apt-file
if required):
sudo apt-file update
You only need to do this once every few months or so, before you use apt-file
.
Then, look for the missing file (replace utf8x.def
by your missing file):
$ apt-file search utf8x.def texlive-lang-japanese: /usr/share/texlive/texmf-dist/tex/latex/bxbase/bxutf8x.def texlive-latex-extra: /usr/share/texlive/texmf-dist/tex/latex/ucs/utf8x.def texlive-luatex: /usr/share/texlive/texmf-dist/tex/lualatex/luainputenc/lutf8x.def
Now it takes some educated guessing which of the three listed packages (texlive-lang-japanese
, texlive-latex-extra
, texlive-luatex
) needs to be installed. In this case, texlive-latex-extra
is the correct choice as the other packages list the missing file only in some subdirectory of package (like luainputenc
). If in doubt, you can just install all of the listed packages.