# [tex-live] Ignoring portion of LaTeX code; the \par problem.

Manuel Pégourié-Gonnard mpg at elzevir.fr
Wed Apr 7 00:14:53 CEST 2010


Reinhard Kotucha a écrit :
> On 6 April 2010 Heiko Oberdiek wrote:
>
>  > % \begin{document} opens a group via \begingroup
>
> No, it doesn't.  The opposite is the case.
>
> \begin opens a new group with \begingroup and \document closes it with
> \endgroup.  LaTeX is doing this deliberately in order to avoid an
> unnecessary nesting level which probably loads the save stack.
>
With the ordinary definition of \document, yes. Here we are precisely redefining
\document, so our new definition should do the same.

Actually, I think Heiko and you agree on the TeXnical part, and the discussion
is merely a matter of wording of this particular comment.

Anyway, this kind of discussion belongs on texhax@ :-)

Manuel.