Alexander Wollmann wrote:
> 
> Am 29-Jun-99 schrieb Holger Arthaber:
> > Alexander Wollmann wrote:
> >>
> >> On 28-Jun-99 Holger Arthaber wrote:
> >> > When I import (\input) a drawing from xfig (i am using cobined
> >> > ps/latex export of xfig) I get the following problem: In the dvi/ps-
> >> > output of lyx I don't see any text of my xfig-drawing - I only see
> >> > graphical elements like lines, circles, ...
> >> >
> >> > When I have a look at the exported latex-file from xfig I can see
> >> > the lines which include the eps-figure (this works) and I also see
> >> > the lines which the text to be printed (but this fails).
> >> >
> >> > thanx for helping, Holger
> >>
> >> Please start LyX from a terminal, so you can have a look at what LyX is
> >> telling
> >> you. Then start a ps-output and tell us what is printed to the terminal.
> >>
> >> This could help us.
> >>
> >> Alex.
> >
> > There are three output-lines of lyx when exporting to postscript:
> >
> >   This is dvips(k) 5.85 Copyright 1999 Radical Eye Software
> > (www.radicaleye.com)
> >   ' TeX output 1999.06.29:1649' -> Test1.ps_tmp
> >   <texc.pro><special.pro>.
> > [1</users/harthabe/LaTeX//Box_with_Text.pstex>]
> >
> > I also attached the files I use:
> >
> > Box_with_Text.fig             the xfig-drawing
> >
> > Box_with_Text.pstex_t         the combined latex/ps export of xfig
> > Box_with_Text.pstex
> >
> > Test1.lyx                     my lyx testfile
> >
> > Test1.ps                      the ps-output of lyx
> >
> >
> > The textline in the xfig-drawing is marked as special-text (for latex-
> > interpretation) with font-style latex-default.
> > In case I use ps-fonts I get them on the ps-output - but thats not what
> > I
> > want.
> >
> >
> > Holger
> 
> Hi Holger!
> 
> I had a look at your files. I changed them a bit, and now they work on my
> machine.
> 
> First: you should input the file with "Include file".
> Second: In the xfig-text you have to write pure latex-code, i.e. $x_1$ for math
> setting.
> 
> Please try to load the attached .lyx file and see if it works. Then try  to load
> the attached .fig - file in xfig, export them new and try these files within
> LyX .If LyX doesn´t display them at all, it could be that the problem is the
> transfig-package. You used version 3.2-patchlevel 1. I had similar problems
> with this version. My files now are created with 3.2-patchlevel 0 -beta 3, and
> they work.
> 
> Give it a try and let me know what´s going on...
> 
> Greets,
> Alex.


Hi Alex!

IT WORKS !!!!

After changing the second line in your .pstex_t file from
'\special{psfile=...' to
'\epsfig{file=...' the output was correct. (with '\special...' I got an
error that
the .pstex-file could not be found - seems that the program was looking
in the /tmp
directory for it)
I also tried exporting it from xfig - and it also works. 

Thanks a lot for helping

Holger

-------------------------------------------------
Holger Arthaber

Institut für Nachrichten- und Hochfrequenztechnik
Technische Universität Wien
Gußhausstraße 25/389
A-1040 Wien, Austria

Tel.:   +43 1 58801 38951
Fax.:   +43 1 58801 38999
mailto: [EMAIL PROTECTED]
-------------------------------------------------

Reply via email to