Texmaker and TeXstudio ⇒ ! LaTeX Error: Can be used only in preamble.
! LaTeX Error: Can be used only in preamble.
i use the newest TexMaker Version on a Windows 7 PC with
MikTex 2.9. However, i tried to compile a little Script today
but it didnt work.
! LaTeX Error: Can be used only in preamble. was the Error Message
and he explains about that some packages are not installed.
MikTex PackageManager says that all Packages are installed.....
Maybe a Fail of TexMaker?
Someone a idea?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10359
- Joined: Mon Mar 10, 2008 9:44 pm
! LaTeX Error: Can be used only in preamble.
why don't you show us the little code? So we would not have to guess what you are doing.Lybrial wrote:i tried to compile a little Script today
but it didnt work.
That means you used a command after \begin{document} which can be used only before, such as \usepackage for example.Lybrial wrote:! LaTeX Error: Can be used only in preamble. was the Error Message
Which packages? For which commands in your code?Lybrial wrote:and he explains about that some packages are not installed.
How does it say it? What's the message? I doubt MiKTeX knows about all packages in general.Lybrial wrote:MikTex PackageManager says that all Packages are installed.....
I guess it's not a problem of Texmaker. Texmaker is just an editor, which calls the LaTeX compiler of MiKTeX.Lybrial wrote:Maybe a Fail of TexMaker?
Perhaps provide some information.
Stefan