Sorry, forgot the attachment the first time
El 29/03/00, Diego A. Puertas F. escribi�:
> I've been suffering with the package indentfirst, the problem was that the
> package didn't indent the paragraphs that came right after a enumerate,
> description or itemize paragraph. This is the solution I've found.
>
> As Jean-Marc Lasgouttes so kindly told, LyX does not (and I am still
> wondering why wouldn't he) put a paragraph break between lists and the
> following paragraph. Well, the solution is simple, put the paragraph
> break. This is what I did:
>
> 1- Export the document as a LaTeX file (your_file.tex).
> 2- Run a script that put the paragraph breaks (set_indent.perl).
> 3- Run LaTeX 3 times: latex your_file.tex
> 3- And then: dvips -t letter -o your_file.ps your_file.dvi
>
> And now you have a postcript file - your_file.ps - ready to print.
>
> Attached is the script I've used, named "set_indent.perl". It is, as you
> migth guess, a perl script, and is written for a Unix like system (Linux
> in my case) which has perl instalated on : /usr/bin/perl.
>
>
> I hope this help someone out there with this problem.
>
> Diego
>
>
#!/usr/bin/perl
print "The name of the file: ";
$file=<STDIN>;
chop($file);
open(TEX,$file);
@tex=<TEX>;
close(TEX);
open(TEX2,">$file");
foreach $item (@tex) {
print TEX2 $item;
if($item =~ /\\end\{enumerate\}/
|| $item =~ /\\end\{itemize\}/
|| $item =~ /\\end\{description\}/)
{ print TEX2 "\n";}
}
close(TEX2);