pem@cadnetix.COM (Paul Meyer) (12/09/89)
[] Stupid question time... I *know* I saw a document somewhere on the TeachText document format, but I've looked through my technotes (I am missing a couple from 1988, but the recent index doesn't mention TeachText) and the APDAlog, and I can't find the info. I figured out myself that 'ttro' and 'ttrw' are the file types for read-only and read-write documents, and a little piddling let me tell that PICT resources are put in at fixed offsets in the text (I deleted some text and the picture didn't move). Where is this documented? Paul Meyer pem@cadnetix.COM Daisy/Cadnetix Inc. (DAZIX) {uunet,boulder}!cadnetix!pem 5775 Flatirons Pkwy. GEnie P.MEYER CI$ 73627,1274 Boulder, CO 80301 (303)444-8075x277
andyp@gvgpvd.GVG.TEK.COM (Andy Peterman) (12/10/89)
In article <10504@cadnetix.COM> pem@cadnetix.COM (Paul Meyer) writes: > I *know* I saw a document somewhere on the TeachText document format, >but I've looked through my technotes (I am missing a couple from 1988, but >the recent index doesn't mention TeachText) and the APDAlog, and I can't >find the info. I figured out myself that 'ttro' and 'ttrw' are the file >types for read-only and read-write documents, and a little piddling let >me tell that PICT resources are put in at fixed offsets in the text (I >deleted some text and the picture didn't move). Where is this documented? Its not! To place pictures in a TeachText document ('ttro' is the only type I know about), you need to place special space characters (by using Option-Space) in the text. Then place the PICT resources you want, starting at id 1000, in the file. These will be then be displayed sequentially at the line the each special space character ($CA) is on and centered horizontally. If you can find a version 1.1 of TeachText (created Oct. 8, 1987) its has a hidden feature that lets you create TeachText documents with pictures. By changing the TeachText applications's creator to 'ttxx', a new menu will appear that will automatically paste in pictures from the clipboard and help you create and edit your document. There are a few bugs with this program in this mode, but nothing serious. I've always wished Apple had released this information and continued with a version of TeachText so that things like Read Me files could be distributed in a common format instead of either having files that must be read by a commercial application like MacWrite or Word (or otherwise boring files with no pictures). Andy Peterman