%From cict.fr!ws41.cnusc.fr!univ-lyon1.fr!jussieu.fr!oleane!lep-philips.fr!news Thu Jul 11 07:58:02 1996
%Article: 70636 of comp.text.tex
%Path: cict.fr!ws41.cnusc.fr!univ-lyon1.fr!jussieu.fr!oleane!lep-philips.fr!news
%From: [email protected] (Benjamin Bayart)
%Newsgroups: comp.text.tex
%Subject: Re: Forcing first paragraph indentation
%Date: 10 Jul 1996 14:57:58 +0200
%Organization: LEP, France.
%Lines: 45
%Sender: [email protected]
%Message-ID: <[email protected]>
%References: <[email protected]>
%       <[email protected]> <udvifyn6al.fsf@vummath>
%       <[email protected]>
%Reply-To: Benjamin BAYART <[email protected]>
%NNTP-Posting-Host: styx.lep-philips.fr
%In-reply-to: [email protected]'s message of 09 Jul 1996 10:40:12 +0200
%X-Newsreader: Gnus v5.1
%
%[email protected] (Piet van Oostrum) writes:
%
%
%   >>>>> David Carlisle <[email protected]> (DC) writes:
%
%   >> Just have a look at the few lines in indentfirst.sty...
%
%   DC> or the last few.
%
%As you noticed later on in private e-mail to me David, I said ``the
%few lines'' and not ``the first few lines'', but it doesn't mind. :-)
%
%   But these are not suitable for indenting specific after-section-header
%   paragraphs, which was the original question. Especially the line
%   \let\@afterindentfalse\@afterindenttrue is difficult to undo.
%
%   Probably an \@afterindenttrue at the appropriate point will have only
%   effect on the next paragraph.
%
%Ok, so try this:
\let\standardlatex\@afterindentfalse
\let\frenchlatex\@afterindenttrue
%
%And then:
\def\notindenting{\let\@afterindentfalse\standardlatex}
\def\indenting{\let\@afterindentfalse\frenchlatex}
%
%Then, when you want first paragraphs to be indented, call \indenting,
%and when you don't want them to be indented, call \notindenting. Easy,
%isn't it?
%
%Just put those 4 lines in a file indentondemand.sty and you will
%create a package at least as interesting as indentfirst is :-) And
%indentfirst IS vital for french documents which require first
%paragraphs to be indented...
%
%So the given line is not so difficult to undo, and you knew it :-)
%
%Regards,
%       Benjamin.
%--
%Benjamin BAYART