28.03.2013 Views

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C.5. Warnings 429<br />

the result of an incorrectly typed comm<strong>and</strong> name. It may be amended<br />

during the processing by responding with I <strong>and</strong> the proper name of the<br />

comm<strong>and</strong>, plus 〈return〉. This does not alter the source file, which must<br />

be corrected separately after the L AT E X run. If the comm<strong>and</strong> name has<br />

been entered correctly in a L AT E X comm<strong>and</strong>, it may be that it was issued<br />

in an improper environment where it is not allowed (that is, not defined<br />

there).<br />

! Use of ... doesn’t match its definition.<br />

If ‘...’ is the name of a L AT E X comm<strong>and</strong>, it is likely that one of the<br />

picture comm<strong>and</strong>s from Sections 13.1.3 <strong>and</strong> 13.1.4 has been called with<br />

the wrong syntax for its arguments. If the name is \@array, there is a<br />

faulty @-expression (Section 4.8.1) in a tabular or array environment.<br />

Possibly a fragile comm<strong>and</strong> was given in the @-expression without the<br />

\protect comm<strong>and</strong> preceding it.<br />

! You can’t use ‘macro parameter #’ in ... mode.<br />

The special symbol # has been used in normal text. Probably there should<br />

have been a \# in order <strong>to</strong> print # itself. This can be corrected during the<br />

processing with the response I\# <strong>and</strong> 〈return〉.<br />

C.5 Warnings<br />

T E X <strong>and</strong> L AT E X errors both bring the processing run <strong>to</strong> a temporary s<strong>to</strong>p <strong>and</strong><br />

wait for a reaction from the user, or they may halt the program completely.<br />

Warnings, on the other h<strong>and</strong>, merely inform the user that the processed<br />

output may contain some faults that he or she might want <strong>to</strong> correct.<br />

Warnings appear on the moni<strong>to</strong>r along with the page number where they<br />

occur, without the program coming <strong>to</strong> a s<strong>to</strong>p. They are also written <strong>to</strong><br />

the .log file where they may be examined after the L AT E X processing <strong>and</strong><br />

possible printing. Warnings may be issued either by L AT E X or by T E X itself.<br />

C.5.1 General L AT E X warnings<br />

L AT E X warnings are indicated by the words ‘<strong>LaTeX</strong> Warning:’ at their start,<br />

followed by the warning message itself.<br />

<strong>LaTeX</strong> Warning: Citation ‘...’ on page ... undefined on<br />

input line ....<br />

The key in a \cite or other citation comm<strong>and</strong> has not yet been defined<br />

with a corresponding \bibitem comm<strong>and</strong> (Section 9.3). If this message<br />

does not disappear on the next run, then the bibliography is missing

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!