🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #1748

automatically importing a graphic into a frame

#1748
From: the_read_setter
Date: Tue, 29 Jun 2004 13:20
9 lines
1638 bytes
My sgml file has an empty element in it (GRAPHIC). What I would like to happen when the file is opened in FM+SGML, using the appropriate application, is that FM would insert an anchored frame and place a specific graphic in that anchored frame. I also want the frame to be the exact size of the graphic.

Could someone give me some information on how to do this. What - if any - read/write rules are needed? What things do I add in the sgmlapps file for the application?

I have searched through the developers guide and experimented with certain things but have not yet managed to do it. The closest I have got is to define the element as a graphic element into which a graphic is to be imported. When I open the sgml file in FM, the FM file does not have the empty GRAPHIC elements. However, when I insert the GRAPHIC element via the element catalog it inserts the frame correctly but then I have to manually import the graphic.

I am using FM 6 on Windows 2000.

Thanks to anyone who can offer some pointers.
Technical Details
Message-ID: <3bb4d309.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,429857b6a5063e60,start
X-Google-Attributes: gidfcc08,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: the_read_setter@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.framemaker.sgml
Subject: automatically importing a graphic into a frame
Message-ID: <3bb4d309.-1@webx.la2eafNXanI>
Date: Tue, 29 Jun 2004 06:20:03 -0700
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit