Generalerror message "Missing \endcsname inserted"

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
reidarss
Posts: 2
Joined: Wed Sep 29, 2010 10:21 pm

error message "Missing \endcsname inserted"

Post by reidarss »

Hi.
Here is the error message I get:
! Missing \endcsname inserted.
<to be read again>
\OT1\ae
l.10 \newlabel{lin\IeC {\ae }rlinje}{{1}{1}}


If i posted this in the wrong forum, i am sorry.
I have googled the error-message, but the only solution I get is to remove eventual "\" signs that don't belong in equations.

Earlier today everything worked like a charm. But when I renamed a label in an equation, to a name including some norwegian special characters, I got this error message. Then I removed all special characters, but the error message stays the same.

And now I have tried to remove every part of my Latex article, until there was absolutely nothing left between \begin{document} and \end{document}. Still got the same error.

I don't know if it's of any help, but here is what's written before \begin{document}:
\documentclass[11pt, norsk, fullpage]{article}
\usepackage[hmargin=2cm,vmargin=3cm]{geometry}
\geometry{letterpaper}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{babel}
\usepackage{epstopdf}
\usepackage[utf8]{inputenc}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1.tif`.png}
\usepackage{float}

\title{Labrapport 1}
\author{xx}
\date{23.09.2010} %Dato for når eksperimentet vart utført

Thank you in advance for your help :)
Last edited by reidarss on Wed Sep 29, 2010 11:37 pm, edited 1 time in total.

Recommended reading 2024:

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

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

error message "Missing \endcsname inserted"

Post by frabjous »

Did you try deleting the auxiliary files (mainly the .aux file created when you compile) before trying again? Sometimes those get messed up. (A lot of editors have a "clean" function that will deleting these so you can start from scratch, but you didn't mention which one you were using.)

If it's not that, then we'll need to see a complete minimal working example as per the Board Rules. (See the Post on Avoidable Mistakes for more info on what I mean.)
reidarss
Posts: 2
Joined: Wed Sep 29, 2010 10:21 pm

Re: LaTeX error ! Missing \endcsname inserted.

Post by reidarss »

frabjous,

thank you very much, deleting the .aux files helped :) Thanks for the help, and have a nice day :)
Post Reply