[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: latex build problem



On Fri, Dec 27, 2002 at 12:23:03AM -0800, Osamu Aoki wrote:
> Hi,
> 
> latex source is in my people.debian.org/~osamu/pub/
> Please check reference.it.tex
> 
> Osamu
> 
> On Wed, Dec 25, 2002 at 05:44:16PM -0800, Osamu Aoki wrote:
> > I encounter errors in latex when building PS file (or PDF file).
> > 
> > I do not understand "(\end occurred inside a group at level 31)"
> > 


As I understand it, this error message means that a \begin tag (or its
equivalent) has not been correctly closed, or something similar to that.

Compare to the HTML:

<HTML>
<BODY>
<ol>
<li>
</HTML>

with no </li>, </ol>, </BODY>.  The "end" (</HTML>) is met while at level 3.

Look carefully at the output for the rest of your file, don't let it compile
automatically, let it run manually so you catch each error message in turn.


The accented character ("è) on l. 3962 and elsewherecauses me trouble,
but I don't have a full italian locale set up.  It get processed with the
error message
! Extra \fi.
which would seem to upset the count of your "level".

Likewise there are a lot of 
! Missing $ inserted.
<inserted text> 
                $
l.3976 e la shell di root.  Siccome, però
                                           \file{ /} è montata in sola

Here the accented character "ò "is getting mixed up with a maths command,
further confusing the level count.

So, I recommend you look at how you're handling the handling of the italian
non-ASCII characters.  TeX was originally ASCII based, with accented letters
created with \`{e} or \`{o} etc.  You need to be careful with your setup to
handle them directly as non-ASCII characters.

The frontmatter of your file has

\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}

which is what I expect needs to be done to handle the letters, but it would
seem something has gone wrong regardless (unless it's just the fact that my
system is not set up properly for an italian locale).

You can also check the syntax of your file in emacs, in LaTeX mode, using
the "validate buffer" function.  Sometimes you have to take this test with a
grain of salt, but for what it's worth, it gives:

Mismatches:
7174: \begin{enumerate}
7227: \end{enumerate}
7242: \textemdash{} \textbf{English in Denmark} che è un pò uno scherzo :-)
7287: \begin{itemize}
7422: \end{itemize}
7459: potreste ancora volerlo :-)
7687: come me :)  Vedere X client' \vpageref{s-xclnt}.
7731: dare i seguenti comandi:
\texttt{qii\textless{}i\textgreater{}\textasciicircum{}[ea\textless{}/i\textgreater{}\textasciicircum{}[q}
(dove
7799:    Marca la posizione del cursore: C-@             m\{a-zA-Z\}
8166:    \{add|ad|new\} [-k kflag] [-m 'message'] files...
8234:    if [ \$\{n1:0:1\} != "\#" ]; then
8263:    BEGIN \{
8313:    while (\textless{}STDIN\textgreater{}) \{
8477:    int main(int argc, char **argv, char **envp)\{
8533: \begin{itemize}
8544: \end{itemize}
8700:    \$ gpg \{--armor|-a\} \{--sign|-s\} file \# firma un file in un
file testo 
8732:      | awk '\{print \$2\}' | sort -u | xargs gpg --recv-keys \# prende
le chiavi 
8766: disposizione :) (Conoscete tutti l'acronimo RTFM, vero?)
8780: \begin{itemize}
8785: \begin{itemize}
8802: \end{itemize}
8807: \begin{itemize}
8827: \end{itemize}
8832: \begin{itemize}
8846: \end{itemize}
8851: \begin{itemize}
8866: \end{itemize}
8871: \begin{itemize}
8885: \end{itemize}
8890: \begin{itemize}
8898: \end{itemize}
8903: \begin{itemize}
8915: \end{itemize}
8920: \begin{itemize}
8931: \end{itemize}
8936: \begin{itemize}
8941: \end{itemize}
8946: \begin{itemize}
8951: \end{itemize}
8956: \begin{itemize}
8961: \end{itemize}
8966: \begin{itemize}
8971: \end{itemize}
8976: \begin{itemize}
8990: \end{itemize}
8995: \begin{itemize}
9003: \end{itemize}
9008: \begin{itemize}
9019: \end{itemize}
9024: \begin{itemize}
9027: Nessuno può contestarlo :-)
9032: \end{itemize}
9034: \end{itemize}
9104: \begin{itemize}
9121: \end{itemize}
9132: \begin{itemize}
9143: \end{itemize}
9147: \begin{itemize}
9182: \end{itemize}
9206: \begin{itemize}
9211: \begin{itemize}
9216: \end{itemize}
9221: \begin{itemize}
9232: \end{itemize}
9237: \begin{itemize}
9253: \end{itemize}
9258: \begin{itemize}
9263: \end{itemize}
9265: \end{itemize}
9273: \begin{itemize}
9298: \end{itemize}
9311: \begin{itemize}
9331: memoria traballante dei suoi autori. :-)
9333: \end{itemize}
9418: \end{document}


Do all those \begin and \end{itemize} match up?

Drew

-- 
PGP public key available at http://people.debian.org/~dparsons/drewskey.txt
Fingerprint: A110 EAE1 D7D2 8076 5FE0  EC0A B6CE 7041 6412 4E4A

Attachment: pgpDfDNkUMbTc.pgp
Description: PGP signature


Reply to: