home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.mac.misc:15272 comp.sys.mac.programmer:14373
- Newsgroups: comp.sys.mac.misc,comp.sys.mac.programmer
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!ucselx!crash!alen
- From: alen@crash.cts.com (Alen Shapiro)
- Subject: RTF generation...preliminary report
- Date: 23 Aug 92 01:04:28 GMT
- Message-ID: <alen.714531868@crash>
- Summary: Mostly done, here's a report on progress so far
- Keywords: RTF microsoft word styles page numbers nextfile
- Lines: 51
-
- First, thanks for all the hints/advice/desperate-pleas received.
- The response was heartening. It seems that a number of netters have
- tried RTF generation with varying degrees of success/frustration.
-
- In response for the requests for a progress report, here goes...
-
- First a disclaimer, I've not contacted Microsoft with these observations,
- I'll do that this week and will post a follow-up report.
-
- I have an RTF generator that takes a program-module specification and generates
- formatted documentation, allowing for user-specified styles which override
- my programmed defaults. Some of the "features" that so-far have me stumped
- are:
-
- 1) Specification of next-file-to-print. I use the "{\*\nextfile aaaa"}
- command but can only get that to work with an "aaaa" in the current
- folder. Seems to be some strange restrictions even with absolute path
- names (19 character truncation). Even specifying the follow-on file
- from within Word and then saving as RTF loses the path information.
-
- 2) Can't stop the next file in a sequence of files from resetting the
- page-counter to 1. After reading in the RTF file, Word notices my
- \pgncont directive (and does not set the "reset-page-numbers" check-box
- in the "section" dialog) but page numbers restart on all follow-on
- print files.
-
- 3) Wouldn't it be nice to have an "Open-next-file" menu, so I can test the
- file-spec without having to print it.
-
- 4) If I want to print page 5 of a 10 page composite document with 2 pages
- per file, I specify start=5 end=5 in the print dialog but get pages 3
- through end. Seems my page requests are forgotten when the second file
- is converted from RTF as it is chained to!! (To be fair, I have not
- tried this with chained files of type=normal so I don't know if this
- is an RTF related problem.)
-
- 5) An unterminated "{" causes footers to be forgotten (no matter how
- many previous pages the footnote could have appeared on before the
- unterminated "{" appeared. Tracked this down by binary-chop deletions
- of RTF from the bottom of the file till the footers reappeared.
-
- Once again, if there are any hints/suggestions available before I make
- a fool of myself to microsoft, I'm all ears. The technique of building
- a sample document in Word then saving as RTF (to see how they do it)
- is the biggest time saver.
-
- --alen
- alen@crash.cts.com
-
- ps I'm using System 7.01, Tuneup 1.1.1, SE/30, 8Mb RAM, Word 5.0a, many,
- many, many inits (and I'm collecting more all the time).
-