Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!texbell!rutgers!gauss.rutgers.edu!math.rutgers.edu!kuplinsk From: kuplinsk@math.rutgers.edu (Julio Kuplinsky) Newsgroups: ru.qa.tex,comp.text Subject: Re: tex pictures Summary: doesn't work Keywords: LateX TeX Message-ID: Date: 6 Oct 89 22:56:08 GMT References: Distribution: usa Organization: Rutgers Univ., New Brunswick, N.J. Lines: 71 Subject: Re: tex pictures Newsgroups: ru.qa.tex,comp.text Distribution: usa Keywords: LateX TeX Summary: doesn't work References: In article , tara@math.rutgers.edu (Tara Madhyastha) writes: > In article kuplinsk@math.rutgers.edu (Julio Kuplinsky) writes: > > > I have tried unsuccessfully to include a LaTeX picture in a plain TeX file > > by using the following procedure: > > > > 1. latex myfile %myfile.tex is a LaTeX source. > > 2. dvi2ps myfile.dvi > myfile.ps > > 3. create the file myfile2.tex > > > > \vskip 2 in %space for the picture > > \special{psfile=myfile.ps} > > \bye > > > > 4. tex myfile2 > > 5. lpr -d myfile2.dvi > > > Assuming by "LaTeX picture", you mean a LaTeX file which uses the > built-in picture environment, you don't need to convert it to > PostScript. Inserting the line > > \input pictex.tex > \input latexpicobjs.tex > > in the beginning of your TeX document will allow you to use the LaTeX > picture objects. You might also want to check out the PicTeX macros > for simple \TeX figures. > > In general, TeX documents converted to PostScript via dvi2ps cannot be > included well as \specials other TeX documents. The new filter I hope > to install shortly, dvitps, will be better that way. > > tara > -- > Tara Madhyastha tara@rutgers.edu Well, it doesn't work. I'm referring to "Rutgers Tex, Latex and Amstex Reference, by D. Steiner and T. Madhyastha": p. 34: The picture environment in Latex provides ... picture objects ... Users of plain Tex can get access to these Latex picture objects by inputting the file latexpicobjs.tex. So my plain tex file is: \input pictex.tex \input latexpicobjs.tex \setlength{\unitlength}{1mm} \vskip 1 in \begin{picture}(70,40)(-35,-20) \thicklines \put(30,5){A} \put(30,5){\line(2,1){10}} \put(20,5){\circle*{1.5}} \end{picture} \bye Texing it produces all sorts of error messages. Deleting \begin/end{picture} doesn't help either. Am I missing something? Julio.