bijal@hpopd.pwd.hp.com (Bijal Shah) (01/10/91)
Hi Folks. I use xpic to creat diagrams and things. I would like to able to include these diagrams in a latex document. I can save to Psotscript or xpic format, Postscript is not great because I only have HP Laserjets available to me. (If I include postscript in the latex document, I think I have to convert the dvi file to postscript too, and print on a postscript printer). So I save to xpic format. Now, there is a program called x2latex, but this does to carry through font styles and sizes to the latex file generated. I also have a program called x2tpic. I think that this DOES carry through the font styles. Problem is that I get a "tpic" format file. Now what is tpic? I've been told that it is to latex as "pic" is to troff. If so where can I get it? If not, does anyone know of a way to get diagrams into latex, preserving font styles etc. Thank you in advance. BJ
beck@bongo.cs.cornell.edu (Micah Beck) (01/10/91)
In discussing the problem of getting figures generated using xpic into LaTeX documents, bijal@hpopd.pwd.hp.com (Bijal Shah) writes: > Now what is tpic? I've been told that it is to latex as > "pic" is to troff. If so where can I get it? If not, does anyone > know of a way to get diagrams into latex, preserving font styles > etc. Here's an alternative to using tpic. You can get pic output from xpic, and then use pic2fig to convert it to Fig code format and use TransFig to get it into a LaTeX document. Even better would be if someone wrote a direct xpic-to-fig conversion program. Or make your like easier: use xfig instead of xpic! /micah
bijal@hpopd.pwd.hp.com (Bijal Shah) (01/10/91)
But does Transfig carry through the font styles into the LaTeX document. This is what I am really after. Bijal
bijal@hpopd.pwd.hp.com (Bijal Shah) (01/10/91)
(Sorry to waste bandwidth but...) And anyway, I am looking to confirm that tpic will do the job for me, and where I can get tpic (either as source or HP300 binary) Bijal