I’m very new to LaTeX and its distributions so this might be a very newbie question.
I was following this tutorial and I’m not being able to compile the document. The code so far is very simple i don’t think there are any typos and also I did not find a similar question in the forum.
can someone point me in the right direction ?
I’m using windows XP and I’ve installed TexMaker 4.4.1 found here
The code I have so far is simply:
documentclass[11pt]{article}
begin{document}
This is my first LaTeX document.
end{document}
the error I’m getting is:
Could not start the command. pdflatex -synctex=1
-interaction=nonstopmode %.tex
Cheers !
asked Feb 23, 2015 at 13:32
If you meet the error:
Error : could not start the command
while executing TexMakerX commands in Windows 7 x64, it is probably due to environment path of LaTex compiler.
The following steps may help you solve this error:
-
Make sure that you did install a LaTex compiler like MiKTeX. You know, TexMakerX is just an editor of latex input, not a compiler.
-
Locate the bin directory in the installation directory of the LaTex compiler.
-
Add the directory of bin like
d:Program Files (x86)MiKTeX 2.9miktexbin
to the environment paths of Windows. -
Right click computer in start menu, choose properties.
-
Find the «Advanced system settings» in upper left corner.
-
Click the button «Environment Variables».
-
Find the row of variable path in the group of «System Variables» and add bin path like
;d:Program Files (x86)MiKTeX 2.9miktexbin
to the tail. -
Remember to add a semicolon to separate different path.
Then, try it again…
double-beep
4,97617 gold badges32 silver badges41 bronze badges
answered Oct 27, 2018 at 19:46
I found this question on another forum and it says that you should install MiKTex for windows too. Worked like a charm !
answered Feb 23, 2015 at 14:15
Pedro BrazPedro Braz
2,2513 gold badges25 silver badges45 bronze badges
I came across a page which mentions that MiKTeX has two major bugs due to which users haven’t been able to compile at all.
Use TeX Live compiler instead
Source
https://wiki.lyx.org/Windows/TeXLive
answered Jul 27, 2020 at 10:52
1
Most of the time errors occur due to space in the file names. while saving the Latex file one should always remember don’t put spaces in between the file name.
answered Sep 23, 2021 at 2:37
I have a problem with LaTeX. I have installed MiKTeX 2.9 and Texmaker, and when I try to compile a .tex
file in Texmaker, I get the error
Could not start the command
When I try to build it from the terminal (using pdfLaTeX) it works, though.
By the way, I have found the same question here, but when I try to do as in the answers (i.e., go to options
> configure
and then choose the correct documents for LaTeX and pdfLaTeX) it doesn’t work. What can I do, other than build my files every time from the terminal?
asked Apr 5, 2013 at 22:55
15
The paths to your LaTeX und PdfLaTeX are wrong. latexsym.sty
is a package, which isn’t ever gonna compile anything, and pdfetex.exe
is a compiler, but definitely not the one you’re looking for (see e.g. Glossary of TeX and LaTeX terms). If MiKTeX is in your PATH varible (which usually is the case if you installed it normally), you don’t need to specify the full path to the directory, the name of the compiler/program with the desired options is entirely sufficient. Basically, you just enter what you would enter when compiling from the command line, just with %.tex
as a placeholder for the file to compile. So here’s the right (standard) configuration:
LaTeX: latex -interaction=nonstopmode %.tex
PdfLaTeX: pdflatex -synctex=1 -interaction=nonstopmode %.tex
answered Apr 5, 2013 at 23:38
doncherrydoncherry
53.5k31 gold badges164 silver badges232 bronze badges
1
Sorry for opening an old issue, but the above did not work for me.
What worked for me was to «Refresh FNDB» from MiKTeX Options (Start -> MiKTeX 2.9 -> Maintenance -> Settings). Note also that a warning box popped up after clicking Settings, which goes away after refreshing FNDB.
answered Apr 16, 2015 at 15:53
RichardRichard
711 silver badge4 bronze badges
1
(This is a bit different than the OP’s problem, but the error message is the same. I hope this helps someone else:)
Having never used LaTeX before, I started off by installing Texmaker, and encountered this error. I didn’t know that the LaTeX tool is not bundled with the editor, and must be installed separately.
In my case, I was able to fix the above error message by downloading the proTeXT tool from the LaTeX site:
http://www.latex-project.org/
…and running the MikTeX installer.
answered Jul 1, 2015 at 6:26
RMorriseyRMorrisey
1711 silver badge2 bronze badges
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
.
I messed up a bit with TekLive and TexMaker in my Ubuntu 14.04. I unistalled and re-installed both a couple of times.
Now, if I go to terminal and do
pdflatex -synctex=1 -interaction=nonstopmode test.tex
My test.tex
file is compiled as it should be. The problem is when I try to do this from TexMaker. I get the error message
Could not start the command.
pdflatex -synctex=1 -interaction=nonstopmode %.tex
I don’t get it. I added /usr/local/texlive/2014/bin/i386-linux
to PATH — of course I did, otherwise pdflatex
wouldn’t run from the terminal as it did. I don’t know what else to do. I found this question in SO but all the answers mentioned installing (again) TexLive. I mean, my latex seems to be working, so I don’t see any point in redoing that. I uninstalled and installed again TexMaker 4.3 by downloading the appropriate version from here and then doing
sudo gdebi texmakerQT5_ubuntu_14.04_4.3_i386
and got no error messages when installing.
What’s going on?
Texmaker — настройка всего
Я новичок в LaTeX и его дистрибутивах, поэтому это может быть вопрос для новичков.
Я следовал этому руководству, и я не могу скомпилировать документ. Код пока очень простой, я не думаю, что есть какие-либо опечатки, а также я не нашел похожего вопроса на форуме.
может кто-нибудь указать мне в правильном направлении?
Я использую Windows XP и установил TexMaker 4.4.1, найденный здесь
Код, который у меня есть до сих пор, прост:
documentclass [11pt] {статья}
begin {document}
Это мой первый документ LaTeX.
конец {документ}
ошибка, которую я получаю:
Не удалось запустить команду. pdflatex -synctex = 1 -interaction = nonstopmode% .tex
Ура!
Если вы встретите ошибку «Ошибка: не удалось запустить команду» при выполнении команд TexMakerX в Win7 X64, это, вероятно, связано с путем в среде компилятора LaTex. Следующие шаги могут помочь вам решить эту ошибку:
- Убедитесь, что вы установили компилятор LaTex, например MiKTeX. Вы знаете, TexMakerX — это просто редактор латексного ввода, а не компилятор.
- Найдите каталог bin в каталоге установки компилятора LaTex.
- Добавьте каталог bin, например «d: Program Files (x86) MiKTeX 2.9 miktex bin», в пути среды Windows.
- Щелкните правой кнопкой мыши компьютер в меню «Пуск» и выберите «Свойства».
- Найдите «Расширенные настройки системы» в верхнем левом углу.
- Нажмите кнопку «Переменные среды».
- Найдите строку пути к переменной в группе «Системные переменные» и добавьте в конец путь к папке типа «; d: Program Files (x86) MiKTeX 2.9 miktex bin».
- Не забудьте добавить точку с запятой для разделения разных путей.
Затем попробуйте еще раз …
Я нашел этот вопрос на другом форуме, и в нем говорится, что вы должны установить MiKTex и для Windows. Работал как шарм!
Я наткнулся на страницу, где упоминается, что в MiKTeX есть две основные ошибки, из-за которых пользователи вообще не могли скомпилировать.
Вместо этого используйте компилятор TeX Live
Источник https://wiki.lyx.org/Windows/TeXLive
- 3 Если эта ссылка не работает, вы потеряете большую часть содержимого. Я бы посоветовал вам отредактировать его и добавить цитату из источника, оставив ссылку как дополнительную информацию.
Tweet
Share
Link
Plus
Send
Send
Pin
Сообщения без ответов | Активные темы | Избранное
|
Ошибка в LaTex 25.09.2021, 17:53 |
25/09/21 |
При попытке преобразовать запустить программу, выдает ошибку: «Не могу запустить команду. begin{document} Hello, world! end{document} самая элементарная. Подскажите пожалуйста в чем ошибка?
|
|
|
Red_Herring |
Re: Ошибка в LaTex 25.09.2021, 18:17 |
||
31/01/14 |
Подскажите пожалуйста в чем ошибка? Я подозреваю, что ТеХ у вас неустановлен, а есть какой-то фронтэнд, который с ТеХом связаться не может. Вы должны дать необходимую информацию: какой фронтэнд, какой дистрибутив ТеХа, …
|
||
|
|||
smskrut |
Re: Ошибка в LaTex 25.09.2021, 19:07 |
25/09/21 |
Не знаю, у меня установлен только ТеХmaker
|
|
|
Pphantom |
Re: Ошибка в LaTex 25.09.2021, 19:17 |
||
09/05/12 |
Не знаю, у меня установлен только ТеХmaker Т.е. предположение правильное — у вас просто нет TeX’а, есть только оболочка.
|
||
|
|||
smskrut |
Re: Ошибка в LaTex 25.09.2021, 20:59 |
25/09/21 |
Не подскажете тогда где скачать? И какой посоветуете?
|
|
|
zykov |
Re: Ошибка в LaTex 25.09.2021, 21:08 |
18/09/21 |
Под linux стандартный пакет ставится.
|
|
|
smskrut |
Re: Ошибка в LaTex 25.09.2021, 21:20 |
25/09/21 |
Не подскажите как его настроить?
|
|
|
zykov |
Re: Ошибка в LaTex 25.09.2021, 21:32 |
18/09/21 |
Деталей не помню.
|
|
|
Red_Herring |
Re: Ошибка в LaTex 25.09.2021, 21:57 |
||
31/01/14 |
Не подскажете тогда где скачать? И какой посоветуете? Что скачать? ТеХ? Какая у вас ОС? Под windows я ставил TeXworks. У ТС нет ТеХа, а вы ему предлагаете еще одну оболочку. Работать что будет-то?
|
||
|
|||
zykov |
Re: Ошибка в LaTex 25.09.2021, 22:04 |
18/09/21 |
Работать что будет-то? У меня под windows всё работает. — 25.09.2021, 22:10 — Да, я себе MiKTeX ставил. TeXworks туда входит.
|
|
|
smskrut |
Re: Ошибка в LaTex 25.09.2021, 23:18 |
25/09/21 |
Да, Tex. Операционная система — windows 10.
|
|
|
zykov |
Re: Ошибка в LaTex 25.09.2021, 23:29 |
18/09/21 |
Отлично.
|
|
|
Red_Herring |
Re: Ошибка в LaTex 25.09.2021, 23:46 |
||
31/01/14 |
|||
|
|||
Модераторы: Karan, Toucan, PAV, maxal, Супермодераторы
Кто сейчас на конференции |
Сейчас этот форум просматривают: нет зарегистрированных пользователей |
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения |