Hallo Alexander — I did indeed send you an explanation, shewing that the enumerate environment clobbers \everypar.  Did you not receive it ?   A further copy follows.

Philip Taylor

OK, I won't seek to address all of your queries, Alexander, but you will see if you run the following that \everypar has been clobbered by the "enumerate" environment —

% !TeX Program=PdfLaTeX


\documentclass{article}

\newcount \everyparcount

\begin{document}

\message {\everypar = [\the \everypar]}

\everypar = {\advance \everyparcount by 1 \message {{\everypar} called [\the \everyparcount] time[s]}}


Test


New test


test again


\section{test}

\begin{enumerate}

\item test

\item new test

\end{enumerate}


\message {\everypar = [\the \everypar]}


Test


New test


test again


\begin{enumerate}

\item test

\end{enumerate}


new test again


\end{document}

--------

Alexander Kozlovskiy wrote:
Hello everybody. I haven't any answers on my questions,which i asked in previous email,so As i understood,almost nobody knows,why after end of the list \everypar not call,even if i write \after end of the list \everypar{\some_command},but after changes,which proposed David Carlisle,,for each paragraph instead of \everypar it calls \myeverypar. Yes,it seems,what all works ok,but i want to know,whether is issue of latex 2,which david solved,using this changes. If this really issue,where i can open it? Please forgive me for my intrusiveness,but i want not only use code,which works,but also understand,why it so works. Thanks everybody very much for any very detaile explanation.

Reply via email to