\addtocontents

Balogh Richard, Ing. BALOGH at nov1.kar.elf.stuba.sk
Fri Aug 18 07:36:40 CEST 2000


Dobry den,

nasledujuci priklad z "LaTeX pro zacatecniky" funguje, ale len
kym sa nepokusim ho rozvinut a odstranim posledne dva komentare.
Dokonca staci odstranit prvy z nich, aby sa to pokazilo...

\documentclass{article}
\begin{document}
\tableofcontents

\section*{Uvod}
\addcontentsline{toc}{section}{Uvod}
\addtocontents{toc}{{\itshape (Uvodni slovo: Jan Komoly)}}

%\section{Prva kapitola}
%\addtocontents{toc}{{\itshape (Uvodni slovo: Ivan Obly)}}

\end{document}

Ak ich dam prec, druhy preklad skonci hlaskou:

! LaTeX Error: Something's wrong--perhaps a missing \item.

Neviete mi niekto poradit, co robim zle?

Dakujem
        Richard BALOGH



More information about the csTeX mailing list