General ⇒ how to compile
how to compile
I'm new here, my name as you can see is sofie. I'm learning how to use latex for my end theses for my bachelor in econometrics.
I use texniccenter to write, but I can't seem to compile my first testfile. I tried to build (ctrl+F7) and then view output (F5), but the only thing I get then, is 'cannot execute the command'.
I also have tried to define output files, but I can not figure out what to do there.
Hope that anyone would like to help a beginner, thanks
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
how to compile
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
how to compile
Edit: Obviously something went wrong. So this post can be deleted.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: how to compile
I already also downloaded miktech 2.6
but I don't know how to use that to compile or view. it has so many maps.. i'll try downloading the other programme you suggested, ghostview
thanks anyway
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: how to compile
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: how to compile
I installed miktex 2.6 and texniccenter. I didn't write a whole source code yet, I just tried to get familiar with these programs. I copy-pasted a very simple program from a manual about latex. It's like this:
\documentclass[12pt]{article}
\usepackage{amsfonts,amsmath, a4wide}
\usepackage[dutch]{babel}
\frenchspacing
\sloppy
\begin{document}
\title{Wachtrij-analyse met daarin voortijdige vertrekken opgenomen}
\author{Sofie van Ginkel}
\maketitle
blablabla
\end{document}
The thing is, when trying to compile, texniccenter doesn't say that something is wrong with the code. There's just this pop-up window saying: 'cannot execute the command' and it gives you only the option 'ok'. Hope this makes my problem a little more clear to you.
Greetings, sofie
Re: how to compile
- pumpkinegan
- Posts: 91
- Joined: Thu May 03, 2007 10:29 pm
how to compile
Code: Select all
-interaction=nonstopmode "%pm"
Alternatively, I have included a build profile, which you should be able to import to TeXnicCenter (Alt + F7). Just make sure the paths are set correctly for your system.
- Attachments
-
- buildprofiles.zip
- Build profiles for LaTeX=> PDF, LaTeX=>PS=>PDF, and TeXify.
- (867 Bytes) Downloaded 456 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
how to compile
Code: Select all
-s personal.ist -g "%bm"
Code: Select all
"%bm"
- Attachments
-
- TXC-build-profiles.zip
- The TeXnicCenter standard build profiles. Path adaptation required.
- (1.06 KiB) Downloaded 456 times
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: how to compile
thanks a lot for your help. i think i can come a long way with both your help. maybe you'll hear from me later.
sofie