Document starts having heaps of errors in the middle, but the code doesn't have any problems in itUsing BibTeX with LyX: errors in auto-generated .bblWhy doesn't latexmk handle errors in the preamble?I don't find the errorI'm getting “Missing begindocument” error but I have itChapterbib is working but keeps giving me errors. Any way to silence it?Coloredlettrine Error: Did any one have any luck using the coloredlettrine package?Tables: Missing $ inserted“Missing { inserted” in align* environmentClass moderncv: renewcommand makecvtitle results in undefined control sequence errorStrange behaviour of FPeval

What is the difference between `command a[bc]d` and `command `ab,cd`

How would one muzzle a full grown polar bear in the 13th century?

Repelling Blast: Must targets always be pushed back?

Who is the Umpire in this picture?

Is it possible to determine the symmetric encryption method used by output size?

What is the most expensive material in the world that could be used to create Pun-Pun's lute?

Binary Numbers Magic Trick

With a Canadian student visa, can I spend a night at Vancouver before continuing to Toronto?

Unexpected email from Yorkshire Bank

Do I have an "anti-research" personality?

What happened to Captain America in Endgame?

Why do Computer Science majors learn Calculus?

How to reduce LED flash rate (frequency)

Combinable filters

Why other Westeros houses don't use wildfire?

Will a top journal at least read my introduction?

How to stop co-workers from teasing me because I know Russian?

How to have a sharp product image?

US visa is under administrative processing, I need the passport back ASAP

How to get a plain text file version of a CP/M .BAS (M-BASIC) program?

Why is it that the natural deduction method can't test for invalidity?

Will tsunami waves travel forever if there was no land?

Does holding a wand and speaking its command word count as V/S/M spell components?

How to creep the reader out with what seems like a normal person?



Document starts having heaps of errors in the middle, but the code doesn't have any problems in it


Using BibTeX with LyX: errors in auto-generated .bblWhy doesn't latexmk handle errors in the preamble?I don't find the errorI'm getting “Missing begindocument” error but I have itChapterbib is working but keeps giving me errors. Any way to silence it?Coloredlettrine Error: Did any one have any luck using the coloredlettrine package?Tables: Missing $ inserted“Missing inserted” in align* environmentClass moderncv: renewcommand makecvtitle results in undefined control sequence errorStrange behaviour of FPeval













3















I have a 40 page long document that works fine for the most part, but starts having heaps of errors on different lines by the end. The document has a total of 42 errors, happening on several lines, and one line usually has 10-15 errors. The document compiles fine, and it looks as it's supposed to, but it still bothers me to have the errors, and why I have them, so help would be appreciated.



I simplified the document to share here, as requested by comments, and now it looks like this:



documentclass[a4paper,11pt,pdftex]article

usepackage[utf8]inputenc
usepackage[magyar]babel %needed in Hungarian reports
usepackagefancyhdr %for the nice header
usepackagegraphicx %grapics input
usepackagetikz %tikz figures
usepackage[colorinlistoftodos]todonotes
renewcommandbaselinestretch1.5

usepackageamsmath
usepackageamsthm
usepackageamssymb
usepackagebraket
usepackagecaption
usepackagesubcaption
usepackage[colorinlistoftodos]todonotes % szövegbeli kommentekhez, szövegdobozokhoz
usepackagecomment %többsoros kommentekhez
usepackagetextgreek %görög betűk math mode-on kívül
usepackagefixltx2e % felső és alsó indexekhez
usepackagesiunitx %szép celsius jelért
usepackaget1enc %mert kéri...
%usepackage[justification=centering]caption %hogy a képaláírások középen legyenek
usepackagearray % hogy a táblázat oszlopainak szélességét állítsam
usepackagetabu % ez meg auomatikusan kitölti a táblázatot oldalszélesre

usepackage[a4paper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm,pdftex]geometry %margins

usepackagecolor
usepackagexcolor
usepackageurl
usepackagehyperref %links
hypersetup
colorlinks=true,
linkcolor=blue,
urlcolor=blue,
citecolor=red,
unicode=true


begindocument
pagestylefancy

sectionResultslabelresults

clearpage

enddocument


This version has 13 errors, all on line 47 (the clearpage line). Here are the errors I'm getting:



! Undefined control sequence.
bbl@fixname #1->begingroup def bbl@tempe
l@edef bbl@tempd noexpand...
l.47 clearpage

The control sequence at the end of the top line
of your error message was never def'ed. If you have
misspelled it (e.g., `hobx'), type `I' and the correct
spelling (e.g., `Ihbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Argument of bbl@tempd has an extra .
<inserted text>
par
l.47 clearpage

I've run across a `' that doesn't seem to match anything.
For example, `defa#1...' and `a}' would produce
this error. If you simply proceed now, the `par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

Runaway argument?
noexpand @ifundefined noexpand bbl@tempe languagename bbl@tempd ETC.
! Paragraph ended before bbl@tempd was complete.
<to be read again>
par
l.47 clearpage

I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

! Use of begingroup doesn't match its definition.
<to be read again> ...MAGYAR1begingroup def
L@edef par
l.47 clearpage

If you say, e.g., `defa1...', then you must always
put `1' after `a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.

! Missing inserted.
MakeUppercase ... uppercase #1reserved@a

l.47 clearpage

Where was the left brace? You said something like `defa}',
which I'm going to interpret as `defa'.

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Extra }, or forgotten endgroup.
@begin@tempboxa ...begingroup #2color@endgroup }
def width wd @tempbox...
l.47 clearpage

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x$'. But perhaps the } is legitimate and
you forgot something else, as in `hbox$x'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten endgroup.
<argument> ...adwidth }raggedleft f@nch@orh }}
headrule
l.47 clearpage

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `hbox$x'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! You can't use `hrule' here except with leaders.
headrule ...width plainheadrulewidth fi hrule
@height headrulewidth @...
l.47 clearpage

To put a horizontal rule in an hbox or an alignment,
you should use leaders or hrulefill (see The TeXbook).

! Missing number, treated as zero.
<to be read again>
vskip
l.47 clearpage

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).
<to be read again>
vskip
l.47 clearpage

Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing endgroup inserted.
<inserted text>
endgroup
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Extra }, or forgotten endgroup.
@outputpage ...or hb@xt@ textwidth @thehead
color@endbox }dp @tempb...
l.47 clearpage

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `hbox$x'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.


Not sure if it matters, but I'm writing in an online editor (overleaf).










share|improve this question









New contributor




Wanda W. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Well you will have to show a small but complete document and the complete error message (copy it from the log-file. Your snippets are not enough to investigate.

    – Ulrike Fischer
    5 hours ago












  • it is impossible to help given the information that you show, Firstly show the exact error message from the log file, from ! to ? in a code section so line endings are preserved, then also do not just post fragments, post a small complete document that makes the error,

    – David Carlisle
    3 hours ago











  • in particular for undefined control sequences the error message tells you which command is undefined if you showed that, someone may be able to suggest a package that defines the command.

    – David Carlisle
    3 hours ago











  • Welcome to TeX.SE. You can try to isolate the problem by removing content from your document, what you have already started to do by removing the enumerate. Remove as much as you can until you have a small document left (e.g., 1 page or less). If during the removing the error disappears then leave that part in and remove something else. When you have a small document, you can post the code here together with the full error message - then you will most likely get a quick reply that solves your problem.

    – Marijn
    2 hours ago






  • 1





    @Marijn I've updated the post as per your and the others' recommendations. I've tried to simplify the document as much as possible. With it, the number of errors also decreased, but there's still quite a few. I've included them all.

    – Wanda W.
    2 hours ago















3















I have a 40 page long document that works fine for the most part, but starts having heaps of errors on different lines by the end. The document has a total of 42 errors, happening on several lines, and one line usually has 10-15 errors. The document compiles fine, and it looks as it's supposed to, but it still bothers me to have the errors, and why I have them, so help would be appreciated.



I simplified the document to share here, as requested by comments, and now it looks like this:



documentclass[a4paper,11pt,pdftex]article

usepackage[utf8]inputenc
usepackage[magyar]babel %needed in Hungarian reports
usepackagefancyhdr %for the nice header
usepackagegraphicx %grapics input
usepackagetikz %tikz figures
usepackage[colorinlistoftodos]todonotes
renewcommandbaselinestretch1.5

usepackageamsmath
usepackageamsthm
usepackageamssymb
usepackagebraket
usepackagecaption
usepackagesubcaption
usepackage[colorinlistoftodos]todonotes % szövegbeli kommentekhez, szövegdobozokhoz
usepackagecomment %többsoros kommentekhez
usepackagetextgreek %görög betűk math mode-on kívül
usepackagefixltx2e % felső és alsó indexekhez
usepackagesiunitx %szép celsius jelért
usepackaget1enc %mert kéri...
%usepackage[justification=centering]caption %hogy a képaláírások középen legyenek
usepackagearray % hogy a táblázat oszlopainak szélességét állítsam
usepackagetabu % ez meg auomatikusan kitölti a táblázatot oldalszélesre

usepackage[a4paper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm,pdftex]geometry %margins

usepackagecolor
usepackagexcolor
usepackageurl
usepackagehyperref %links
hypersetup
colorlinks=true,
linkcolor=blue,
urlcolor=blue,
citecolor=red,
unicode=true


begindocument
pagestylefancy

sectionResultslabelresults

clearpage

enddocument


This version has 13 errors, all on line 47 (the clearpage line). Here are the errors I'm getting:



! Undefined control sequence.
bbl@fixname #1->begingroup def bbl@tempe
l@edef bbl@tempd noexpand...
l.47 clearpage

The control sequence at the end of the top line
of your error message was never def'ed. If you have
misspelled it (e.g., `hobx'), type `I' and the correct
spelling (e.g., `Ihbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Argument of bbl@tempd has an extra .
<inserted text>
par
l.47 clearpage

I've run across a `}' that doesn't seem to match anything.
For example, `defa#1...' and `a}' would produce
this error. If you simply proceed now, the `par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

Runaway argument?
noexpand @ifundefined noexpand bbl@tempe languagename bbl@tempd ETC.
! Paragraph ended before bbl@tempd was complete.
<to be read again>
par
l.47 clearpage

I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

! Use of begingroup doesn't match its definition.
<to be read again> ...MAGYAR1begingroup def
L@edef par
l.47 clearpage

If you say, e.g., `defa1...', then you must always
put `1' after `a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.

! Missing inserted.
MakeUppercase ... uppercase #1reserved@a

l.47 clearpage

Where was the left brace? You said something like `defa}',
which I'm going to interpret as `defa'.

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Extra }, or forgotten endgroup.
@begin@tempboxa ...begingroup #2color@endgroup }
def width wd @tempbox...
l.47 clearpage

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x$'. But perhaps the } is legitimate and
you forgot something else, as in `hbox$x'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten endgroup.
<argument> ...adwidth }raggedleft f@nch@orh }}
headrule
l.47 clearpage

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `hbox$x'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! You can't use `hrule' here except with leaders.
headrule ...width plainheadrulewidth fi hrule
@height headrulewidth @...
l.47 clearpage

To put a horizontal rule in an hbox or an alignment,
you should use leaders or hrulefill (see The TeXbook).

! Missing number, treated as zero.
<to be read again>
vskip
l.47 clearpage

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).
<to be read again>
vskip
l.47 clearpage

Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing endgroup inserted.
<inserted text>
endgroup
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Extra }, or forgotten endgroup.
@outputpage ...or hb@xt@ textwidth @thehead
color@endbox }dp @tempb...
l.47 clearpage

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `hbox$x'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.


Not sure if it matters, but I'm writing in an online editor (overleaf).










share|improve this question









New contributor




Wanda W. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Well you will have to show a small but complete document and the complete error message (copy it from the log-file. Your snippets are not enough to investigate.

    – Ulrike Fischer
    5 hours ago












  • it is impossible to help given the information that you show, Firstly show the exact error message from the log file, from ! to ? in a code section so line endings are preserved, then also do not just post fragments, post a small complete document that makes the error,

    – David Carlisle
    3 hours ago











  • in particular for undefined control sequences the error message tells you which command is undefined if you showed that, someone may be able to suggest a package that defines the command.

    – David Carlisle
    3 hours ago











  • Welcome to TeX.SE. You can try to isolate the problem by removing content from your document, what you have already started to do by removing the enumerate. Remove as much as you can until you have a small document left (e.g., 1 page or less). If during the removing the error disappears then leave that part in and remove something else. When you have a small document, you can post the code here together with the full error message - then you will most likely get a quick reply that solves your problem.

    – Marijn
    2 hours ago






  • 1





    @Marijn I've updated the post as per your and the others' recommendations. I've tried to simplify the document as much as possible. With it, the number of errors also decreased, but there's still quite a few. I've included them all.

    – Wanda W.
    2 hours ago













3












3








3


0






I have a 40 page long document that works fine for the most part, but starts having heaps of errors on different lines by the end. The document has a total of 42 errors, happening on several lines, and one line usually has 10-15 errors. The document compiles fine, and it looks as it's supposed to, but it still bothers me to have the errors, and why I have them, so help would be appreciated.



I simplified the document to share here, as requested by comments, and now it looks like this:



documentclass[a4paper,11pt,pdftex]article

usepackage[utf8]inputenc
usepackage[magyar]babel %needed in Hungarian reports
usepackagefancyhdr %for the nice header
usepackagegraphicx %grapics input
usepackagetikz %tikz figures
usepackage[colorinlistoftodos]todonotes
renewcommandbaselinestretch1.5

usepackageamsmath
usepackageamsthm
usepackageamssymb
usepackagebraket
usepackagecaption
usepackagesubcaption
usepackage[colorinlistoftodos]todonotes % szövegbeli kommentekhez, szövegdobozokhoz
usepackagecomment %többsoros kommentekhez
usepackagetextgreek %görög betűk math mode-on kívül
usepackagefixltx2e % felső és alsó indexekhez
usepackagesiunitx %szép celsius jelért
usepackaget1enc %mert kéri...
%usepackage[justification=centering]caption %hogy a képaláírások középen legyenek
usepackagearray % hogy a táblázat oszlopainak szélességét állítsam
usepackagetabu % ez meg auomatikusan kitölti a táblázatot oldalszélesre

usepackage[a4paper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm,pdftex]geometry %margins

usepackagecolor
usepackagexcolor
usepackageurl
usepackagehyperref %links
hypersetup
colorlinks=true,
linkcolor=blue,
urlcolor=blue,
citecolor=red,
unicode=true


begindocument
pagestylefancy

sectionResultslabelresults

clearpage

enddocument


This version has 13 errors, all on line 47 (the clearpage line). Here are the errors I'm getting:



! Undefined control sequence.
bbl@fixname #1->begingroup def bbl@tempe
l@edef bbl@tempd noexpand...
l.47 clearpage

The control sequence at the end of the top line
of your error message was never def'ed. If you have
misspelled it (e.g., `hobx'), type `I' and the correct
spelling (e.g., `Ihbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Argument of bbl@tempd has an extra .
<inserted text>
par
l.47 clearpage

I've run across a `}' that doesn't seem to match anything.
For example, `defa#1...' and `a}' would produce
this error. If you simply proceed now, the `par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

Runaway argument?
noexpand @ifundefined noexpand bbl@tempe languagename bbl@tempd ETC.
! Paragraph ended before bbl@tempd was complete.
<to be read again>
par
l.47 clearpage

I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

! Use of begingroup doesn't match its definition.
<to be read again> ...MAGYAR1begingroup def
L@edef par
l.47 clearpage

If you say, e.g., `defa1...', then you must always
put `1' after `a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.

! Missing inserted.
MakeUppercase ... uppercase #1reserved@a

l.47 clearpage

Where was the left brace? You said something like `defa}',
which I'm going to interpret as `defa'.

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Extra }, or forgotten endgroup.
@begin@tempboxa ...begingroup #2color@endgroup }
def width wd @tempbox...
l.47 clearpage

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x$'. But perhaps the } is legitimate and
you forgot something else, as in `hbox$x'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten endgroup.
<argument> ...adwidth }raggedleft f@nch@orh }}
headrule
l.47 clearpage

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `hbox$x'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! You can't use `hrule' here except with leaders.
headrule ...width plainheadrulewidth fi hrule
@height headrulewidth @...
l.47 clearpage

To put a horizontal rule in an hbox or an alignment,
you should use leaders or hrulefill (see The TeXbook).

! Missing number, treated as zero.
<to be read again>
vskip
l.47 clearpage

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).
<to be read again>
vskip
l.47 clearpage

Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing endgroup inserted.
<inserted text>
endgroup
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Extra }, or forgotten endgroup.
@outputpage ...or hb@xt@ textwidth @thehead
color@endbox }dp @tempb...
l.47 clearpage

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `hbox$x'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.


Not sure if it matters, but I'm writing in an online editor (overleaf).










share|improve this question









New contributor




Wanda W. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I have a 40 page long document that works fine for the most part, but starts having heaps of errors on different lines by the end. The document has a total of 42 errors, happening on several lines, and one line usually has 10-15 errors. The document compiles fine, and it looks as it's supposed to, but it still bothers me to have the errors, and why I have them, so help would be appreciated.



I simplified the document to share here, as requested by comments, and now it looks like this:



documentclass[a4paper,11pt,pdftex]article

usepackage[utf8]inputenc
usepackage[magyar]babel %needed in Hungarian reports
usepackagefancyhdr %for the nice header
usepackagegraphicx %grapics input
usepackagetikz %tikz figures
usepackage[colorinlistoftodos]todonotes
renewcommandbaselinestretch1.5

usepackageamsmath
usepackageamsthm
usepackageamssymb
usepackagebraket
usepackagecaption
usepackagesubcaption
usepackage[colorinlistoftodos]todonotes % szövegbeli kommentekhez, szövegdobozokhoz
usepackagecomment %többsoros kommentekhez
usepackagetextgreek %görög betűk math mode-on kívül
usepackagefixltx2e % felső és alsó indexekhez
usepackagesiunitx %szép celsius jelért
usepackaget1enc %mert kéri...
%usepackage[justification=centering]caption %hogy a képaláírások középen legyenek
usepackagearray % hogy a táblázat oszlopainak szélességét állítsam
usepackagetabu % ez meg auomatikusan kitölti a táblázatot oldalszélesre

usepackage[a4paper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm,pdftex]geometry %margins

usepackagecolor
usepackagexcolor
usepackageurl
usepackagehyperref %links
hypersetup
colorlinks=true,
linkcolor=blue,
urlcolor=blue,
citecolor=red,
unicode=true


begindocument
pagestylefancy

sectionResultslabelresults

clearpage

enddocument


This version has 13 errors, all on line 47 (the clearpage line). Here are the errors I'm getting:



! Undefined control sequence.
bbl@fixname #1->begingroup def bbl@tempe
l@edef bbl@tempd noexpand...
l.47 clearpage

The control sequence at the end of the top line
of your error message was never def'ed. If you have
misspelled it (e.g., `hobx'), type `I' and the correct
spelling (e.g., `Ihbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Argument of bbl@tempd has an extra .
<inserted text>
par
l.47 clearpage

I've run across a `}' that doesn't seem to match anything.
For example, `defa#1...' and `a}' would produce
this error. If you simply proceed now, the `par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

Runaway argument?
noexpand @ifundefined noexpand bbl@tempe languagename bbl@tempd ETC.
! Paragraph ended before bbl@tempd was complete.
<to be read again>
par
l.47 clearpage

I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

! Use of begingroup doesn't match its definition.
<to be read again> ...MAGYAR1begingroup def
L@edef par
l.47 clearpage

If you say, e.g., `defa1...', then you must always
put `1' after `a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.

! Missing inserted.
MakeUppercase ... uppercase #1reserved@a

l.47 clearpage

Where was the left brace? You said something like `defa}',
which I'm going to interpret as `defa'.

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Extra }, or forgotten endgroup.
@begin@tempboxa ...begingroup #2color@endgroup }
def width wd @tempbox...
l.47 clearpage

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x$'. But perhaps the } is legitimate and
you forgot something else, as in `hbox$x'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten endgroup.
<argument> ...adwidth }raggedleft f@nch@orh }}
headrule
l.47 clearpage

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `hbox$x'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! You can't use `hrule' here except with leaders.
headrule ...width plainheadrulewidth fi hrule
@height headrulewidth @...
l.47 clearpage

To put a horizontal rule in an hbox or an alignment,
you should use leaders or hrulefill (see The TeXbook).

! Missing number, treated as zero.
<to be read again>
vskip
l.47 clearpage

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).
<to be read again>
vskip
l.47 clearpage

Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing endgroup inserted.
<inserted text>
endgroup
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.
<inserted text>
}
l.47 clearpage

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Extra }, or forgotten endgroup.
@outputpage ...or hb@xt@ textwidth @thehead
color@endbox }dp @tempb...
l.47 clearpage

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `hbox$x'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.


Not sure if it matters, but I'm writing in an online editor (overleaf).







errors lists






share|improve this question









New contributor




Wanda W. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Wanda W. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 hours ago







Wanda W.













New contributor




Wanda W. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 5 hours ago









Wanda W.Wanda W.

163




163




New contributor




Wanda W. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Wanda W. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Wanda W. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Well you will have to show a small but complete document and the complete error message (copy it from the log-file. Your snippets are not enough to investigate.

    – Ulrike Fischer
    5 hours ago












  • it is impossible to help given the information that you show, Firstly show the exact error message from the log file, from ! to ? in a code section so line endings are preserved, then also do not just post fragments, post a small complete document that makes the error,

    – David Carlisle
    3 hours ago











  • in particular for undefined control sequences the error message tells you which command is undefined if you showed that, someone may be able to suggest a package that defines the command.

    – David Carlisle
    3 hours ago











  • Welcome to TeX.SE. You can try to isolate the problem by removing content from your document, what you have already started to do by removing the enumerate. Remove as much as you can until you have a small document left (e.g., 1 page or less). If during the removing the error disappears then leave that part in and remove something else. When you have a small document, you can post the code here together with the full error message - then you will most likely get a quick reply that solves your problem.

    – Marijn
    2 hours ago






  • 1





    @Marijn I've updated the post as per your and the others' recommendations. I've tried to simplify the document as much as possible. With it, the number of errors also decreased, but there's still quite a few. I've included them all.

    – Wanda W.
    2 hours ago

















  • Well you will have to show a small but complete document and the complete error message (copy it from the log-file. Your snippets are not enough to investigate.

    – Ulrike Fischer
    5 hours ago












  • it is impossible to help given the information that you show, Firstly show the exact error message from the log file, from ! to ? in a code section so line endings are preserved, then also do not just post fragments, post a small complete document that makes the error,

    – David Carlisle
    3 hours ago











  • in particular for undefined control sequences the error message tells you which command is undefined if you showed that, someone may be able to suggest a package that defines the command.

    – David Carlisle
    3 hours ago











  • Welcome to TeX.SE. You can try to isolate the problem by removing content from your document, what you have already started to do by removing the enumerate. Remove as much as you can until you have a small document left (e.g., 1 page or less). If during the removing the error disappears then leave that part in and remove something else. When you have a small document, you can post the code here together with the full error message - then you will most likely get a quick reply that solves your problem.

    – Marijn
    2 hours ago






  • 1





    @Marijn I've updated the post as per your and the others' recommendations. I've tried to simplify the document as much as possible. With it, the number of errors also decreased, but there's still quite a few. I've included them all.

    – Wanda W.
    2 hours ago
















Well you will have to show a small but complete document and the complete error message (copy it from the log-file. Your snippets are not enough to investigate.

– Ulrike Fischer
5 hours ago






Well you will have to show a small but complete document and the complete error message (copy it from the log-file. Your snippets are not enough to investigate.

– Ulrike Fischer
5 hours ago














it is impossible to help given the information that you show, Firstly show the exact error message from the log file, from ! to ? in a code section so line endings are preserved, then also do not just post fragments, post a small complete document that makes the error,

– David Carlisle
3 hours ago





it is impossible to help given the information that you show, Firstly show the exact error message from the log file, from ! to ? in a code section so line endings are preserved, then also do not just post fragments, post a small complete document that makes the error,

– David Carlisle
3 hours ago













in particular for undefined control sequences the error message tells you which command is undefined if you showed that, someone may be able to suggest a package that defines the command.

– David Carlisle
3 hours ago





in particular for undefined control sequences the error message tells you which command is undefined if you showed that, someone may be able to suggest a package that defines the command.

– David Carlisle
3 hours ago













Welcome to TeX.SE. You can try to isolate the problem by removing content from your document, what you have already started to do by removing the enumerate. Remove as much as you can until you have a small document left (e.g., 1 page or less). If during the removing the error disappears then leave that part in and remove something else. When you have a small document, you can post the code here together with the full error message - then you will most likely get a quick reply that solves your problem.

– Marijn
2 hours ago





Welcome to TeX.SE. You can try to isolate the problem by removing content from your document, what you have already started to do by removing the enumerate. Remove as much as you can until you have a small document left (e.g., 1 page or less). If during the removing the error disappears then leave that part in and remove something else. When you have a small document, you can post the code here together with the full error message - then you will most likely get a quick reply that solves your problem.

– Marijn
2 hours ago




1




1





@Marijn I've updated the post as per your and the others' recommendations. I've tried to simplify the document as much as possible. With it, the number of errors also decreased, but there's still quite a few. I've included them all.

– Wanda W.
2 hours ago





@Marijn I've updated the post as per your and the others' recommendations. I've tried to simplify the document as much as possible. With it, the number of errors also decreased, but there's still quite a few. I've included them all.

– Wanda W.
2 hours ago










1 Answer
1






active

oldest

votes


















5














You should load fancyhdr before babel when the option magyar is used (as directed by a warning issued by the language definition file). However, this conflicts somehow with MakeUppercase.



Either you redefine sectionmark to avoid it, or load textcase with the overload option.



documentclass[a4paper,11pt]article

usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagefancyhdr %for the nice header
usepackage[magyar]babel %needed in Hungarian reports
usepackagegraphicx %grapics input
usepackagetikz %tikz figures
usepackage[colorinlistoftodos]todonotes

usepackageamsmath
usepackageamsthm
usepackageamssymb
usepackagebraket
usepackagecaption
usepackagesubcaption
usepackage[colorinlistoftodos]todonotes % szövegbeli kommentekhez, szövegdobozokhoz
usepackagecomment %többsoros kommentekhez
usepackagetextgreek %görög betűk math mode-on kívül
%usepackagefixltx2e % felső és alsó indexekhez
usepackagesiunitx %szép celsius jelért
%usepackaget1enc %mert kéri...
usepackage[justification=centering]caption %hogy a képaláírások középen legyenek
usepackagearray % hogy a táblázat oszlopainak szélességét állítsam
usepackagetabu % ez meg auomatikusan kitölti a táblázatot oldalszélesre
usepackage[overload]textcase

usepackage[
a4paper,
left=2.5cm,
right=2.5cm,
top=2.5cm,
bottom=2.5cm,
headheight=13.6pt,
]geometry %margins

%usepackagecolor
usepackagexcolor
%usepackageurl
usepackagehyperref %links
hypersetup
colorlinks=true,
linkcolor=blue,
urlcolor=blue,
citecolor=red,
unicode=true


renewcommandbaselinestretch1.5
pagestylefancy

begindocument

sectionResultslabelresults

clearpage

enddocument


I also made a few changes: I removed the option pdftex everywhere, which should not generally be used; instead of t1enc it's better to load fontenc; loading color is useless if xcolor is used; fixltx2e is included in the latest releases of LaTeX; url is loaded by hyperref.



Finally, I added a setting to headheight, as directed by fancyhdr.






share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "85"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    Wanda W. is a new contributor. Be nice, and check out our Code of Conduct.









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487947%2fdocument-starts-having-heaps-of-errors-in-the-middle-but-the-code-doesnt-have%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    5














    You should load fancyhdr before babel when the option magyar is used (as directed by a warning issued by the language definition file). However, this conflicts somehow with MakeUppercase.



    Either you redefine sectionmark to avoid it, or load textcase with the overload option.



    documentclass[a4paper,11pt]article

    usepackage[T1]fontenc
    usepackage[utf8]inputenc
    usepackagefancyhdr %for the nice header
    usepackage[magyar]babel %needed in Hungarian reports
    usepackagegraphicx %grapics input
    usepackagetikz %tikz figures
    usepackage[colorinlistoftodos]todonotes

    usepackageamsmath
    usepackageamsthm
    usepackageamssymb
    usepackagebraket
    usepackagecaption
    usepackagesubcaption
    usepackage[colorinlistoftodos]todonotes % szövegbeli kommentekhez, szövegdobozokhoz
    usepackagecomment %többsoros kommentekhez
    usepackagetextgreek %görög betűk math mode-on kívül
    %usepackagefixltx2e % felső és alsó indexekhez
    usepackagesiunitx %szép celsius jelért
    %usepackaget1enc %mert kéri...
    usepackage[justification=centering]caption %hogy a képaláírások középen legyenek
    usepackagearray % hogy a táblázat oszlopainak szélességét állítsam
    usepackagetabu % ez meg auomatikusan kitölti a táblázatot oldalszélesre
    usepackage[overload]textcase

    usepackage[
    a4paper,
    left=2.5cm,
    right=2.5cm,
    top=2.5cm,
    bottom=2.5cm,
    headheight=13.6pt,
    ]geometry %margins

    %usepackagecolor
    usepackagexcolor
    %usepackageurl
    usepackagehyperref %links
    hypersetup
    colorlinks=true,
    linkcolor=blue,
    urlcolor=blue,
    citecolor=red,
    unicode=true


    renewcommandbaselinestretch1.5
    pagestylefancy

    begindocument

    sectionResultslabelresults

    clearpage

    enddocument


    I also made a few changes: I removed the option pdftex everywhere, which should not generally be used; instead of t1enc it's better to load fontenc; loading color is useless if xcolor is used; fixltx2e is included in the latest releases of LaTeX; url is loaded by hyperref.



    Finally, I added a setting to headheight, as directed by fancyhdr.






    share|improve this answer



























      5














      You should load fancyhdr before babel when the option magyar is used (as directed by a warning issued by the language definition file). However, this conflicts somehow with MakeUppercase.



      Either you redefine sectionmark to avoid it, or load textcase with the overload option.



      documentclass[a4paper,11pt]article

      usepackage[T1]fontenc
      usepackage[utf8]inputenc
      usepackagefancyhdr %for the nice header
      usepackage[magyar]babel %needed in Hungarian reports
      usepackagegraphicx %grapics input
      usepackagetikz %tikz figures
      usepackage[colorinlistoftodos]todonotes

      usepackageamsmath
      usepackageamsthm
      usepackageamssymb
      usepackagebraket
      usepackagecaption
      usepackagesubcaption
      usepackage[colorinlistoftodos]todonotes % szövegbeli kommentekhez, szövegdobozokhoz
      usepackagecomment %többsoros kommentekhez
      usepackagetextgreek %görög betűk math mode-on kívül
      %usepackagefixltx2e % felső és alsó indexekhez
      usepackagesiunitx %szép celsius jelért
      %usepackaget1enc %mert kéri...
      usepackage[justification=centering]caption %hogy a képaláírások középen legyenek
      usepackagearray % hogy a táblázat oszlopainak szélességét állítsam
      usepackagetabu % ez meg auomatikusan kitölti a táblázatot oldalszélesre
      usepackage[overload]textcase

      usepackage[
      a4paper,
      left=2.5cm,
      right=2.5cm,
      top=2.5cm,
      bottom=2.5cm,
      headheight=13.6pt,
      ]geometry %margins

      %usepackagecolor
      usepackagexcolor
      %usepackageurl
      usepackagehyperref %links
      hypersetup
      colorlinks=true,
      linkcolor=blue,
      urlcolor=blue,
      citecolor=red,
      unicode=true


      renewcommandbaselinestretch1.5
      pagestylefancy

      begindocument

      sectionResultslabelresults

      clearpage

      enddocument


      I also made a few changes: I removed the option pdftex everywhere, which should not generally be used; instead of t1enc it's better to load fontenc; loading color is useless if xcolor is used; fixltx2e is included in the latest releases of LaTeX; url is loaded by hyperref.



      Finally, I added a setting to headheight, as directed by fancyhdr.






      share|improve this answer

























        5












        5








        5







        You should load fancyhdr before babel when the option magyar is used (as directed by a warning issued by the language definition file). However, this conflicts somehow with MakeUppercase.



        Either you redefine sectionmark to avoid it, or load textcase with the overload option.



        documentclass[a4paper,11pt]article

        usepackage[T1]fontenc
        usepackage[utf8]inputenc
        usepackagefancyhdr %for the nice header
        usepackage[magyar]babel %needed in Hungarian reports
        usepackagegraphicx %grapics input
        usepackagetikz %tikz figures
        usepackage[colorinlistoftodos]todonotes

        usepackageamsmath
        usepackageamsthm
        usepackageamssymb
        usepackagebraket
        usepackagecaption
        usepackagesubcaption
        usepackage[colorinlistoftodos]todonotes % szövegbeli kommentekhez, szövegdobozokhoz
        usepackagecomment %többsoros kommentekhez
        usepackagetextgreek %görög betűk math mode-on kívül
        %usepackagefixltx2e % felső és alsó indexekhez
        usepackagesiunitx %szép celsius jelért
        %usepackaget1enc %mert kéri...
        usepackage[justification=centering]caption %hogy a képaláírások középen legyenek
        usepackagearray % hogy a táblázat oszlopainak szélességét állítsam
        usepackagetabu % ez meg auomatikusan kitölti a táblázatot oldalszélesre
        usepackage[overload]textcase

        usepackage[
        a4paper,
        left=2.5cm,
        right=2.5cm,
        top=2.5cm,
        bottom=2.5cm,
        headheight=13.6pt,
        ]geometry %margins

        %usepackagecolor
        usepackagexcolor
        %usepackageurl
        usepackagehyperref %links
        hypersetup
        colorlinks=true,
        linkcolor=blue,
        urlcolor=blue,
        citecolor=red,
        unicode=true


        renewcommandbaselinestretch1.5
        pagestylefancy

        begindocument

        sectionResultslabelresults

        clearpage

        enddocument


        I also made a few changes: I removed the option pdftex everywhere, which should not generally be used; instead of t1enc it's better to load fontenc; loading color is useless if xcolor is used; fixltx2e is included in the latest releases of LaTeX; url is loaded by hyperref.



        Finally, I added a setting to headheight, as directed by fancyhdr.






        share|improve this answer













        You should load fancyhdr before babel when the option magyar is used (as directed by a warning issued by the language definition file). However, this conflicts somehow with MakeUppercase.



        Either you redefine sectionmark to avoid it, or load textcase with the overload option.



        documentclass[a4paper,11pt]article

        usepackage[T1]fontenc
        usepackage[utf8]inputenc
        usepackagefancyhdr %for the nice header
        usepackage[magyar]babel %needed in Hungarian reports
        usepackagegraphicx %grapics input
        usepackagetikz %tikz figures
        usepackage[colorinlistoftodos]todonotes

        usepackageamsmath
        usepackageamsthm
        usepackageamssymb
        usepackagebraket
        usepackagecaption
        usepackagesubcaption
        usepackage[colorinlistoftodos]todonotes % szövegbeli kommentekhez, szövegdobozokhoz
        usepackagecomment %többsoros kommentekhez
        usepackagetextgreek %görög betűk math mode-on kívül
        %usepackagefixltx2e % felső és alsó indexekhez
        usepackagesiunitx %szép celsius jelért
        %usepackaget1enc %mert kéri...
        usepackage[justification=centering]caption %hogy a képaláírások középen legyenek
        usepackagearray % hogy a táblázat oszlopainak szélességét állítsam
        usepackagetabu % ez meg auomatikusan kitölti a táblázatot oldalszélesre
        usepackage[overload]textcase

        usepackage[
        a4paper,
        left=2.5cm,
        right=2.5cm,
        top=2.5cm,
        bottom=2.5cm,
        headheight=13.6pt,
        ]geometry %margins

        %usepackagecolor
        usepackagexcolor
        %usepackageurl
        usepackagehyperref %links
        hypersetup
        colorlinks=true,
        linkcolor=blue,
        urlcolor=blue,
        citecolor=red,
        unicode=true


        renewcommandbaselinestretch1.5
        pagestylefancy

        begindocument

        sectionResultslabelresults

        clearpage

        enddocument


        I also made a few changes: I removed the option pdftex everywhere, which should not generally be used; instead of t1enc it's better to load fontenc; loading color is useless if xcolor is used; fixltx2e is included in the latest releases of LaTeX; url is loaded by hyperref.



        Finally, I added a setting to headheight, as directed by fancyhdr.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 1 hour ago









        egregegreg

        737k8919393267




        737k8919393267




















            Wanda W. is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            Wanda W. is a new contributor. Be nice, and check out our Code of Conduct.












            Wanda W. is a new contributor. Be nice, and check out our Code of Conduct.











            Wanda W. is a new contributor. Be nice, and check out our Code of Conduct.














            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487947%2fdocument-starts-having-heaps-of-errors-in-the-middle-but-the-code-doesnt-have%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Dapidodigma demeter Subspecies | Notae | Tabula navigationisDapidodigmaAfrotropical Butterflies: Lycaenidae - Subtribe IolainaAmplifica

            Constantinus Vanšenkin Nexus externi | Tabula navigationisБольшая российская энциклопедияAmplifica

            Vas sanguineum Index Historia | Divisio | Constructio anatomica | Vasorum sanguineorum morbi (angiopathiae) | Notae | Nexus interniTabula navigationisAmplifica