Conversion Tools ⇒ compiling tex file
-
- Posts: 8
- Joined: Wed Dec 09, 2015 11:40 pm
compiling tex file
I tried to compile a prepared tex file that I have but it simply didn't do anything. I have tried all levels of compiling:DVI,Ps, PDF..
Can you give me an advice please? Thank you.
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
-
- Posts: 8
- Joined: Wed Dec 09, 2015 11:40 pm
Re: compiling tex file
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
compiling tex file
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: compiling tex file
Just try to give us more information. Do you get another error message? Is there a file produced in your folder with the file name extension .log? If yes, please post it here as attachment.
I think, the PDF file for viewing cannot be found, because there's a error in the LaTeX syntax so there's no file produced.
Stefan
-
- Posts: 8
- Joined: Wed Dec 09, 2015 11:40 pm
Re: compiling tex file
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: compiling tex file
Stefan
-
- Posts: 8
- Joined: Wed Dec 09, 2015 11:40 pm
Re: compiling tex file
-
- Posts: 8
- Joined: Wed Dec 09, 2015 11:40 pm
Re: compiling tex file
! LaTeX Error: Can be used only in preamble.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
compiling tex file
\usepackage
, which can only be used in the preamble (hence the message). I suggest to read some basic introductory material. This is much much better than to search on the internet using google. The linked material is of high quality and free, google on the other hand looks for keywords. As a starter, you might not know the right keywords, which leaves you quite soon lost with strange code. Reading LaTeX for complete novices just takes a couple of hours (get coffee and some cookies

- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: compiling tex file
It's good to have read introductory information as a basis, that makes it easier here to talk and to fix harder issues.

Stefan