GeneralDocument suddenly not compilable any more

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Nordwind
Posts: 2
Joined: Sun Sep 18, 2011 8:55 am

Document suddenly not compilable any more

Post by Nordwind »

Dear All,

I am in a very bad situation as my paper is due in a few hours and suddenly LaTeX stopped compiling with the following error message:

Code: Select all

sty:92: Missing \endcsname inserted.
Unfortunately, I have no clue what that means. How can I fix it? I use Mac OS X 10.7.5

I highly appreciate any help!

Thank you,
Lucas

Code: Select all

\documentclass[letterpaper, oneside, onecolumn, 12pt, titlepage=true, titlepage=false 
]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[american]{babel}
\usepackage[babel=once, english=american]{csquotes}
\usepackage[T1]{fontenc}
\usepackage[authordate-trad, url=false, autocite=footnote, doi=false, isbn=false, cmsdate=on, firstinits=true, terseinits=false, bookpages=false, dateabbrev=false, clearlang=true, noibid=true, backend=bibtex]{biblatex-chicago}

\usepackage{multirow}

\addbibresource[]{../../../Bibliography/library1.bib}
\usepackage[labelfont=bf, figurewithin=none]{caption}
\AtEveryBibitem{\clearfield{month}}
\AtEveryBibitem{\clearfield{language}}

%\renewcommand\footnotesize{\normalsize}
\DeclareAutoCiteCommand{footnote}[l]{\footcite}{\footcites}
\DeclareCiteCommand{\smartcite}[\iffootnote\mkbibparens\mkbibfootnote]
  {\usebibmacro{prenote}}
   {\usebibmacro{citeindex}%
    \usebibmacro{cite}}
  {\multicitedelim}
  {\usebibmacro{postnote}}


\usepackage{microtype}%Micro-Typographic extensions?
\usepackage{amsmath}%Math Symbols
\usepackage{enumerate}%Enumeration with letters
\usepackage{scrpage2}%Headers
\usepackage[
	pdfpagemode=UseOutlines,
	pdfdisplaydoctitle=true,
	pdflang=de,
	%alles schˆn schwarz damits nicht stˆrt
  colorlinks=true,
  linkcolor=black,
  citecolor=black,
  filecolor=black,
  urlcolor=black
]{hyperref} %Citations into hyperlinkks
\usepackage{graphicx} %Graphics
\usepackage{lettrine} %Grosser Buchstabe am Anfang
%\usepackage[modulo]{lineno}%Zeilennummerierung

%\usepackage{chngcntr}%Fussnoten durchgehend
%\counterwithout{footnote}{chapter}

%\usepackage{textcomp}


\defbibheading{shorthands}[Archival Abbreviations]{\chapter*{#1} \markboth{#1}{#1}}
\deffootnote{1em}{1em}{\thefootnotemark\ }%Fussnote mit normaler Schriftgrösse

%endnotes
%\usepackage{endnotes}
%\let\footnote=\endnote

%Fussnoten in Nummern, nicht hochstehend
\makeatletter
\renewcommand\@makefntext{\hspace*{2em}\@thefnmark. }
\makeatother

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10347
Joined: Mon Mar 10, 2008 9:44 pm

Document suddenly not compilable any more

Post by Stefan Kottwitz »

Hi Lucas,

when I test your example, it cannot be compiled since there's no document body, i.e. \begin{document} ... \end{document} with some content. So I get different errors. It would be good if you would post code which brings the error when compiled. If I add just some content (and remove biblatex options which aren't supported in my system) your code works. Of course I tried that.

So, just post something which shows the error. You still can edit your post above. And please always remove code lines which are not relevant for the problem. It's not hard: remove a line (caption, enumerate, amsmath), compile and look if the error remains. Without all your document content you don't need such extra packages and settings. If you are clever, and I assume so, you either get a 5-10 lines document which contains the error and you or we clearly see it, or you got the responsible line during the hacking down progress.

Stefan
LaTeX.org admin
Post Reply