Re: IndentFirst Problem (The solution I've used)
On Wed, 29 Mar 2000, Diego A. Puertas F. wrote: > 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. Suppose I write a bullet-pointed list to explain: * why it's a good idea * where to find the stuff * and how clever the results are then it's all one big sentence with no paragraph break. Alternatively, each bullet point could be a sentence with the trailing sentence being a summary statement. Again all one paragraph (multiple sentences though this time) and no paragraph break. Then there is the third option. The paragraph break situation. That's two against one. > > Well, the solution is simple, put the paragraph break. This is what I did: If you can come up with a useful scheme to simplify this within LyX let us know. We have a similar situation with multiple consecutive environments (like several Theorems for example). Both cases should be fixable once we have a ParagraphInset. Allan. (ARRae)
Re: IndentFirst Problem (The solution I've used)
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=; chop($file); open(TEX,$file); @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);
IndentFirst Problem (The solution I've used)
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
Re: IndentFirst Problem
>>Date: Sat, 25 Mar 2000 04:22:44 -0400 (VET) >>From: "Diego A. Puertas F." <[EMAIL PROTECTED]> >>To: Osvaldo Fornaro <[EMAIL PROTECTED]> >>cc: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >>Subject: Re: IndentFirst Problem >> >>El 30/03/00, Osvaldo Fornaro escribió: >> >>> "Diego A. Puertas F." wrote: >>> >>> > Hello list, at last, my thesis is finished, but I still have a problem >>> > with the IndentFirst package. >>> > >>> > IndentFirst is indenting allrigth all the first paragraphs, except for >>> > the ones that are after a enumerate, description or itemize paragraph. >>> > >>> > Anyone, can help? I'll apreciate very much your anwser on this one. >>> > >>> > Thanks. >>> >>> add \indent In tex mode, and possibly a new paragraph. In this way work >>> for me >>> >>> >> >> >>I need an automatic way to do this, it's not a pleasent idea to put those >>\indents all over the 250 pages the thesis has. >> What about redifining the list environment in the preamble to end it with a blank line ? AFAIR, the enumerate, itemize and description rely on it. -- Jean-Pierre
Re: IndentFirst Problem
> "Diego" == Diego A Puertas F <[EMAIL PROTECTED]> writes: Diego> I need an automatic way to do this, it's not a pleasent idea to Diego> put those \indents all over the 250 pages the thesis has. Hmm, this happens because LyX does not put a paragraph break between lists and the following paragraph. I cannot think of a simple workaround right now... JMarc
Re: IndentFirst Problem
El 30/03/00, Osvaldo Fornaro escribió: > "Diego A. Puertas F." wrote: > > > Hello list, at last, my thesis is finished, but I still have a problem > > with the IndentFirst package. > > > > IndentFirst is indenting allrigth all the first paragraphs, except for > > the ones that are after a enumerate, description or itemize paragraph. > > > > Anyone, can help? I'll apreciate very much your anwser on this one. > > > > Thanks. > > add \indent In tex mode, and possibly a new paragraph. In this way work > for me > > I need an automatic way to do this, it's not a pleasent idea to put those \indents all over the 250 pages the thesis has.
Re: IndentFirst Problem
"Diego A. Puertas F." wrote: > Hello list, at last, my thesis is finished, but I still have a problem > with the IndentFirst package. > > IndentFirst is indenting allrigth all the first paragraphs, except for > the ones that are after a enumerate, description or itemize paragraph. > > Anyone, can help? I'll apreciate very much your anwser on this one. > > Thanks. add \indent In tex mode, and possibly a new paragraph. In this way work for me begin:vcard n:Fornaro;Osvaldo tel;fax:+54-2293-444190 tel;work:+54-2293-442821 x-mozilla-html:FALSE org:Solidificacion - IFIMAT;Fac. Ciencias Exactas. Departamento de Fisica Universidad Nacional del Centro de la Provincia de Buenos Aires adr:;;Pinto 399;Tandil;;B7000GHG;Argentina version:2.1 email;internet:[EMAIL PROTECTED] note;quoted-printable:Universidad Nacional del Centro de la =0D=0AProvincia de Buenos Aires x-mozilla-cpt:;4512 fn:Osvaldo Fornaro end:vcard
IndentFirst Problem
Hello list, at last, my thesis is finished, but I still have a problem with the IndentFirst package. IndentFirst is indenting allrigth all the first paragraphs, except for the ones that are after a enumerate, description or itemize paragraph. Anyone, can help? I'll apreciate very much your anwser on this one. Thanks.