On Fri, 23 Dec 2022 at 01:35, Bob Bridges <robhbrid...@gmail.com> wrote:

> I thought about RTF.  It is a markup language, after all, and I was
> recently able to write a REXX program that converts plain text to RTF with
> formatting including lots of fonts and a two-column layout (the
> error-message part of a friend's product manual).  I may still attempt
> that.  But I have no idea yet how I'd handle internal and external links,
> text constants, legal-style paragraph numbering and a few other items.
> Maybe I'm just a coward; everything I used on that other project I found
> eventually in the RTF specs.
>
>
> -----Original Message-----
> From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf
> Of Mike Schwab
> Sent: Thursday, December 22, 2022 20:03
>
> I used to save my documents in Rich Text Format .RTF.  All the markup
> codes are stored in text (notepad) and several editors that use it.
>

I've been creating RTF files outside of Word since forever, both on Windoze
and z/OS. None of the files are very sophisticated, mostly pre-formatted
tables with bold headings. The key for getting to grips with the
intricacies of RTF is to take a simple text file, save it as RTF and then
start hacking away, M$ puts amazing loads of completely irrelevant crap in
files, see <https://prino.neocities.org/blog/2022-03-31-bloatware.html>.
Samples of the output files are @ <
https://prino.neocities.org/miscellaneous/liftrtf.rar> and I've also got
some REXX (and Pascal) code to convert UTF-8 to the required \uxxxx escape
sequences, where the z/OS code relies on some extra (comment) data in the
input file, which makes the conversion independent of the transfer method
(IND$FILE/ftp/WSA).It should also work on Windoze or Linux.

Drop me a line if you need it, and I'll put the html-ised lot on my website
next time I start my z/OS system, after 24/5/6 December, and talking about
those days,

Enjoy the holidays!

Robert
-- 
Robert AH Prins
robert(a)prino(d)org
The hitchhiking grandfather <https://prino.neocities.org/index.html>
Some REXX code for use on z/OS
<https://prino.neocities.org/zOS/zOS-Tools.html>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to