GeneralMissing \endcsname inserted

LaTeX specific issues not fitting into one of the other forums of this category.
simojoki
Posts: 9
Joined: Fri Sep 14, 2007 12:23 pm

Missing \endcsname inserted

Post by simojoki »

Hilfe auf Deutsch: Missing \endcsname inserted - was ist die Ursache? - Ed.: German Help.
I'm pretty new to LaTeX. Using MikTeX 2.6 and TeXnicCenter on Windows XP.

Trying to compile (PDFLatex) a file, I keep running to this error. I haven't found any useful advise on the web on how to solve it.

Code: Select all

! Missing \endcsname inserted.
 <to be read again>
                       \unhbox
1.84 ...piscopal ministry.''\cite[24]{tustinedem}.}
The final line is the end of a footnote, hence the left-over curly bracket.

Just in case it's relevant, here's my preamble:

Code: Select all

\documentclass[letterpaper]{thesis}
\usepackage[ansinew]{inputenc}
\usepackage{setspace}
\usepackage[american]{babel}
\usepackage{etex}

\usepackage[bibstyle=authortitle,citestyle=authortitle-trad,bibtex8]{biblatex}
\bibliography{porvoobib2}

\usepackage{csquotes}
\usepackage{ifthen}
\usepackage{url}

\clubpenalty=10000
\widowpenalty=10000

\raggedbottom
Any help would be much appreciated. Thanks in advance!
Last edited by Stefan Kottwitz on Tue Aug 06, 2013 5:36 pm, edited 2 times 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.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Missing \endcsname inserted

Post by localghost »

Your code fragment is useless, because it doesn't contain the critical code. Please create a minimum working example (MWE) that reproduces the error.
simojoki
Posts: 9
Joined: Fri Sep 14, 2007 12:23 pm

Re: Missing \endcsname inserted

Post by simojoki »

No problem. I'm afraid I'm not very competent with LaTeX (yet -- I hope). I have narrowed down the problem to the following footnote entry. Apologies if I this doesn't comply with the MWE rules -- I tried... :oops:

\footnote{TEXT...\cite[148]{bell-docs3} MORE TEXT...\label{2} \cite[18 \S5]{Kirkkojärjestys}; see also \cite[64]{forsberg02}. STILL MORE TEXT\cite[24]{tustindem}.}

My hunch is that this may be related to biblatex, but I'm not sure.

Thanks for helping!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Missing \endcsname inserted

Post by localghost »

simojoki wrote: […] Apologies if I this doesn't comply with the MWE rules -- I tried... :oops: […]

Shouldn't be very hard to understand the advices. Looking at this little piece of code I noted something curious in your footnote.

Code: Select all

\cite[18 \S5]{Kirkkojärjestys}
What is that going to be? In the brackets there should be nothing with a backslash (respectively a command).
simojoki
Posts: 9
Joined: Fri Sep 14, 2007 12:23 pm

Missing \endcsname inserted

Post by simojoki »

localghost wrote: Looking at this little piece of code I noted something curious in your footnote.

Code: Select all

\cite[18 \S5]{Kirkkojärjestys}
What is that going to be? In the brackets there should be nothing with a backslash (respectively a command).


OK, I have changed that particular offence from the footnote. However, I'm still getting multiple error messages referring to this footnote, which now reads as follows:

Code: Select all

\footnote{SOME TEXT \cite[149--152]{bell-docs3}. MORE TEXT \cite[148]{bell-docs3}. MORE TEXT \label{2} \cite[18 §5]{Kirkkojärjestys}; see also \cite[64]{forsberg02}. MORE TEXT, FINISHING WITH a common episcopal ministry.''\cite[24]{tustindem}.}  For this reason a minority report ETC.
The error messages I now get include, in addition to the one quoted in the subject of this message, the following:

Code: Select all

! Extra }, or forgotten \endgroup.
<argument> ... \spacefactor }\accent 127 a\egroup
                                                                      \spacefactor \accent@space...
1.83 ...piscopal ministry.''\cite[24]{tustindem}.}
For this reason, a minori...
Last edited by Stefan Kottwitz on Tue May 01, 2012 3:59 pm, edited 1 time in total.
ekin
Posts: 1
Joined: Thu Jun 12, 2008 4:56 am

Re: Missing \endcsname inserted

Post by ekin »

I have a similar problem. Disabling the babel package line solves the problem. However, that also disables correct hyphenation for non-english languages.. Any one has a solution?

Ekin
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Missing \endcsname inserted

Post by Stefan Kottwitz »

Hi Ekin,

welcome to the LaTeX Community Forum! Feel free to open new topics for your questions.
Can you post a minimal working example that shows the problem? Then we probably could give an appropriate correction.
Or post at least your logfile, by examining that we could help you to locate the error.

Stefan
LaTeX.org admin
vanessagp
Posts: 1
Joined: Fri Dec 03, 2010 2:25 pm

Re: Missing \endcsname inserted

Post by vanessagp »

I don´t know what the mistake. But I had the same problem, and I only copy in other notebook (I was mading the minimal report) and inexplicably it compiled in the way that it was!
saintmatthieu
Posts: 1
Joined: Wed Jun 01, 2011 1:31 pm

Missing \endcsname inserted

Post by saintmatthieu »

Hi,

I have the same problem. It came out of the blue. Here is the MWC :

Code: Select all

\documentclass{article}
\usepackage{hyperref}
\begin{document}
blah blah
\end{document}
It is as if it were the package hyperref which causes the problem - without its inclusion, this piece of code runs smoothly. Given the amount of work I've already put in my document, though, I cannot do without it. Help!
Last edited by Stefan Kottwitz on Wed Jun 01, 2011 2:36 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Missing \endcsname inserted

Post by Stefan Kottwitz »

Hi saintmatthieu,

welcome to the board!

Can you post your .log file for that small code example? You can attach files to forum posts. It would be good if you also add the \listfiles command to the preamble.

Btw. generally please use the Code button when writing or editing a question containing LaTeX code, I edited the question for you marking the code.

Stefan
LaTeX.org admin
Post Reply