Heinz Schmitz wrote:
>>Generally, when it comes to text editing, there is never
>>a description of "flowed text". Most of the editors do this.
>>
>> +----------------------------+
>> | The quick brown fox jumped | <=== Each line is edited stand alone
>> +----------------------------+
>> | over the lazy hen, which |
>> +----------------------------+
>> | laid a scrambled egg. |
>> +----------------------------+
>
> This remembers me of beloved old TSO/ISPF
> https://hunterstrainingassociates.com/ISPF_Tutorial/ISPF_Tutor_two.htm
> that helped me to stagger about the terminal's screen :-).
> That was, what I later learned, a line-oriented editor.
>
> Wheras this is great for writing programs, one wouldn't want to write
> a love-letter with it. Thank heavens, even the most basic editor in my
> linux is text-oriented. If I do not disturb it by introducing
> line-feeds myself.
Heinz is apparently describing a line-oriented editor where each line is
its own record, edited standalone and Enter commits it. That's TSO/ISPF,
ed, classic ex. Great for code, miserable for a love letter, as noted.
What Paul means by "free flow" is the opposite model, which is
text-oriented, where the buffer is a stream and wrapping is a display
decision, not stored characters.
I think the formal name for the email version of it is flowed text (RFC
3676) where paragraphs are soft-wrapped with a trailing space meaning
"continues," so a message written in one window width reflows in another.
I can "think" of a potential workaround to the problem, by using a set of
conversion tools, one of which breaks the PDF into free flowing text.
a. Start with a PDF of unknown flowing format
b. Convert to free-flowing format (e.g., epub)
c. Then re-export the epub to PDF
The distinction underneath both is soft wrap vs. hard wrap.
a. A soft wrap is the screen folding a long line
b. A hard wrap is a real newline in the data.
Heinz's "if I do not disturb it by introducing line-feeds myself" is likely
a soft wrap which he is trying to be careful not to hard-wrap.
Any format that stores line breaks as data has already committed to a
width, so every conversion has to guess whether a given newline was
meaningful or incidental.
That guess is where the first pass usually breaks, I would think.
If someone wants to suggest a PDF to convert, I can try it, but right now
I'm done with the PDF editing of the PDF-to-HTML-to-PDF editing issue.