GeneralMissing \endcsname inserted

LaTeX specific issues not fitting into one of the other forums of this category.
Natasz
Posts: 3
Joined: Thu Aug 04, 2011 6:05 pm

Missing \endcsname inserted

Post by Natasz »

Hi,

I have a similar problem. Here's my text:

Code: Select all

 ... is analysed not as a property, but as a relation \autocite[2]{yanalita} 
%check page number and the theories differ in ...
Here's the error:

Code: Select all

! Missing \endcsname inserted.
<to be read again>
                    \unhbox
1.19 ..., but as a relation \autocite[2]{yanalita}

?
Here's my preamble:

Code: Select all

\documentclass[a4paper,12pt]{report}
\usepackage{abstract}
\usepackage[UKenglish]{babel}
\usepackage[ansinew]{inputenc}
\usepackage{csquotes}
\usepackage[dvips]{color}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{etex}
\usepackage{mathrsfs}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage[active]{srcltx}
\usepackage{setspace}
\usepackage{stmaryrd}
\usepackage[all]{xy}
\usepackage{hyperref}
\usepackage{url}
\usepackage{etoolbox}
\usepackage{logreq}
\usepackage{ifxetex}
\usepackage{keyval}
\usepackage{ifthen}
\usepackage[bibstyle=authoryear, citestyle=authoryear-icomp, natbib=false, isbn=false, url=false, doi=false] {biblatex}
\usepackage{a4wide}

\renewcommand{\chaptermark}[1]{\markright{#1}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\title{TITLE}
\author{NAME}
\date{2012}
\bibliography{../simon-bibliography}
\begin{document}
I also attach the log file. It seems quite clearly to be a problem with the quotation, and seems to have nothing to do with 'Usage of a backslash in front of the name of an environment, e.g \begin{\itemize}'
Any ideas?
Attachments
PhD.log
(28.78 KiB) Downloaded 609 times

Recommended reading 2024:

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

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

JacobB
Posts: 1
Joined: Tue May 01, 2012 2:50 pm

Re: Missing \endcsname inserted

Post by JacobB »

Hi,

I know this post i quiet old, but it is one of the first hits on google when you search for the error "Missing \endcsname inserted", and it doesn't fix the error.

For a solution to the original post (and to my students problem) the error can be averted by avoiding the use of non-english characters in the \label and \ref commands.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Re: Missing \endcsname inserted

Post by Stefan Kottwitz »

Hi Jacob,

welcome to the board!

Thanks for adding the information. Probably the error may be caused by different issues. I wish posters would provide the code, so we could see and fix the problem. Often they don't do, so we ask to see the .log file at least, to get some information, as here.

If you look below (when logged in), there's a list of similar topics, I hope one of those also might help if somebody comes here via google.

Feel free to answer any of the (possibly older) unanswered or unsolved questions, if you like. ;-) Like you already did above, it helps further visitors.

Stefan
LaTeX.org admin
jaydeepsb
Posts: 1
Joined: Mon Jul 16, 2012 11:32 am

Re: Missing \endcsname inserted

Post by jaydeepsb »

Hello,

My problem is "solved", by just deleting all the Aux. files.
i.e. .aux, .brf, .out, .synctex.gz, .toc
hope, it helps to others as well.
LaTeXist
Posts: 1
Joined: Fri Feb 07, 2014 6:52 am

Re: Missing \endcsname inserted

Post by LaTeXist »

Hi,
I got the same problem. Solved it by removing letters of foreign language in "\cite{what€ver}" (or it could also be an inappropriate symbol ex. "}")

Regards
LaTeXist
Miska
Posts: 1
Joined: Fri Jun 13, 2014 5:09 pm

Re: Missing \endcsname inserted

Post by Miska »

I got this error "Missing \endcsname inserted" when I accidentally put "~" into a label.
Post Reply