[Discussion] Problem with re-formatting a document
bokeny at earthlink.net
bokeny at earthlink.net
Fri Oct 12 14:15:34 PDT 2007
In <courier.470FDA4C.00005905 at mail.abiliba.net>, on 10/12/2007
at 04:27 PM, "Julian Thomas" <jt at jt-mj.net> said:
>In <E1IgQnm-0000Dw-00 at pop-altamira.atl.sa.earthlink.net>, on 10/12/07
> at 01:07 PM, bokeny at earthlink.net typed:
>>I have a 300+ page document formatted for printing with Courier fonts. I
>>also have the same document in HTML format from an on-line course.
>>Problem is that I really want to printed with Times Roman fonts but the
>>lines look raggedy on the right end.
>Is this a text document?
It is both HTML and text. The online course was about creating web
pages. Of course, the class was given in HTML, but the instructor gave
a printer friendly format with it.
>If each line ends in a CRLF and there are two CRLF's between
>paragraphs, it's quite easy (I've written a Rexx program to do it) to
>get rid of all the crlf's in each paragraph.
That is how it looks like.
>OR - the HTML may have each paragraph as a single line; look at the
>source. If this is the case, you are almost there; just need to convert
><p> codes to CRLFCRLF.
Problem is that everything is in tables, and in sixty individual
chapters. The various convoluted formatting takes up more space than
the writing. Naturally, the HTML document is much more complicated than
we were thought in the first course of web design. Even in the HTML
document there are the same CRLFs on the same place as in the text
files. There are the <p>...</p> in the HTML files, but they won't let
the browser take care of the line length, but the CRLFs and tables.
>There may be additional headers in there that would require different
>treatment.
I have no problems with them.
>At any rate, once you have each paragraph one-lined, import it into
>whatever - Open Office would be a good choice, select all, and format
>justified.
>Even if you don't end up justifying it, it will still look better
>because a line of TR will generally hold more characters than a line of
>courier.
>I'll dig through my programs and see what I come up with.
I think I could use your REXX file to strip some of those Crfls out.
Than you Julian for trying to help.
--
Zoltan Bokeny
bokeny at earthlink dot net
Fayetteville, North Carolina
I will not shop at "Wal-Mart Stores, Inc. of China"!
More information about the Discussion
mailing list