I do not know if this list is the appropriate one for submitting
my problem with xdvi, but it seems the closest to the subject.

I run a PC under linux (SuSE 6.4) with the Tetex version coming with it.
Everything works more than fine, except when I use metapost and within
metapost a dotlabel or label instruction. "xdvi" works without
any problem on any dvi file invoking an eps file produced by metapost as
long as the metapost file has no label or dotlabel instruction. You will
find below a simple example; test.mp produces test.1, which is invoked
by \epsfile in a TeX file named A.tex. "dvips" works without problem
on A.dvi, and the file A.ps produced by dvips prints correctly. However,
when I want to run "xdvi" on A.dvi; the "drawing (here a square) shows on
the screen, but not the text, and I get the message reproduced below
on the shell (when I use the dvi viewer coming with the SuSE 6.4, 
the text does not appear on the screen either). What is wrong (probably
with the xdvi configuration)?

Many thanks for your help.

Pierre DAMPHOUSSE


======================================================================================
HERE IS THE FILE test.mp:
===============
   \beginfig(1)
   draw (0,0)--(0,150)--(150,150)--(150,0)--cycle;
   dotlabel.bot("Centre",(75,75));
   endfig;
   end

===============
METAPOST IS EXECUTED WITHOUT PROBLEM:
===============
pierre@aristote: >  mpost test
This is MetaPost, Version 0.641 (Web2C 7.3.1)
(test.mp [1] )
1 output file written: test.1
Transcript written on test.log.                                                        
                        
pierre@aristote: > cat test.log
This is MetaPost, Version 0.641 (Web2C 7.3.1) (mem=mpost 2000.3.25)  25 MAR 2000 01:08
**test
(test.mp [1] )
1 output file written: test.1
pierre@aristote: >                  


======================================================================================
HERE IS THE FILE A.tex
===============
   \input epsf
   \hbox{\epsffile{test.1}}
   \bye

===============
tex+dvips  ARE EXECUTED  WITHOUT PROBLEM
lpr PRONTS THE JOB CORRECTLY
===============
pierre@aristote: > tex A
This is TeX, Version 3.14159 (Web2C 7.3.1)
(A.tex (/usr/share/texmf/tex/plain/dvips/epsf.tex
This is `epsf.tex' v2.7k <10 July 1997>
) [1] )
Output written on A.dvi (1 page, 264 bytes).
Transcript written on A.log.
pierre@aristote: > cat A.log
This is TeX, Version 3.14159 (Web2C 7.3.1) (format=tex 2000.3.25)  24 SEP 2000 21:53
**A
(A.tex (/usr/share/texmf/tex/plain/dvips/epsf.tex
This is `epsf.tex' v2.7k <10 July 1997>
\epsffilein=\read0
\epsfframemargin=\dimen16
\epsfframethickness=\dimen17
\epsfrsize=\dimen18
\epsftmp=\dimen19
\epsftsize=\dimen20
\epsfxsize=\dimen21
\epsfysize=\dimen22
\pspoints=\dimen23
\epsfnoopenhelp=\toks12
) [1] )
Output written on A.dvi (1 page, 264 bytes).
pierre@aristote: > dvips -o A.ps A.dvi
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com)
' TeX output 2000.09.24:2153' -> A.ps
<texc.pro><finclude.pro><special.pro>. [1<test.1>]
pierre@aristote: >  lpr A.ps                                                       

======================================================================================
xdvi RUNS WITH PROBLEMS ON A.dvi
The square appears on the screen, but not "centre". 
The following message appears:
===============
pierre@aristote: > xdvi A
gs: Error: /undefined in cmr10
gs: Operand stack:
gs:    (Centre)
gs: Execution stack:
gs:    %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--
gs:    2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   fals
gs: e   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2
gs:  --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nost
gs: ringval--   --nostringval--   %loop_continue   --nostringval--   --nostringval--
gs:   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   --nostring
gs: val--   --nostringval--   false   1   %stopped_push   --nostringval--   1   5   %
gs: oparray_pop   1   5   %oparray_pop   .runexec2   --nostringval--   --nostringval-
gs: -   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --n
gs: ostringval--
gs: Dictionary stack:
gs:    --dict:917/1241(G)--   --dict:0/20(G)--   --dict:54/200(L)--   --dict:23/250(L
gs: )--   --dict:41/200(L)--
gs: Current allocation mode is local
gs: Current file position is 387                                                       
                   


Reply via email to