avraham wrote:

You are really fast with your reactions and with your fingers.
Re your question: Can you give me a reliable criterium to recognize
automatically the "paragraph structure of the initial document" ?
That really depends on the style of the text.
Many times if you look for lines having fullstop ('.') as their last non-whitespace, you'll get a good enough approximation for where to insert the "end of paragraph"s. In other texts you can be a bit more restrictive, e.g. demand that the following line is empty, or starts with whitespace.

Another note: if your'e preserving line structure, normally you'd also want to preserve spaces and maybe even make it fixed font (because sometimes plaintext files contain tables, ascii graphics and other stuff which depends on char positions) in these cases you normally just enclose the whole text with \begin{verbatim} .... \end{verbatim}


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to