Text FormattingCan't compile any scripts

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
sonek
Posts: 4
Joined: Sun Jan 10, 2016 8:32 pm

Can't compile any scripts

Post by sonek »

Hi
I'm new here on forum and I just install Texmaker today. It's my homework from school where i can compile my scripts but on my own laptop i see this error
"Error : could not start the command : pdflatex -synctex=1 -interaction=nonstopmode "test".tex"
I have no idea what's going on. It happend when i would like to compile script from school or easy standard script like this one:

Code: Select all

\documentclass{article}
%praeambulum
\begin{document}
Hello world! 
\end{document
Could someone help me?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Can't compile any scripts

Post by Johannes_B »

Welcome,

TeXmaker is not the only thing you need, you need to install a TeX distribution as well.

There are two distros available, MiKTeX and TeX Live.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
sonek
Posts: 4
Joined: Sun Jan 10, 2016 8:32 pm

Can't compile any scripts

Post by sonek »

I install MikTeX and this error dosen't exists any more but i have another problem. I can't install langangue pack. I change server but it dosen't help.
  • ! ==> Fatal error occurred, no output PDF file produced!
    ! LaTeX Error: File `polski.sty' not found.Type X to quit or <RETURN> to proceed,or enter new name. (Default extension: sty)Enter file name:! Emergency stop.<read > \usepackage

Code: Select all

\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[MeX]{polski}
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage{enumerate}
I need another program to install packs or what? I have no idea how TeXmaker works.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Can't compile any scripts

Post by Johannes_B »

You have installed a basic installation, meaning a few dozen packages out of a few thousand packages are installed.
You can mark in the MikTeX preferences, that all missing packages should be installed automatically, or do it by hand using the MiKTeX package manager.

Installing TeX Live would have been the wiser choice here, it installs a full set by default.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
sonek
Posts: 4
Joined: Sun Jan 10, 2016 8:32 pm

Re: Can't compile any scripts

Post by sonek »

What when I get communicate to install package, I chose install from internet i chose server and i still have got this error?
sonek
Posts: 4
Joined: Sun Jan 10, 2016 8:32 pm

Re: Can't compile any scripts

Post by sonek »

Probably Tex Live help me, thank you a lot!

If i got any more problems I will ask in another topic.
Post Reply