GeneralUndefined control sequence error message

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
yoob
Posts: 3
Joined: Thu Jun 26, 2014 6:49 pm

Undefined control sequence error message

Post by yoob »

Hello.

I would be grateful to you if you help me please.

Around 3 weeks ago, I have installed TeXnicCenter 2.02 stable (64 bits).

Files that worked well with the former version of TeXnicCenter no longer work (LaTeX => PDF) no longer works.

I get many errors message and the main one is Undefined control sequence.

Recommended reading 2024:

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

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

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

Undefined control sequence error message

Post by Johannes_B »

Undefined control sequence-errors are usually caused if you miss to load the package that provides it. For example, you have to load the marvellous package graphicx by David Carlisle et al. in order to use command includegraphics.

As you didn't give any code (or complete error messages), i can't tell anything more.
You also did not specify which TeX-distribution you are using. Texnic Center is just the editor, so i assume you also changed something else.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
yoob
Posts: 3
Joined: Thu Jun 26, 2014 6:49 pm

Re: Undefined control sequence error message

Post by yoob »

Dear Johannes,

Thank you very much for your quick reply.

Please attached some files that may be useful.

You are certainly right.

In the error message, it is mentioned that I have used the old interface to call Babel (I do not know how to call the new interface).

As you have guessed it, it is also mentioned that I may expect compatibility problems with others packages that's why I am sending to you the code that previously worked well (thought with the files using includegraphics).

This TeXnicCenter 2.02 stable (64 bits) version comes with the Latex help ebook Version 1.0 (22.11.2000)of Petr N. Vabishchevich.
I don't know if I also have a configuration problem.
From the files in my machine, I know that I have: LaTex2e. Copyright 1995, LaTeX3 Project Team. All rights reserved.8 December 1995

My laptop is a HP Pavillion running under Windows 7.

I hope that this may help.

Thanks a million.

A.
Attachments
Part of the error message.PNG
Part of the error message.PNG (84 KiB) Viewed 66048 times
some options I have slightly modified in the build menu
some options I have slightly modified in the build menu
Build and profiles part 2.PNG (98.76 KiB) Viewed 66048 times
some options I have slightly modified in the build menu
some options I have slightly modified in the build menu
Build and profiles.PNG (71.14 KiB) Viewed 66048 times
Fiabilite Fiche TD S2 2014.tex
basic tex. Just freeze include graphics parts to test it
(13.47 KiB) Downloaded 529 times
Last edited by cgnieder on Thu Jun 26, 2014 11:48 pm, edited 1 time in total.
Reason: scaled images to a smaller size so they don't destroy formatting of the site
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Undefined control sequence error message

Post by Johannes_B »

Hi,

please read how to prepare a minimal working example. That shows us, how you call babel and gives us something to test and finally provide a sollution.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
yoob
Posts: 3
Joined: Thu Jun 26, 2014 6:49 pm

Re: Undefined control sequence error message

Post by yoob »

Thanks a lot.

I will follow your second advice (the smart way) :-)...
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Undefined control sequence error message

Post by Johannes_B »

I just noticed you did upload a file. That might have gone under with those big images.
There is a really simple mistake in there

Code: Select all

\documentclass[a4paper,12pt] %{scrartcl}
. Why is the name of the class commented out?


Additionally you need to \usepackage{scrpage2} in order to get headers/footers right.


By the way, you really shouldn't use this template. It is soooo old and many of the packages are obsolete. And some of the stuff is just wrong.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Undefined control sequence error message

Post by Johannes_B »

I just had another look at your example. Not only is the preamble cluttered with obsolete stuff, the body is also ...

Well, please read some basic introductory material. Invest some time now and save a lot of time later on. Your code is really bad.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply