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
Is there an official tutorial for installing Ubuntu 18.04+ on a device with an SSD and an additional internal hard drive?
Does Gita support doctrine of eternal cycle of birth and death for evil people?
Is there any limitation with Arduino Nano serial communication distance?
Examples of subgroups where it's nontrivial to show closure under multiplication?
Exchange,swap or switch
How come there are so many candidates for the 2020 Democratic party presidential nomination?
Is the 5 MB static resource size limit 5,242,880 bytes or 5,000,000 bytes?
Why was Germany not as successful as other Europeans in establishing overseas colonies?
Does a semiconductor follow Ohm's law?
What does it mean to express a gate in Dirac notation?
French for 'It must be my imagination'?
What was the first Intel x86 processor with "Base + Index * Scale + Displacement" addressing mode?
Will a top journal at least read my introduction?
How would one muzzle a full grown polar bear in the 13th century?
Can someone publish a story that happened to you?
Is it possible to determine the symmetric encryption method used by output size?
What happened to Captain America in Endgame?
How can I practically buy stocks?
Seemingly unused edef prior to an ifx mysteriously affects the outcome of the ifx. Why?
How to type a section sign ( § ) into the Minecraft client on Linux
How did Captain America manage to do this?
What does the "ep" capability mean?
Don’t seats that recline flat defeat the purpose of having seatbelts?
Why does processed meat contain preservatives, while canned fish needs not?
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
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
New contributor
|
show 1 more comment
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
New contributor
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 theenumerate
. 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
3 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.
3 hours ago
|
show 1 more comment
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
New contributor
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
errors lists
New contributor
New contributor
edited 3 hours ago
Wanda W.
New contributor
asked 5 hours ago
Wanda W.Wanda W.
163
163
New contributor
New contributor
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 theenumerate
. 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
3 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.
3 hours ago
|
show 1 more comment
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 theenumerate
. 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
3 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.
3 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
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
3 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.
3 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.
3 hours ago
|
show 1 more comment
1 Answer
1
active
oldest
votes
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
.
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
.
add a comment |
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
.
add a comment |
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
.
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
.
answered 1 hour ago
egregegreg
737k8919393267
737k8919393267
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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
3 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.
3 hours ago