🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ru.qa.tex
Article #3

Re: tex pictures

#3
From: Julio Kuplinsky
Date: Fri, 06 Oct 1989 22:56
71 lines
2868 bytes

Subject: Re: tex pictures
Newsgroups: ru.qa.tex,comp.text
Distribution: usa
Keywords: LateX TeX
Summary: doesn't work
References: <Oct.5.18.12.00.1989.10808@math.rutgers.edu> <Oct.6.15.43.00.1989.23045@math.rutgers.edu>

In article <Oct.6.15.43.00.1989.23045@math.rutgers.edu>, tara@math.rutgers.edu (Tara Madhyastha) writes:
> In article <Oct.5.18.12.00.1989.10808@math.rutgers.edu> 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.
Technical Details
Message-ID: <Oct.6.18.56.08.1989.25600@math.rutgers.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!texbell!rutgers!gauss.rutgers.edu!math.rutgers.edu!kuplinsk
References: <Oct.5.18.12.00.1989.10808@math.rutgers.edu> <Oct.6.15.43.00.1989.23045@math.rutgers.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <Oct.6.18.56.08.1989.25600@math.rutgers.edu>
Date: 6 Oct 89 22:56:08 GMT
References: <Oct.5.18.12.00.1989.10808@math.rutgers.edu> <Oct.6.15.43.00.1989.23045@math.rutgers.edu>
Distribution: usa
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 71