From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4B05C3CD.50700@home.se> Date: Thu, 19 Nov 2009 23:16:45 +0100 From: Jonas Amoson User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [9fans] instructions to use .eps in troff wanted Topicbox-Message-UUID: 9d8a3470-ead5-11e9-9d60-3106f5b1d025 The documents in /sys/doc does not contain many EPS pictures, but you can look at /sys/doc/8�/8�.ms Here is an example of what I used in my submission to IWP9'09 (I am using the ms macros): .KF .sp .BP figures/lyxlinux.eps 4.0 .EP .DS C Figure 1: Screenshot of LyX running under Linux. .DE .sp .KE .KF and .KE means that the picture "floats" in the document. .sp is vertical space .BP is inclusion of the eps file, 4 inches in height. .DS C Means that the caption (picture description) is centred. (did not make any automatic counting of figures here) .DE is end of the caption And I used the following command (in a mkfile) to generate: tbl gui.ms | troff -ms -mpictures | dpost -f >gui.ps As you see, you have to tell that you are using picture inclusion macros. Everything under plan 9, using groff might differ... /Jonas Rudolf Sykora wrote: > Hello, > > is there any good place where I could read how to embed some pictures into a > troff document? > Preferably a way that works in plan9, too... > I can't find much about it anywhere. > What do you use?