🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #2513

Re: Xfig labelling in TeX

#2513
From: David F. Fordyce
Date: Thu, 10 Sep 1992 17:17
45 lines
1973 bytes
On 8 Sep 92 01:50:05 GMT, Mr. Fulford 
(grf@lambda.ma.adfa.oz.au (Glenn Fulford)) wrote:


] I am interested in being able to use Xfig to
] produce diagrams but to label the diagrams using TeX.
] I.e. I wish to have labels which are formulae, eg. $x_1$,
] for instance. My problem is that I am a Plain-TeX user, not
] a LaTeX user.

] In LaTeX, I gather that all I need to do is
] then enter the text $x_1$ at the appropriate place in Xfig, edit the
] text and change the "special flag" from normal to special, then 
] export using the eepic option (i.e. eepic driver for transfig).

] What are the options for Plain-TeX? The Pictex option also
] only seems to produce code suitable for LaTeX. I don't understand
] exactly what the pstex option does. Can anyone help with this?


PiCTeX can run under both plain TeX and LaTeX. What i do is :

1. xfig <picture>. Put "x1" in the position where you want the text to appear.

2. fig2dev -L picture.fig picture.tex

3. edit picture.tex with a text editor and change "x1" to "$x_1$".
then tex or latex away. You don't have to fool around with specials.

] One possiblity would be to write a driver to produce code 
] to run under Tim Van Zandt's excellent PStricks macro package which runs under
] Plain-TeX (and LaTeX and AmS-TeX). Has anyone out there 
] written such a thing or planning to?

] I would appreciate any thoughts on these questions (except telling
] me to switch to LaTeX, since I do not wish to have to
] convert 3 books from plainTex to LaTeX).

ok, do the next one in LaTeX :-)

] Glenn.

Elastically yours,

Dave.
Technical Details
Message-ID: <8933@amsaa-cleo.brl.mil>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!mimsy!afterlife!adm!amsaa-cleo!fordyce

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!mimsy!afterlife!adm!amsaa-cleo!fordyce
From: fordyce@amsaa-cleo.brl.mil (David F. Fordyce)
Newsgroups: comp.text.tex
Subject: Re: Xfig labelling in TeX
Message-ID: <8933@amsaa-cleo.brl.mil>
Date: 10 Sep 92 17:17:16 GMT
Organization: U.S. ARMY MATERIEL SYSTEMS ANALYSIS ACTIVITY (AMSAA), APG, MD.
Lines: 45