error during Complilation
Title
Question
this is shown in console output:
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 2.9.7440)
entering extended mode
(maths.tex
! Undefined control sequence.
l.1 \documentclass
[12pt,a5paper]{article}
?
Process interrupted by user
his is shown in error warning:
Errors: 1, Warnings: 0, Bad boxes: 0
<hr><table border="0" cellpadding="4" cellspacing="0" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;"> <tbody><tr> <td bgcolor="#f80000"></td> <td style=" vertical-align:top;"><a href="texworks:maths.tex#1"><span style="text-decoration-line: underline; color: rgb(0, 0, 255);">maths.tex</span></a>
</td> <td style=" vertical-align:top;">1
</td> <td style=" vertical-align:top;">Undefined control sequence.
l.1 \documentclass
[12pt,a5paper]{article}
LaTeX Mathematical-Typesetting 03-04 min 0-10 sec
Answers:
It is difficult to answer without looking at the tex file. You can yourself debug for mistakes by moving the \end{document} command around and compile the tex file partially. Take care to end the current environments while doing so. The faulty portion of your tex file can be easily identified this way. A general advice is to periodically compile while writing the latex code to catch any mistakes immediately.
Login to add comment