GeneralError line 57:!File ended while scanning use of \field

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
johanna23
Posts: 3
Joined: Mon Jul 28, 2014 12:18 pm

Error line 57:!File ended while scanning use of \field

Post by johanna23 »

Hello to everybody,

i get the following error, but can't fix it. For troubleshooting I already checked whether there was a missing {.

My preamble:

Code: Select all

\documentclass[a4paper,12pt]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{csquotes} 
\usepackage[style=numeric-omp,sorting=none,subentry,bibencoding=utf8,backend=biber]{biblatex}
%\addbibresource{Bibliothek.bib} 
\setkomafont{sectioning}{\bfseries} 
\usepackage{mathptmx}
\usepackage[ngerman]{babel}
\usepackage{booktabs}
\usepackage[top=2.5cm, left=2.5cm, right=2cm, bottom=2.5cm]{geometry}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{tabularew}
\usepackage{siunitx}
\addto\extrasngerman{\sisetup{range-phrase = {~bis~}}}
\usepackage{setspace}

\usepackage{fancyhdr,blindtext}
\fancypagestyle{plain}{%
\fancyhf{}\renewcommand{\headrulewidth}{0pt}}

%\pagestyle{fancy}
%\renewcommand{\chaptermark}[1]{%
%\markboth{\thechapter.\ #1}{}}
%%\fancyhead{}
%\fancyfoot[C]{\thepage}
%\lhead{\leftmark}
%\rhead{}

\usepackage{acronym}
\usepackage{xstring}
\usepackage{listing}
\usepackage[font=footnotesize,format=plain,labelfont=bf,textfont=rm]{caption}
\usepackage{array}
\usepackage{longtable}
\usepackage{ltxtable}
\usepackage{float}
\usepackage{filecontents}
\usepackage{pdfpages}
\usepackage{tikz}
\usepackage{todonotes}
%\usepackage{hyperref}
\usepackage{amsmath,amssymb}
\usepackage{latexsym}
\setlength{\parskip}{\baselineskip}
\setlength{\parskip}{10pt}
\setlength{\parindent}{0pt}
\setkomafont{disposition}{\normalcolor\bfseries}

\newcolumntype{x}[1]{>{\hsize=#1\hsize}X}
\newcolumntype{y}[1]{>{\raggedright\arraybackslash\hsize=#1\hsize}X}
\newcolumntype{D}[1]{>{\raggedleft\arraybackslash\hsize=#1\hsize}X}
\newcolumntype{R}[1]{>{\raggedright\arraybackslash\hsize=#1\hsize}X}
\newcolumntype{S}[1]{>{\raggedright\arraybackslash\hsize=#1\hsize}X}

\begin{document}
\pagenumbering{Roman}
%\include{Titelseite}
\tableofcontents
\newpage
%\include{Abkurzungsverzeichnis}
%\include{Zusammenfassung}
%\include{Einleitung}
\include{Material}
%\include{Methoden} 
%\include{Ergebnisse}
%\include{Diskussion}
%\include{Danke}
\listoftables
\listoffigures
\printbibliography 
%\include{Eid}
\end{document}
I need some help to get rid of the problem, thanks in advance!

Code: Select all

<inserted text>
\par
l.57 \begin{document}
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.
Package biblatex Info: Reference section=0 on input line 57.
Package biblatex Info: Reference segment=0 on input line 57.
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
*geometry* verbose mode - [ preamble ] result:
* driver: pdftex
* paper: a4paper
* layout: <same size as paper>
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* modes:
* h-part:(L,W,R)=(71.13188pt, 469.47049pt, 56.9055pt)
* v-part:(T,H,B)=(71.13188pt, 702.78308pt, 71.13188pt)
* \paperwidth=597.50787pt
* \paperheight=845.04684pt
* \textwidth=469.47049pt
* \textheight=702.78308pt
* \oddsidemargin=-1.1381pt
* \evensidemargin=-1.1381pt
* \topmargin=-41.0131pt
* \headheight=18.125pt
* \headsep=21.75pt
* \topskip=12.0pt
* \footskip=50.75pt
* \marginparwidth=49.79233pt
* \marginparsep=12.8401pt
* \columnsep=10.0pt
* \skip\footins=10.8pt plus 4.0pt minus 2.0pt
* \hoffset=0.0pt
* \voffset=0.0pt
* \mag=1000
* \@twocolumnfalse
* \@twosidefalse
* \@mparswitchfalse
* \@reversemarginfalse
* (1in=72.27pt=25.4mm, 1cm=28.453pt)
("C:\Program Files\MiKTeX 2.9\tex\context\base\supp-pdf.mkii"
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count388
\scratchdimen=\dimen294
\scratchbox=\box68
\nofMPsegments=\count389
\nofMParguments=\count390
\everyMPshowfont=\toks42
\MPscratchCnt=\count391
\MPscratchDim=\dimen295
\MPnumerator=\count392
\makeMPintoPDFobject=\count393
\everyMPtoPDFconversion=\toks43
)
Last edited by Stefan Kottwitz on Mon Jul 28, 2014 2:19 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.

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

Error line 57:!File ended while scanning use of \field

Post by Stefan Kottwitz »

Hi Johanna,

welcome to the forum!

Did you get the error with exactly this code (\include commented out)? Or just with your original file? Perhaps compile your example above again to test. I guess the error is not there, because I did not get any error when compiling, except that I don't have the biblatex style numeric-omp.

You could also post your complete .log file as attachment, if you like.

Stefan
LaTeX.org admin
johanna23
Posts: 3
Joined: Mon Jul 28, 2014 12:18 pm

Re: Error line 57:!File ended while scanning use of \field

Post by johanna23 »

Hello Stefan,

thanks for your interest and your help! Here is the log...

Hope the error is easy to fix!
Last edited by johanna23 on Tue Jul 29, 2014 4:32 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Error line 57:!File ended while scanning use of \field

Post by Stefan Kottwitz »

The relevant part of your .log file is:

Code: Select all

("F:\2014-06-06 DrArbeitssicherung\LATEX\Latex\NeuerOrdner\Gesamtdokument.bbl")
Runaway argument?
{Low molecular weight chitosans (LMWC) of different molecular weight \ETC.
! File ended while scanning use of \field.
<inserted text> 
                \par 
l.57 \begin{document}
So the problem seems to be in your bibtex file.

Btw. I see that you are writing in German - you could also post this (and any other question) to our German partner site TeXwelt.de, it may be easier to discuss in native language. I'm hosting that site on the same server. We gladly welcome any LaTeX related question there.

Best regards, and greetings from Hamburg,

Stefan
LaTeX.org admin
johanna23
Posts: 3
Joined: Mon Jul 28, 2014 12:18 pm

Re: Error line 57:!File ended while scanning use of \field

Post by johanna23 »

Hello Stefan,

thank you for working very fast and focused!

I solved the problem by deleting the aux-files AND the toc, lof, lot, bbl, bcf.

In the past, I was used to deleting just the aux-files. Anyway, after screening more than 7000 lines of my bibtex resource for a missing brace, I dared to delete these files!

THANKS
Post Reply